C# Mersenne Twister random integer generator implementation (SFMT) monte carlo simulation
问题 So far I've been using the C# Mersenne Twister found here to generate random numbers: http://www.centerspace.net/resources.php I just discovered SFMT which is supposed to be twice as fast here: http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT/ Can anyone point me at a C# implementation of SFMT ? My requirements are to generate an integer between (and including) 0 and 2^20 (1048576). I need to do this trillions of times everyday for a simulation running on a 24 hour clock so I am prepared