12 #ifndef SST_CORE_RNG_CONSTANT_H
13 #define SST_CORE_RNG_CONSTANT_H
18 using namespace SST::RNG;
Implements a distribution which always returns a constant value (provided by the user).
Definition: constant.h:30
ConstantDistribution(double v)
Creates a constant distribution which returns a constant value.
Definition: constant.h:37
double getMean()
Gets the constant value for the distribution.
Definition: constant.h:55
double getNextDouble()
Gets the next double for the distribution, in this case it will return the constant value specified b...
Definition: constant.h:49
~ConstantDistribution()
Destroys the constant distribution.
Definition: constant.h:42
double mean
Describes the constant value to return from the distribution.
Definition: constant.h:61
Base class of statistical distributions in SST.
Definition: distrib.h:23