124 #define MT19937AR_H 1
137 #define MATRIX_A 0x9908b0dfUL
138 #define UPPER_MASK 0x80000000UL
139 #define LOWER_MASK 0x7fffffffUL
142 static unsigned long mt[
N];
147 void init_genrand(
unsigned long mt[],
unsigned long * mtiPtr,
unsigned long s);
153 void init_by_array(
unsigned long mt[],
unsigned long * mtiPtr,
unsigned long init_key[],
long key_length);
156 unsigned long genrand_int32(
unsigned long mt[],
unsigned long * mtiPtr);
159 long genrand_int31(
unsigned long mt[],
unsigned long * mtiPtr);
162 double genrand_real1(
unsigned long mt[],
unsigned long * mtiPtr);
165 double genrand_real2(
unsigned long mt[],
unsigned long * mtiPtr);
167 double genrand_real3(
unsigned long mt[],
unsigned long * mtiPtr);
170 double genrand_res53(
unsigned long mt[],
unsigned long * mtiPtr);
double genrand_real2(unsigned long mt[], unsigned long *mtiPtr)
Definition: mt19937ar.c:227
long genrand_int31(unsigned long mt[], unsigned long *mtiPtr)
Definition: mt19937ar.c:214
#define N
Definition: mt19937ar.h:135
double genrand_real3(unsigned long mt[], unsigned long *mtiPtr)
Definition: mt19937ar.c:234
double genrand_res53(unsigned long mt[], unsigned long *mtiPtr)
Definition: mt19937ar.c:241
void init_genrand(unsigned long mt[], unsigned long *mtiPtr, unsigned long s)
Definition: mt19937ar.c:122
unsigned long genrand_int32(unsigned long mt[], unsigned long *mtiPtr)
Definition: mt19937ar.c:172
double genrand_real1(unsigned long mt[], unsigned long *mtiPtr)
Definition: mt19937ar.c:220
void init_by_array(unsigned long mt[], unsigned long *mtiPtr, unsigned long init_key[], long key_length)
Definition: mt19937ar.c:145