#include <stdio.h>
Go to the source code of this file.
|
#define | N 624 |
|
#define | M 397 |
|
#define | MATRIX_A 0x9908b0dfUL /* constant vector a */ |
|
#define | UPPER_MASK 0x80000000UL /* most significant w-r bits */ |
|
#define | LOWER_MASK 0x7fffffffUL /* least significant r bits */ |
|
|
void | init_genrand (unsigned long mt[], unsigned long *mtiPtr, unsigned long s) |
|
void | init_by_array (unsigned long mt[], unsigned long *mtiPtr, unsigned long init_key[], long key_length) |
|
unsigned long | genrand_int32 (unsigned long mt[], unsigned long *mtiPtr) |
|
long | genrand_int31 (unsigned long mt[], unsigned long *mtiPtr) |
|
double | genrand_real1 (unsigned long mt[], unsigned long *mtiPtr) |
|
double | genrand_real2 (unsigned long mt[], unsigned long *mtiPtr) |
|
double | genrand_real3 (unsigned long mt[], unsigned long *mtiPtr) |
|
double | genrand_res53 (unsigned long mt[], unsigned long *mtiPtr) |
|
#define LOWER_MASK 0x7fffffffUL /* least significant r bits */ |
#define MATRIX_A 0x9908b0dfUL /* constant vector a */ |
#define UPPER_MASK 0x80000000UL /* most significant w-r bits */ |
long genrand_int31 |
( |
unsigned long |
mt[], |
|
|
unsigned long * |
mtiPtr |
|
) |
| |
unsigned long genrand_int32 |
( |
unsigned long |
mt[], |
|
|
unsigned long * |
mtiPtr |
|
) |
| |
double genrand_real1 |
( |
unsigned long |
mt[], |
|
|
unsigned long * |
mtiPtr |
|
) |
| |
double genrand_real2 |
( |
unsigned long |
mt[], |
|
|
unsigned long * |
mtiPtr |
|
) |
| |
double genrand_real3 |
( |
unsigned long |
mt[], |
|
|
unsigned long * |
mtiPtr |
|
) |
| |
double genrand_res53 |
( |
unsigned long |
mt[], |
|
|
unsigned long * |
mtiPtr |
|
) |
| |
void init_by_array |
( |
unsigned long |
mt[], |
|
|
unsigned long * |
mtiPtr, |
|
|
unsigned long |
init_key[], |
|
|
long |
key_length |
|
) |
| |
void init_genrand |
( |
unsigned long |
mt[], |
|
|
unsigned long * |
mtiPtr, |
|
|
unsigned long |
s |
|
) |
| |