Chi-Tech
random_number_generator.h
Go to the documentation of this file.
1#ifndef _chi_math_rng_h
2#define _chi_math_rng_h
3
4#include <random>
5
6namespace chi_math
7{
8//#########################################################
9/**Random number generator based on threefry.*/
11{
12private:
13 std::mt19937_64 mt1993764_generator_;
14 std::uniform_real_distribution<double> distribution_;
15
16public:
18 RandomNumberGenerator(int seed);
19 double Rand();
20};
21}
22
23#endif
std::uniform_real_distribution< double > distribution_