[Numpy-discussion] in place random generation

Robert Kern robert.kern@gmail....
Fri Mar 9 12:01:18 CST 2007


Mark P. Miller wrote:
> As an aside, are the random number generators from scipy.random the same 
> as those for numpy.random?  If not, will those of us who need to just 
> use a few random numbers here and there throughout our code (we don't 
> need arrays of random numbers or broadcasting abilities) benefit more 
> from using those libraries?

scipy.random is not a package. scipy/__init__.py does a "from numpy import *"
and thus pulls in numpy.random.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco


More information about the Numpy-discussion mailing list