Created by Scott Robert Ladd at Coyote Gulch Productions.
Implements the Mersenne Twister, a peudorandom number generator. More...
#include <mtwister.h>
The mtwister class encapsulates the Mersenne Twister algorithm invented by Makoto Matsumoto and Takuji Nishimura. One of the appealing aspects of the Mersenne Twister is its use of binary operations (as opposed to time-consuming multiplication) for generating numbers. The algorithm's period is 219937-1 (~106001), as compared to a period of ~108 for the best variants of the linear congruential methods.
© 1996-2005 Scott Robert Ladd. All rights reserved.
HTML documentation generated by Dimitri van Heesch's excellent Doxygen tool.