virtual | ~TUnuranMultiContDist() |
static TClass* | Class() |
virtual TUnuranMultiContDist* | Clone() const |
double | Derivative(const double* x, int icoord) const |
const double* | GetLowerDomain() const |
const double* | GetMode() const |
const double* | GetUpperDomain() const |
void | Gradient(const double* x, double* grad) const |
virtual TClass* | IsA() const |
bool | IsLogPdf() const |
unsigned int | NDim() const |
TUnuranMultiContDist& | operator=(const TUnuranMultiContDist& rhs) |
double | Pdf(const double* x) const |
void | SetDomain(const double* xmin, const double* xmax) |
void | SetMode(const double* x) |
virtual void | ShowMembers(TMemberInspector& insp) const |
virtual void | Streamer(TBuffer&) |
void | StreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b) |
TUnuranMultiContDist(const TUnuranMultiContDist&) | |
TUnuranMultiContDist(const ROOT::Math::IMultiGenFunction& pdf, bool isLogPdf = false) | |
TUnuranMultiContDist(TF1* func = 0, unsigned int dim = 0, bool isLogPdf = false) |
bool | fIsLogPdf | flag to control if function pointer represent log of pdf |
vector<double> | fMode | vector representing the x coordinates of the maximum of the pdf |
bool | fOwnFunc | flag to indicate if class manages the function pointers |
const ROOT::Math::IMultiGenFunction* | fPdf | pointer to the pdf |
vector<double> | fXmax | vector with upper x values of the domain |
vector<double> | fXmin | vector with lower x values of the domain |
Constructor from generic function interfaces
Constructor from a TF1 objects
Implementation of copy ctor using assignment operator
do numerical derivation and return gradient in vector grad grad must point to a vector of at least ndim size
do numerical derivation of gradient using 5 point rule use 5 point rule
Clone (required by base class)
{ return new TUnuranMultiContDist(*this); }
set the domain of the distribution giving an array of minimum and maximum values By default otherwise the domain is undefined, i.e. is [-inf,+inf] To remove the domain do a SetDomain(0,0). There is no possibility to have a domain defined in only one coordinate. Use instead inf or DOUBLE_MAX to specify un infinite domain in that coordinate
set the mode of the distribution (coordinates of the distribution maximum values)
get the distribution lower domain values. Return a null pointer if domain is not defined
get the distribution upper domain values. Return a null pointer if domain is not defined
get the mode (vector of coordinate positions of the maxima of the distribution) If a mode has not defined return a NULL pointer
flag to control if given function represent the log of a pdf
{ return fIsLogPdf; }