Difference between revisions of "Mersenne twister"
Jump to navigation
Jump to search
(Adding a link to a C++ port of MT, since it's much faster than the C version :)) |
|||
Line 1: | Line 1: | ||
The '''Mersenne twister''' is a fast, efficient pseudo-random number generator with a very long period. It is unsuitable for cryptographic uses, but it is more than adequate for computer games. Due to its speedy and effective generation of pseudo-random numbers, a few languages (e.g. [[FreePascal]] and [[Python]]) have already begun using the Mersenne twister as its default algorithm for its own [[RNG]]. | |||
It is not necessary to understand how the Mersenne twister works in order to use it. | |||
== Related Links == | == Related Links == |
Revision as of 19:05, 22 August 2011
The Mersenne twister is a fast, efficient pseudo-random number generator with a very long period. It is unsuitable for cryptographic uses, but it is more than adequate for computer games. Due to its speedy and effective generation of pseudo-random numbers, a few languages (e.g. FreePascal and Python) have already begun using the Mersenne twister as its default algorithm for its own RNG.
It is not necessary to understand how the Mersenne twister works in order to use it.
Related Links
The original C source for the MT: MT Source
The official webpage of the MT: Mersenne Twister Homepage
C++ optimized port of MT: C++ Mersenne Twister