Mersenne twister

From RogueBasin
Revision as of 15:51, 2 May 2010 by Gravecat (talk | contribs) (Adding a link to a C++ port of MT, since it's much faster than the C version :))
Jump to navigation Jump to search

Mersenne Twister

The Mersenne Twister is a fast, efficient pseudo-random number generator with a very long period. It is not secure enough 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 (for example FreePascal) have already begun using the Mersenne Twister as its default algorithm for its own RNG.

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