A class that generates an exponential probability distribution for 64-bit floats.
More...
|
| ExponentialDistribution () |
| Create an exponential distribution with lambda equal to 1. More...
|
|
| ExponentialDistribution (double newLambda) |
| Create an exponential distribution with lambda equal to the specified value. More...
|
|
double | sample () |
| Generate a sample from the exponential distribution. More...
|
|
double | getLambda () const |
| Get the lambda parameter of this exponential distribution. More...
|
|
void | setLambda (double newLambda) |
| Set the lambda parameter of this exponential distribution. More...
|
|
Random< double > & | getRandom () |
| Get the random variable used to generate samples for this distribution. More...
|
|
const Random< double > & | getRandom () const |
| Get the random variable used to generate samples for this distribution. More...
|
|
void | setRandom (const Random< double > &newRandom) |
| Set the random variable used to generate samples for this distribution. More...
|
|
template<>
class om::math::ExponentialDistribution< double >
A class that generates an exponential probability distribution for 64-bit floats.