[Numpy-discussion] Mersenne twister seeds

Alan G Isaac aisaac@american....
Mon Dec 15 18:04:02 CST 2008


On 12/15/2008 6:01 PM Michael Gilbert apparently 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?
> 
> http://en.wikipedia.org/wiki/Linear_congruential_generator


See the discussion of `seed` at
http://www.python.org/doc/2.5/lib/module-random.html

If you are just looking for a truly random seed:
http://www.random.org/

Alan Isaac



More information about the Numpy-discussion mailing list