[Numpy-discussion] in place random generation
Fri Mar 9 12:14:57 CST 2007
On 09/03/07, Robert Kern <email@example.com> wrote:
> 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.
Why does it do this? It makes it a bit confusing (for example, the
post above), but presumably it was done for a compelling reason...
Anne M. Archibald
More information about the Numpy-discussion