[Numpy-discussion] random number generation in python compared to gsl
Giovanni Samaey
giovanni.samaey at cs.kuleuven.be
Wed Nov 5 09:05:19 EST 2008
>
> Hi,
> how about other seed values ? I thought seed=0, is (often) used to
> mean a "random", i.e. current time or alike, seed value ... !?
Not in this case: I always get the same sequence with seed=0
(different for both implementation, but the same each time I run it.)
I got around it by installing pygsl and taking random numbers from
there instead of from numpy.
But I still find it strange to get two different sequences from two
implementation that claim to be the same algorithm...
Giovanni
>
>
> -Sebastian Haase
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
More information about the NumPy-Discussion
mailing list