1 #ifndef NORMALDISTRIBUTION_H
3 #define NORMALDISTRIBUTION_H
25 double minValue = -std::numeric_limits<double>::infinity(),
26 double maxValue = std::numeric_limits<double>::infinity());
29 double getMu()
const {
return m_mu; }
30 double getSigma()
const {
return m_sigma; }
31 double getMin()
const {
return m_minValue; }
32 double getMax()
const {
return m_maxValue; }
35 double m_minValue, m_maxValue;
38 #endif // NORMALDISTRIBUTION_H
NormalDistribution(double mu, double sigma, GslRandomNumberGenerator *pRng, double minValue=-std::numeric_limits< double >::infinity(), double maxValue=std::numeric_limits< double >::infinity())
The constructor specifies parameters for a log-normal distribution.
Definition: normaldistribution.cpp:4
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.cpp:12
This class allows you to return a random number from a normal distribution with parameters specified ...
Definition: normaldistribution.h:20
Abstract base class for probability distribution implementations so that they can be used interchange...
Definition: probabilitydistribution.h:15