41 #include "../Random/RandomTools.h" 42 #include "../NumConstants.h" 43 #include "../../Utils/MapTools.h"
double qProb(double x) const
Return the quantile of the continuous version of the distribution, ie y such that ...
void fireParameterChanged(const ParameterList ¶meters)
Notify the class when one or several parameters have changed.
Partial implementation of the DiscreteDistribution interface.
This class allows to perform a correspondence analysis.
This class is designed to facilitate the manipulation of parameters.
void addParameter_(Parameter *parameter)
static const IntervalConstraint R_PLUS_STAR
Discretized Gaussian distribution.
The parameter list object.
AbstractDiscreteDistribution & operator=(const AbstractDiscreteDistribution &adde)
A partial implementation of the Parametrizable interface.
virtual ~GaussianDiscreteDistribution()
double pProb(double x) const
Return the cumulative quantile of the continuous version of the distribution, ie .
virtual void discretize()
Discretizes the distribution in equiprobable classes.
void fireParameterChanged(const ParameterList ¶meters)
Notify the class when one or several parameters have changed.
GaussianDiscreteDistribution(size_t n, double mu=0., double sigma=1.)
Build a new discretized normal distribution.
AbstractParameterAliasable & operator=(const AbstractParameterAliasable &ap)
GaussianDiscreteDistribution & operator=(const GaussianDiscreteDistribution &)
double Expectation(double a) const
Return a primitive function used for the expectation of the continuous version of the distribution...
double getParameterValue(const std::string &name) const
Get the value for parameter of name 'name'.