• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Random Numbers fasters than the osax
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Random Numbers fasters than the osax (From: Arthur J Knapp <email@hidden>)

  • Prev by Date: RE: Can Applescripts use cause computers to bomb?
  • Next by Date: Re: guaranteed crash with path to string
  • Previous by thread: Re: Random Numbers fasters than the osax
  • Next by thread: Re: Random Numbers fasters than the osax
  • Index(es):
    • Date
    • Thread