[Numpy-discussion] Mersenne twister seeds

Kevin Jacobs <jacobs@bioinformed.com> bioinformed@gmail....
Mon Dec 15 17:10:52 CST 2008


On Mon, Dec 15, 2008 at 6:01 PM, Michael Gilbert <
michael.s.gilbert@gmail.com> wrote:

> According to wikipedia [1], some common Mersenne twister algorithms
> use a linear congruential gradient (LCG) to generate seeds.  LCGs have
> been known to produce poor random numbers.  Does numpy's Mersenne
> twister do this?  And if so, is this potentially a problem?
>

It is certainly no worse than using sequential pids or timestamps and very
likely considerably better.

-Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20081215/eddc7d01/attachment.html 


More information about the Numpy-discussion mailing list