Class DMRnd

Inherits from:
Object
Conforms to:
DRandomable
Declared in:
DMRnd.h

Class Hierarchy

    Object
      |
      +---DMRnd

Class Description

The DMRnd class implements a pseudo random generator bases on the Mersenne Twister pseudo random generator. It is not only very fast, but it also passes the Marsaglia's 'Diehard' statistical tests and it has a very long period of 2^19937 - 1.

Last modified:
31-Oct-2007 (DMRnd.h)

Instance Variables

private uint32_t _mt[DMRD_N]
the state
private int _mti
the index in state

Method Index


generated 05-Nov-2007 by ObjcDoc 3.0.0