Monte Carlo Method and pi
Paul Rubin
http
Sun Jul 11 19:32:33 EDT 2004
More information about the Python-list mailing list
Sun Jul 11 19:32:33 EDT 2004
- Previous message (by thread): Monte Carlo Method and pi
- Next message (by thread): Monte Carlo Method and pi
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Fernando Perez <fperez528 at yahoo.com> writes: > > random.random in python 2.2 and later calls the Mersenne Twister generator, > > a very fast generator implemented in C. > > Sure? > Python 2.2.3 (#1, Oct 15 2003, 23:33:35) > Source: > def random(self): > """Get the next random number in the range [0.0, 1.0).""" > > # Wichman-Hill random number generator. Hmm, I guess MT only became the default in 2.3. Thanks.
- Previous message (by thread): Monte Carlo Method and pi
- Next message (by thread): Monte Carlo Method and pi
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list