Documentation / Developer's manual
Available modules
Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,  
Uranie / DataServer v4.9.0
|
TCustomDistribution.h
Go to the documentation of this file.
Class of attributes following a density of probability.
Description of the class TCustomDistribution.
Definition TCustomDistribution.h:60
virtual void setAllFrequencies(Double_t *frequencies)
Set the frequencies as a Double_t array.
TCustomDistribution(TString name, Int_t nbValues, Double_t *values, Double_t *frequencies=NULL)
Constructor by name and statistics.
Double_t * pValues
Definition TCustomDistribution.h:65
TCustomDistribution()
Default constructor.
virtual Double_t getFrequency(Int_t i)
Get a frequency by index.
Double_t * pFrequencies
Definition TCustomDistribution.h:66
virtual Double_t * getAllValues()
Get the values as a Double_t array.
Definition TCustomDistribution.h:116
virtual void setValue(Int_t i, Double_t value)
Set a value by index.
virtual Double_t getProba(Int_t i)
Return the probability corresponding to the given index.
virtual void setAllValues(Double_t *values)
Set the values as a Double_t array.
virtual Double_t * getAllFrequencies()
Get the frequencies as a Double_t array.
Definition TCustomDistribution.h:129
virtual void setFrequency(Int_t i, Double_t frequency)
Set a single frequency by index.
Int_t iNbValues
Definition TCustomDistribution.h:63
virtual Double_t getPDF(Double_t x, Double_t precision)
Returns the probability of a value.
virtual Double_t getValue(Int_t i)
Get a value by index.
TCustomDistribution(TString name)
Constructor by name only.
virtual void printLog(Option_t *option="")
virtual void computeTheoreticalInformation()
Mean and Variance are meaningless for non ordered discrete values.
virtual ~TCustomDistribution()
Default destructor.
virtual void setDistribution(Int_t nbValues, Double_t *values, Double_t *frequencies=NULL)
virtual Int_t getNbValues()
Get the number of values.
Definition TCustomDistribution.h:110
virtual Double_t getInvCDF(Double_t p)
Returns a value from the distribution.
Double_t _dSumFreq
Definition TCustomDistribution.h:64
virtual Double_t getCDF(Double_t x)
CDF is meaningless for non ordered discrete values.
virtual Double_t getPDF(Double_t x)
Returns the probability of a value x, with a precision on x fixed at 1e-9.
Definition TCustomDistribution.h:238
Definition TDiscreteAttribute.h:69