Re: How Random works?
- To: mathgroup at smc.vnet.net
- Subject: [mg130746] Re: How Random works?
- From: Richard Fateman <fateman at cs.berkeley.edu>
- Date: Wed, 8 May 2013 04:13:32 -0400 (EDT)
- Delivered-to: email@example.com
- Delivered-to: firstname.lastname@example.org
- Delivered-to: email@example.com
- Delivered-to: firstname.lastname@example.org
- References: <email@example.com>
On 5/7/2013 12:53 AM, Joug Raw wrote: > I want to know which algorithm Mathematica are using to generate random > numbers. How large is its period? And how the deterministic part works? I > also need to have an quantitative idea about the bias in a random sequence > produced by this algorithm. > > I tried google it, but have nothing found regarding to any details about > the algorithm. Any one can help? Thanks. > > From the online documentation. The default pseudorandom number generator for functions like RandomReal and RandomInteger uses a cellular automaton-based algorithm. Probably if you want to have a random number generator that is entirely open to analysis and examination, you don't use the secret built-in one.