Win a copy of Java by Comparison (eBook) this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Recording and printing from a large test array  RSS feed

 
Bartender
Posts: 3841
47
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: 3841
47
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!