… | … | ||
---|---|---|---|
22 | */ | 22 | */ |
23 | 23 | ||
24 | #ifndef RNG_H__ | 24 | #ifndef RNG_H__ |
25 | #define RNG_H__ | 25 | #define RNG_H__ |
26 | 26 | ||
27 | #include <compiler.h> | 27 | #include "ecb.h" |
28 | 28 | ||
29 | typedef uint32_t seed_t; // overkill | 29 | typedef uint32_t seed_t; // overkill |
30 | 30 | ||
31 | // P. L'Ecuyer, “Maximally Equidistributed Combined Tausworthe Generators”, Mathematics of Computation, 65, 213 (1996), 203–213. | 31 | // P. L'Ecuyer, “Maximally Equidistributed Combined Tausworthe Generators”, Mathematics of Computation, 65, 213 (1996), 203–213. |
32 | // http://www.iro.umontreal.ca/~lecuyer/myftp/papers/tausme.ps | 32 | // http://www.iro.umontreal.ca/~lecuyer/myftp/papers/tausme.ps |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |