Re: Random Numbers fasters than the osax
Re: Random Numbers fasters than the osax
- Subject: Re: Random Numbers fasters than the osax
- From: Timothy Bates <email@hidden>
- Date: Thu, 04 Apr 2002 15:57:37 +1000
I just thought that I would not, for the list, that this random number
generator is not what most users (wanting random numbers, rather than
conducting special simulations) would want.
It does not repeat any values before it has emitted all values in the range,
i.e., selection without replacement.
However, nearly all uses of random data from a range of values - tosses of a
coin, for instance are WITH replacement. If you use this system to simulate
coin tosses (random from 1 to 2), youl get the sequence
1212121212 repeating ad-infinitum ...
Tim
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.