#include <MersenneTwister.h>
|
enum | { N = 624
} |
|
enum | { SAVE = N + 1
} |
|
typedef unsigned long | uint32 |
|
◆ uint32
◆ anonymous enum
◆ anonymous enum
◆ anonymous enum
◆ MTRand() [1/4]
MTRand::MTRand |
( |
const uint32 |
oneSeed | ) |
|
|
inline |
◆ MTRand() [2/4]
MTRand::MTRand |
( |
uint32 *const |
bigSeed, |
|
|
uint32 const |
seedLength = N |
|
) |
| |
|
inline |
◆ MTRand() [3/4]
◆ MTRand() [4/4]
MTRand::MTRand |
( |
const MTRand & |
o | ) |
|
|
inline |
◆ hash()
◆ hiBit()
◆ initialize()
void MTRand::initialize |
( |
const uint32 |
oneSeed | ) |
|
|
inlineprotected |
◆ load()
void MTRand::load |
( |
uint32 *const |
loadArray | ) |
|
|
inline |
◆ loBit()
◆ loBits()
◆ magic()
◆ mixBits()
◆ operator()()
double MTRand::operator() |
( |
| ) |
|
|
inline |
◆ operator=()
◆ rand() [1/2]
◆ rand() [2/2]
double MTRand::rand |
( |
const double |
n | ) |
|
|
inline |
◆ rand53()
double MTRand::rand53 |
( |
| ) |
|
|
inline |
◆ randDblExc() [1/2]
double MTRand::randDblExc |
( |
| ) |
|
|
inline |
◆ randDblExc() [2/2]
double MTRand::randDblExc |
( |
const double |
n | ) |
|
|
inline |
◆ randExc() [1/2]
double MTRand::randExc |
( |
| ) |
|
|
inline |
◆ randExc() [2/2]
double MTRand::randExc |
( |
const double |
n | ) |
|
|
inline |
◆ randInt() [1/2]
◆ randInt() [2/2]
◆ randNorm()
double MTRand::randNorm |
( |
const double |
mean = 0.0 , |
|
|
const double |
stddev = 1.0 |
|
) |
| |
|
inline |
◆ reload()
◆ save()
void MTRand::save |
( |
uint32 * |
saveArray | ) |
const |
|
inline |
◆ seed() [1/3]
◆ seed() [2/3]
void MTRand::seed |
( |
const uint32 |
oneSeed | ) |
|
|
inline |
◆ seed() [3/3]
void MTRand::seed |
( |
uint32 *const |
bigSeed, |
|
|
const uint32 |
seedLength = N |
|
) |
| |
|
inline |
◆ twist()
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const MTRand & |
mtrand |
|
) |
| |
|
friend |
◆ operator>>
std::istream & operator>> |
( |
std::istream & |
is, |
|
|
MTRand & |
mtrand |
|
) |
| |
|
friend |
◆ left
◆ pNext
◆ state
The documentation for this class was generated from the following file: