Public Member Functions | |
TF1_EvalWrapper (TF1 *f, const Double_t *par, bool useAbsVal, Double_t n=1, Double_t x0=0) | |
ROOT::Math::IGenFunction * | Clone () const override |
Clone a function. | |
Double_t | DoEval (Double_t x) const override |
implementation of the evaluation function. Must be implemented by derived classes | |
Double_t | EvalFirstMom (Double_t x) |
Double_t | EvalNMom (Double_t x) const |
![]() | |
virtual | ~IBaseFunctionOneDim ()=default |
double | Derivative (const double *x) const |
Compatibility method with multi-dimensional interface for partial derivative. | |
double | Derivative (double x) const |
Return the derivative of the function at a point x Use the private method DoDerivative. | |
void | FdF (const double *x, double &f, double *df) const |
Compatibility method with multi-dimensional interface for Gradient and function evaluation. | |
virtual void | FdF (double x, double &f, double &df) const |
Optimized method to evaluate at the same time the function value and derivative at a point x. | |
void | Gradient (const double *x, double *g) const |
Compatibility method with multi-dimensional interface for Gradient. | |
virtual bool | HasGradient () const |
double | operator() (const double *x) const |
Evaluate the function at a point x[]. | |
double | operator() (double x) const |
Evaluate the function at a point x. | |
Public Attributes | |
Bool_t | fAbsVal |
TF1 * | fFunc |
Double_t | fN |
const double * | fPar |
Double_t | fX [1] |
Double_t | fX0 |
Additional Inherited Members | |
![]() | |
typedef IBaseFunctionOneDim | BaseFunc |
|
inlineoverridevirtual |
Clone a function.
Each derived class will implement their version of the private DoClone method.
Implements ROOT::Math::IBaseFunctionOneDim.
implementation of the evaluation function. Must be implemented by derived classes
Implements ROOT::Math::IBaseFunctionOneDim.