Random and whrandom
Ivan Frohne
frohne at gci.net
Thu Feb 1 19:35:33 EST 2001
"Ross Lazarus" <rerla at channing.harvard.edu> wrote in message
news:3A79A9EB.701D1E96 at channing.harvard.edu...
> Nice - and I found the documentation at
> http://www.stecf.org/~npirzkal/python/rv/rv-ref.html
>
> Also of potential interest to fellow prng consumers who need real speed
> - http://www.sbc.su.se/~per/crng/ - gives about 6 million/sec from the
> mersenne twister cf 7600/sec from rv twister (rv running on a slower
> pentium).
You can also find the documentation for the random number module
rv 1.1 at
http://www.frohne.westhost.com/rv11reference.htm
and a ZIP archive containing the documentation and Python
module rv.py at
http://www.frohne.westhost.com/rv11.zip
If you're still hungry, download
http://www.frohne.westhost.com/mr_random.py
which is a whrandom clone, 60% faster and with a
period of 10**28 (vs 10**12 for whrandom).
Ivan Frohne
More information about the Python-list
mailing list