1#ifndef RANDOM_GENERATOR_DEFINED
2#define RANDOM_GENERATOR_DEFINED
19 ,
n(seed ^ 1131199209)
26 for (
int j(1); j < 6; ++j) {
30 return static_cast<double>(i) /
static_cast<double>(1l << 52);
40 for (
int j(1); j < 4; ++j) {
63 n = 69069 *
n + 1013904243;
Definition RandomGenerator.hpp:13
unsigned int n
Definition RandomGenerator.hpp:68
unsigned int c
Definition RandomGenerator.hpp:68
RandomGenerator(unsigned int seed=1, int shaking=32)
Definition RandomGenerator.hpp:15
unsigned int nextCoarseInteger()
Definition RandomGenerator.hpp:51
unsigned int z
Definition RandomGenerator.hpp:68
unsigned int y
Definition RandomGenerator.hpp:68
double nextUniform()
Definition RandomGenerator.hpp:24
unsigned int x
Definition RandomGenerator.hpp:68
unsigned int nextInteger()
Definition RandomGenerator.hpp:37
Definition Algorithm.hpp:10