[Numpy-discussion] python's random.random() faster than numpy.random.rand() ???

Simon Burton simon at arrowtheory.com
Sat Jan 27 16:00:18 CST 2007


On Fri, 26 Jan 2007 10:17:58 -0700
"Mark P. Miller" <mpmusu at cc.usu.edu> wrote:

> 
> for a in range(1000000):
>      b = numpy.random.rand()    #numpy code

what about numpy.random.rand(1000000) ?

Simon.


More information about the Numpy-discussion mailing list