This week's book giveaways are in the Scala and Android forums.
We're giving away four copies each of Machine Learning Systems: Designs that scale and Xamarin in Action: Creating native cross-platform mobile apps and have the authors on-line!
See this thread and this one for details.
Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Recording and printing from a large test array  RSS feed

 
Bartender
Posts: 4222
48
Eclipse IDE Firefox Browser Java MySQL Database VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, for your Mean calculation I'd use something like this:

Integral division doesn't work as well in your case, especially when your milli-seconds often show up as zero.
 
Carey Brown
Bartender
Posts: 4222
48
Eclipse IDE Firefox Browser Java MySQL Database VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Ryan O'Neill wrote:I agree that milliseconds is not small enough but since that is what the prof wants that is what I have to use unfortunately.

Is this what you mean by reset the rsFreq?


Yes.

Ahhh, NO.
'iterations' should be 'rsFreq.length'.
 
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whoops just saw your edit
Changed it to rsFreq.Length
 
When it is used for evil, then watch out! When it is used for good, then things are much nicer. Like this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!