1#ifndef OPALX_ExpressionRandom_HH
2#define OPALX_ExpressionRandom_HH
27static const int maxran = 1000000000;
48 void reseed(
int seed = 123456789);
57 void gauss(
double& gr1,
double& gr2);
The OPALX expression random generator.
int integer()
Uniform distribution.
void reseed(int seed=123456789)
Set a new seed.
void gauss(double &gr1, double &gr2)
Gaussian distribution.
void init55(int seed)
Initialise random number generator.
double uniform()
Uniform distribution.
Random()
Constructor with default seed.