What random number generator is used for Numeric and SciPy?
Robert Kern
robert.kern at gmail.com
Sun Dec 18 19:35:15 EST 2005
The Helmbolds wrote:
>
> Python bases its random number generators on the Mersenne Twister.
>
> Do Numeric and SciPy also base their random number generators on the
> Mersenne Twister? If not, what do they use?
Numeric, numarray and scipy 0.3 use RANLIB.
http://www.stat.umn.edu/HELP/ranlib-docs/ranlib-docs.html
scipy_core (Numeric's and numarray's replacement) and, by extension, scipy 0.4
use the Mersenne Twister.
--
Robert Kern
robert.kern at gmail.com
"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter
More information about the Python-list
mailing list