#include "mt19937rng.h"Go to the source code of this file.
Defines | |
| #define | MATRIX_A 0x9908b0dfUL /* constant vector a */ |
| #define | UMASK 0x80000000UL /* most significant w-r bits */ |
| #define | LMASK 0x7fffffffUL /* least significant r bits */ |
| #define | MIXBITS(u, v) ( ((u) & UMASK) | ((v) & LMASK) ) |
| #define | TWIST(u, v) ((MIXBITS(u,v) >> 1) ^ ((v)&1UL ? MATRIX_A : 0UL)) |
|
|
Definition at line 77 of file mt19937rng.cpp. |
|
|
Definition at line 73 of file mt19937rng.cpp. |
|
|
Definition at line 79 of file mt19937rng.cpp. |
|
|
Definition at line 80 of file mt19937rng.cpp. |
|
|
Definition at line 75 of file mt19937rng.cpp. |
1.3.6