Advantages
The commonly used variant of Mersenne Twister, MT19937, which produces a sequence of 32-bit integers, has the following desirable properties:
- It has a very long period of 219937 − 1. While a long period is not a guarantee of quality in a random number generator, short periods (such as the 232 common in many software packages) can be problematic.
- It is k-distributed to 32-bit accuracy for every 1 ≤ k ≤ 623 (see definition below).
- It passes numerous tests for statistical randomness, including the Diehard tests. It passes most, but not all, of the even more stringent TestU01 Crush randomness tests.
Read more about this topic: Mersenne Twister
Famous quotes containing the word advantages:
“The advantages found in history seem to be of three kinds, as it amuses the fancy, as it improves the understanding, and as it strengthens virtue.”
—David Hume (17111776)
“Can you conceive what it is to native-born American women citizens, accustomed to the advantages of our schools, our churches and the mingling of our social life, to ask over and over again for so simple a thing as that we, the people, should mean women as well as men; that our Constitution should mean exactly what it says?”
—Mary F. Eastman, U.S. suffragist. As quoted in History of Woman Suffrage, vol. 4 ch. 5, by Susan B. Anthony and Ida Husted Harper (1902)
“If we help an educated mans daughter to go to Cambridge are we not forcing her to think not about education but about war?not how she can learn, but how she can fight in order that she might win the same advantages as her brothers?”
—Virginia Woolf (18821941)