[SciPy-dev] Random integers
Charles Harris
charles.harris at sdl.usu.edu
Fri Aug 27 10:20:04 EDT 2004
Discussion and fix can be found here:
http://sourceforge.net/tracker/index.php?func=detail&aid=1009309&group_id=1369&atid=450446
-----Original Message-----
From: Robert Kern [mailto:rkern at ucsd.edu]
Sent: Thu 8/26/2004 3:03 PM
To: SciPy Developers List
Cc:
Subject: [SciPy-dev] Random integers
stats.randint.rvs(min, max) doesn't always do the right thing. Namely,
it will occasionally give a number equal to max. Numeric's
RandomArray.randint(min, max) doesn't seem to have this problem (or at
least the sample size needed to show it is rather higher than that for
stats.randint).
Oddly enough, they seem to do the same computation. Any thoughts?
--
Robert Kern
rkern at ucsd.edu
"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter
_______________________________________________
Scipy-dev mailing list
Scipy-dev at scipy.net
http://www.scipy.net/mailman/listinfo/scipy-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 2700 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20040827/f37dc917/attachment.bin>
More information about the SciPy-Dev
mailing list