A class that generates a normal (gaussian) probability distribution for 64-bit floats.
More...
|
| NormalDistribution () |
| Create a standard normal distribution with mean of 0 and standard deviation 1. More...
|
|
| NormalDistribution (const Random< double > &newRandom) |
| Create a standard normal distribution with mean of 0 and standard deviation 1. More...
|
|
| NormalDistribution (double newMean, double newStandardDeviation) |
| Create a normal distribution with the specified mean and standard deviation. More...
|
|
| NormalDistribution (double newMean, double newStandardDeviation, const Random< double > &newRandom) |
| Create a normal distribution with the specified mean and standard deviation. More...
|
|
double | sample () |
| Generate a sample from the normal distribution. More...
|
|
double | getMean () const |
| Get the mean of the normal distribution. More...
|
|
void | setMean (double newMean) |
| Set the mean of the normal distribution. More...
|
|
double | getStandardDeviation () const |
| Get the standard deviation of the normal distribution. More...
|
|
void | setStandardDeviation (double newStandardDeviation) |
| Set the standard deviation of the normal 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 | getRandom (const Random< double > &newRandom) |
| Set the random variable used to generate samples for this distribution. More...
|
|
template<>
class om::math::NormalDistribution< double >
A class that generates a normal (gaussian) probability distribution for 64-bit floats.