[SciPy-dev] Random integers

Robert Kern rkern at ucsd.edu
Thu Aug 26 16:03:52 CDT 2004

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 

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

More information about the Scipy-dev mailing list