|
|
| MTRand (uint32 oneSeed) |
| |
|
| MTRand (uint32 bigSeed[], uint32 seedLength=state_size) |
| |
|
template<typename FloatT > |
| FloatT | rand () |
| |
|
double | rand () |
| |
|
double | rand (const double &n) |
| |
|
uint32 | randInt () |
| |
|
uint32 | randInt (uint32 n) |
| |
|
void | seed () |
| |
|
void | seed (uint32 oneSeed) |
| |
|
void | seed (const uint32 init_vector[], uint32 init_vector_length=state_size) |
| |
|
std::ostream & | save (std::ostream &) const |
| |
|
std::istream & | load (std::istream &) |
| |
|
template<> |
| float | rand () |
| |
|
template<> |
| double | rand () |
| |
|
|
static const uint32 | state_size = 624 |
| |
|
static MTRand | instance |
| |
Definition at line 31 of file MersenneTwister.h.
The documentation for this class was generated from the following files: