Difference between revisions of "Mersenne twister"

From RogueBasin
Jump to navigation Jump to search
 
m (Add Wikipedia link)
 
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
The Mersenne Twister is a fast, efficient pseudorandom number generator with a very long period. It is not secure enough for cryptographical uses, but is more than adequate for computer games. Due to it's speed and effective generation of psuedorandom numbers, a few languages have already begun using the Mersenne Twister as its default algorithm for its own RNG.
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: [http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/CODES/mt19937ar.c MT Source]
The original C source for the MT: [http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/CODES/mt19937ar.c MT Source]


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]]

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]