[Numpy-discussion] Purpose for bit-wise and'ing the initial mersenne twister key?

Sturla Molden sturla@molden...
Fri Feb 13 05:54:10 CST 2009


On 2/12/2009 9:46 PM, Michael S. Gilbert wrote:

> I'll put together a proof of concept when I have the time.

If you are that obsessed with speed, consider to use the new SIMD 
version of the Mersenne Twister instead of Jean-Sebastien Roy's 
randomkit.c (used by NumPy). But I think randomkit.c is fast enough for 
most purposes.

http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT/index.html




Sturla Molden




More information about the Numpy-discussion mailing list