mtrand.h File Reference

(r1785/r751)

Go to the source code of this file.

Classes

class  MTRand

Defines

#define MTRAND_MAX   4294967296.0
 This is the ``Mersenne Twister'' random number generator MT19937, which generates pseudorandom integers uniformly distributed in 0..(2^32 - 1) starting from any odd seed in 0..(2^32 - 1).
#define MTRAND_MED   ((UINT32)(2147483648ULL))


Define Documentation

#define MTRAND_MAX   4294967296.0
 

This is the ``Mersenne Twister'' random number generator MT19937, which generates pseudorandom integers uniformly distributed in 0..(2^32 - 1) starting from any odd seed in 0..(2^32 - 1).

Author:
Gerry_Iles (Xara Group Ltd) <camelotdev@xara.com> (adapted from original - see above)
Date:
04/11/2005
See also:
http://www.math.keio.ac.jp/~matumoto/emt.html is the homepage where you can find out all about this algorithm. This particular adaptation is taken from the recode by Martin Hinsche http://www.usf.uos.de/~mhinsch/index.en.html.

Definition at line 84 of file mtrand.h.

#define MTRAND_MED   ((UINT32)(2147483648ULL))
 

Definition at line 85 of file mtrand.h.


Generated on Sat Nov 10 03:49:34 2007 for Camelot by  doxygen 1.4.4