Documentation / Manuel développeur
Modules disponibles
Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,  
Uranie / DataServer v4.9.0
|
TMultinomialDistribution.h
Go to the documentation of this file.
Class of attributes following a density of probability.
Definition TDiscreteAttribute.h:69
Description of the class TMultinomialDistribution.
Definition TMultinomialDistribution.h:52
virtual Double_t getFrequency(Int_t i)
Get a frequency by index.
virtual void setAllValues(Double_t *values)
virtual Double_t getPDF(Double_t x)
Same as before, but with precision fixed to 1e-9.
Double_t _dSumFreq
Definition TMultinomialDistribution.h:56
virtual Double_t getValue(Int_t i)
Get a value by index.
TMultinomialDistribution()
Default constructor.
virtual Int_t getNbValues()
Get the number of values.
Int_t iNbValues
Definition TMultinomialDistribution.h:55
virtual void computeMean()
virtual void setAllFrequencies(Double_t *frequencies)
Double_t * pValues
Definition TMultinomialDistribution.h:57
virtual Double_t * getAllFrequencies()
Get the frequencies as a Double_t array.
virtual void setValue(Int_t i, Double_t value)
Set a value by index.
TMultinomialDistribution(TString name)
Constructor by name only.
TMultinomialDistribution(TString name, Int_t nbValues, Double_t *values, Double_t *frequencies=NULL)
Constructor by name and statistics.
virtual Double_t getPDF(Double_t x, Double_t precision)
Returns the probability of a value.
virtual void setFrequency(Int_t i, Double_t frequencies)
Set a single frequency by index.
virtual Double_t getProba(Int_t i)
Return the probability corresponding to the given index.
Double_t * pFrequencies
Definition TMultinomialDistribution.h:58
virtual Double_t * getAllValues()
Get the values as a Double_t array.
virtual ~TMultinomialDistribution()
Default destructor.
virtual Double_t getCDF(Double_t x)
virtual void setDistribution(Int_t nbValues, Double_t *values, Double_t *frequencies=NULL)
virtual void printLog(Option_t *option="")
virtual Double_t getInvCDF(Double_t p)
Returns a value from the distribution.