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

Sturla Molden sturla at molden.no
Fri Feb 13 06:54:10 EST 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