TUnuranContDist(const TUnuranContDist&) | |
TUnuranContDist(TF1* pdf = 0, TF1* deriv = 0, bool isLogPdf = false) | |
virtual | ~TUnuranContDist() |
double | Cdf(double x) const |
static TClass* | Class() |
virtual TUnuranContDist* | Clone() const |
double | DPdf(double x) const |
bool | GetDomain(double& xmin, double& xmax) const |
bool | HasCdf() const |
bool | HasMode() const |
bool | HasPdfArea() const |
virtual TClass* | IsA() const |
bool | IsLogPdf() const |
double | Mode() const |
TUnuranContDist& | operator=(const TUnuranContDist& rhs) |
double | Pdf(double x) const |
double | PdfArea() const |
void | SetCdf(TF1* cdf) |
void | SetDomain(double xmin, double xmax) |
void | SetMode(double mode) |
void | SetPdfArea(double area) |
virtual void | ShowMembers(TMemberInspector& insp, char* parent) |
virtual void | Streamer(TBuffer& b) |
void | StreamerNVirtual(TBuffer& b) |
double | fArea | area below pdf |
TF1* | fCdf | pointer to the cdf |
TF1* | fDPdf | pointer to the derivative of the pdf |
bool | fHasArea | flag to control if distribution has a pre-computed area below the pdf |
bool | fHasDomain | flag to control if distribution has a defined domain (otherwise is [-inf,+inf] |
bool | fHasMode | flag to control if distribution has a pre-computed mode |
bool | fIsLogPdf | flag to control if function pointer represent log of pdf |
double | fMode | mode of the distribution |
TF1* | fPdf | pointer to the pdf |
double | fX[1] | ! cached vector for using TF1::EvalPar |
double | fXmax | upper value of the domain |
double | fXmin | lower value of the domain |
Constructor from a TF1 objects passed as non-const because EvalPar and InitArgs are non-const methods
Implementation of copy constructor (copy just the pointer )
evaluate the derivative of the pdf if derivative function is not given is evaluated numerically
set cdf distribution. If a method requires it and is not set it is then estimated using numerical integration from the pdf
{ fCdf = cdf; }
Set the distribution domain. If min < max a domain is defined otherwise is undefined
check if distribution has a defined domain and return in case its domain