Difference between revisions of "Mersenne twister"
Jump to navigation
Jump to search
m |
m (Add Wikipedia link) |
||
(3 intermediate revisions by 3 users not shown) | |||
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 == | ||
Line 9: | Line 9: | ||
The official webpage of the MT: [http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html Mersenne Twister Homepage] | The official webpage of the MT: [http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html Mersenne Twister Homepage] | ||
C++ optimized port of MT: [http://www.bedaux.net/mtrand/ C++ Mersenne Twister] | |||
A description of the algorithm on Wikipedia: [http://en.wikipedia.org/wiki/Mersenne_twister] | |||
[[Category:Articles]] | [[Category:Articles]] |
Latest revision as of 01:27, 27 April 2013
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
A description of the algorithm on Wikipedia: [1]