|
TPCCLIB
|
#include <tpcrand.h>
Data Fields | |
| unsigned int | n |
| unsigned int | m |
| uint64_t | a |
| uint64_t | um |
| uint64_t | lm |
| uint64_t | mt [TPCCLIB_MERTWI_NN] |
| uint64_t | mti |
Structure needed in functions for Mersenne Twister MT19937. Contents are initiated in seed functions.
| uint64_t MERTWI::a |
Constant MATRIX_A, set by seed function.
Definition at line 38 of file tpcrand.h.
Referenced by mertwiInit().
| uint64_t MERTWI::lm |
Constant LM, least significant 31 bits, set by seed function.
Definition at line 42 of file tpcrand.h.
Referenced by mertwiInit(), and mertwiRandomInt64().
| unsigned int MERTWI::m |
Constant M, set by seed function.
Definition at line 36 of file tpcrand.h.
Referenced by mertwiInit(), and mertwiRandomInt64().
| uint64_t MERTWI::mt[TPCCLIB_MERTWI_NN] |
The array for the state vector.
Definition at line 44 of file tpcrand.h.
Referenced by mertwiInitByArray64(), mertwiInitWithSeed64(), and mertwiRandomInt64().
| uint64_t MERTWI::mti |
Index of mt array; mti==NN+1 means mt[NN] is not initialized.
Definition at line 46 of file tpcrand.h.
Referenced by mertwiInit(), mertwiInitWithSeed64(), and mertwiRandomInt64().
| unsigned int MERTWI::n |
Constant N, set to by seed function.
Definition at line 34 of file tpcrand.h.
Referenced by mertwiInit(), mertwiInitByArray64(), mertwiInitWithSeed64(), and mertwiRandomInt64().
| uint64_t MERTWI::um |
Constant UM, most significant 33 bits, set by seed function.
Definition at line 40 of file tpcrand.h.
Referenced by mertwiInit(), and mertwiRandomInt64().