You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mt19937ar.h 519 B

1234567891011121314
  1. /* This header file provides prototypes for the Mersenne Twister
  2. random number generator. The corresponding mt19937.c is also
  3. required and can be obtained from:
  4. http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/emt19937ar.html
  5. */
  6. void init_genrand(unsigned long s);
  7. void init_by_array(unsigned long init_key[], int key_length);
  8. unsigned long genrand_int32(void);
  9. long genrand_int31(void);
  10. double genrand_real1(void);
  11. double genrand_real2(void);
  12. double genrand_real3(void);
  13. double genrand_res53(void);