Class RandomNumberGenerator
Defined in File random_number_generator.h
Class Documentation
-
class RandomNumberGenerator
Random number generator based on threefry.
Public Functions
-
RandomNumberGenerator()
Default constructor. Use this to get truly random behavior.
-
RandomNumberGenerator(int seed)
Constructor where a seed is supplied.
Use this here you need to replicate results, as in tests.
-
double Rand()
Generates a random number with the default distribution.
-
RandomNumberGenerator()