1 #ifndef NORMALDISTRIBUTION_H
3 #define NORMALDISTRIBUTION_H
24 double getMu()
const {
return m_mu; }
25 double getSigma()
const {
return m_sigma; }
41 #endif // NORMALDISTRIBUTION_H
NormalDistribution(double mu, double sigma, GslRandomNumberGenerator *pRng)
The constructor specifies parameters for a log-normal distribution.
Definition: normaldistribution.h:30
This class allows you to generate random numbers, and uses the GNU Scientific Library for this...
Definition: gslrandomnumbergenerator.h:16
double pickNumber() const
Pick a number according to a specific distrubution, specified in a subclass of ProbabilityDistributio...
Definition: normaldistribution.h:36
This class allows you to return a random number from a normal distribution with parameters specified ...
Definition: normaldistribution.h:17
double pickGaussianNumber(double mean, double sigma)
Picks a random number from the gaussian distribution with parameters mean and sigma.
Definition: gslrandomnumbergenerator.cpp:127
Abstract base class for probability distribution implementations so that they can be used interchange...
Definition: probabilitydistribution.h:15