Thank you kindly for your reply.
The statement of one million is an example, could be 1,000  or 50,000
iterations.
The random numbers being tested could be 1 to 50, or 1 to 100

I have a basic program whereby I enter the maximum iterations, in the
example 1,000,000
and a time clock starts, and a counter starts counting up to the required
1,000,000 intervals.

Once, done the time duration shows, in my case 17 minutes, and a list of 10
highest occurrences
for these random numbers. i.e.
number 29     occurrences  204,984
number 26     occurrences  204,855
number 40     occurrences  204,732
number 17     occurrences  204,629
Number  1     occurrences  204,480

I would appreciate any input from the forum, especially for faster times






-- 
View this message in context: 
http://old.nabble.com/Random-Numbers-with-interation-tp28335160s24193p28355839.html
Sent from the J Programming mailing list archive at Nabble.com.

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to