mt19937ar.h
1#ifndef MT_RAND_H
2#define MT_RAND_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8void init_by_array(unsigned long init_key[], int key_length);
9
10void init_genrand(unsigned long s);
11
12/* generates a random number on [0,1]-real-interval */
13double genrand_real1(void);
14
15/* generates a random number on [0,1)-real-interval */
16double genrand_real2(void);
17
18/* generates a random number on (0,1)-real-interval */
19double genrand_real3(void);
20
21/* generates a random number on (0,1)-real-interval */
22double genrand_real3(void);
23
24/* generates a random number on [0,1) with 53-bit resolution*/
25double genrand_res53(void);
26
27#ifdef __cplusplus
28}
29#endif
30
31#endif // MT_RAND_H
32