Class for a distribution with a single 'value' that has probability 1.0 (that is, the distribution has a spike corresponding to 'value' and zero elsewhere).
|ChConstantDistribution (double mvalue)|
|virtual double||GetRandom ()|
|Compute a random value whose probability is defined by the distribution. More...|
|Public Member Functions inherited from chrono::ChDistribution|
|Default destructor for distribution object. |
Member Function Documentation
Compute a random value whose probability is defined by the distribution.
In this very simple case, however, returns always the single value.