41 #include "../Random/RandomTools.h" 42 #include "../NumConstants.h" 43 #include "../../Utils/MapTools.h" void fireParameterChanged(const ParameterList ¶meters)
Notify the class when one or several parameters have changed.
double Expectation(double a) const
Return a primitive function used for the expectation of the continuous version of the distribution...
Partial implementation of the DiscreteDistribution interface.
An interval, either bounded or not, which can also have infinite bounds.
This class allows to perform a correspondence analysis.
void setLowerBound(double lowerBound, bool strict)
GammaDiscreteDistribution(size_t n, double alpha=1., double beta=1., double minimumAlpha=0.05, double minimumBeta=0.05)
Build a new discretized gamma distribution.
This class is designed to facilitate the manipulation of parameters.
void addParameter_(Parameter *parameter)
virtual ~GammaDiscreteDistribution()
The parameter list object.
AbstractDiscreteDistribution & operator=(const AbstractDiscreteDistribution &adde)
A partial implementation of the Parametrizable interface.
GammaDiscreteDistribution & operator=(const GammaDiscreteDistribution &)
virtual void discretize()
Discretizes the distribution in equiprobable classes.
AbstractParameterAliasable & operator=(const AbstractParameterAliasable &ap)
Discretized Gamma distribution.
double pProb(double x) const
Return the cumulative quantile of the continuous version of the distribution, ie .
double qProb(double x) const
Return the quantile of the continuous version of the distribution, ie y such that ...
IntervalConstraint intMinMax_
the interval where the distribution is defined/restricted.
double getParameterValue(const std::string &name) const
Get the value for parameter of name 'name'.
void fireParameterChanged(const ParameterList ¶meters)
Notify the class when one or several parameters have changed.