The Mersenne Twister is a very high-quality PRNG specifically suited for stochastic sampling and simulation. It has very high-order of dimensional equidistribution and passes even the Diehard tests. The period of this algorithm is 219937 − 1, so repetition is pretty far away. That said it is also pretty fast in average, except for the first number to be generated and if the internal pool runs out. It is not recommend for cryptographic purposes! @author Johannes Rössel
|
|
|
|
|
|