#include <mtrand.h>
|
static bool | init = false |
|
static const int | m = 397 |
|
static const int | n = 624 |
|
static int | p = 0 |
|
static unsigned long | state [n] = {0x0UL} |
|
Definition at line 48 of file mtrand.h.
MTRand_int32::MTRand_int32 |
( |
| ) |
|
|
inline |
MTRand_int32::MTRand_int32 |
( |
unsigned long |
s | ) |
|
|
inline |
MTRand_int32::MTRand_int32 |
( |
const unsigned long * |
array, |
|
|
int |
size |
|
) |
| |
|
inline |
virtual MTRand_int32::~MTRand_int32 |
( |
| ) |
|
|
inlinevirtual |
void MTRand_int32::gen_state |
( |
| ) |
|
|
private |
unsigned long MTRand_int32::operator() |
( |
| ) |
|
|
inline |
unsigned long MTRand_int32::rand_int32 |
( |
| ) |
|
|
inlineprotected |
void MTRand_int32::seed |
( |
unsigned long |
s | ) |
|
void MTRand_int32::seed |
( |
const unsigned long * |
array, |
|
|
int |
size |
|
) |
| |
unsigned long MTRand_int32::twiddle |
( |
unsigned long |
u, |
|
|
unsigned long |
v |
|
) |
| |
|
inlineprivate |
bool MTRand_int32::init = false |
|
staticprivate |
const int MTRand_int32::m = 397 |
|
staticprivate |
const int MTRand_int32::n = 624 |
|
staticprivate |
unsigned long MTRand_int32::state = {0x0UL} |
|
staticprivate |
The documentation for this class was generated from the following files: