[Numpy-discussion] RandomArray difference between Python2.1 and 2.2?
Ray Drew
ray_drew at yahoo.co.uk
Thu Apr 4 02:27:09 EST 2002
Hi,
Can anyone explain the following?
Python 2.1.1, Numpy version='20.2.0'
Python 2.1.1 (#20, Jul 20 2001, 01:19:29) [MSC 32 bit (Intel)] on win32
Type "copyright", "credits" or "license" for more information.
IDLE 0.8 -- press F1 for help
>>> from RandomArray import *
>>> normal(3., 1., (5,))
array([ 2.19091588, 2.44682837, 2.51790264, 4.26374364, 4.56880629])
Python 2.2, Numpy version='20.3'
Python 2.2 (#28, Dec 21 2001, 12:21:22) [MSC 32 bit (Intel)] on win32
Type "copyright", "credits" or "license" for more information.
IDLE 0.8 -- press F1 for help
>>> from RandomArray import *
>>> normal(3., 1., (5,))
array([-3.78572679, -3.63714516, -3.01228334, -4.80211985, -2.57420304])
Why am I getting negative values with Python 2.2? This happens consistently.
Any help would be appreciated.
Thanks,
Ray
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
More information about the NumPy-Discussion
mailing list