[Numpy-discussion] Random Numbers

Karthikesh Raju karthik at james.hut.fi
Wed Jun 2 07:28:03 EDT 2004


Hi All,

How close is the random number generation from
numarray.random_array.normal(0,1,x) or
numarray.linear_algebra.mlab.randn(x) to matlab's randn?

i am having problems with an identical program written in matlab and
python, with the results entirely different in both cases :(

Warm regards

karthik


-----------------------------------------------------------------------
Karthikesh Raju,		    email: karthik at james.hut.fi
Researcher,			    http://www.cis.hut.fi/karthik
Helsinki University of Technology,  Tel: +358-9-451 5389
Laboratory of Comp. & Info. Sc.,    Fax: +358-9-451 3277
Department of Computer Sc.,
P.O Box 5400, FIN 02015 HUT,
Espoo, FINLAND
-----------------------------------------------------------------------




More information about the NumPy-Discussion mailing list