Logo ROOT  
Reference Guide
TF1_EvalWrapper Class Reference

Definition at line 190 of file TF1.cxx.

Public Member Functions

 TF1_EvalWrapper (TF1 *f, const Double_t *par, bool useAbsVal, Double_t n=1, Double_t x0=0)
 
ROOT::Math::IGenFunctionClone () const
 Clone a function. More...
 
Double_t DoEval (Double_t x) const
 implementation of the evaluation function. Must be implemented by derived classes More...
 
Double_t EvalFirstMom (Double_t x)
 
Double_t EvalNMom (Double_t x) const
 
- Public Member Functions inherited from ROOT::Math::IBaseFunctionOneDim
 IBaseFunctionOneDim ()
 
virtual ~IBaseFunctionOneDim ()
 virtual destructor More...
 
virtual IBaseFunctionOneDimClone () const =0
 Clone a function. More...
 
double operator() (const double *x) const
 Evaluate the function at a point x[]. More...
 
double operator() (double x) const
 Evaluate the function at a point x Use the a pure virtual private method DoEval which must be implemented by sub-classes. More...
 

Public Attributes

Bool_t fAbsVal
 
TF1fFunc
 
Double_t fN
 
const doublefPar
 
Double_t fX [1]
 
Double_t fX0
 

Additional Inherited Members

- Public Types inherited from ROOT::Math::IBaseFunctionOneDim
typedef IBaseFunctionOneDim BaseFunc
 
Inheritance diagram for TF1_EvalWrapper:
[legend]

Constructor & Destructor Documentation

◆ TF1_EvalWrapper()

TF1_EvalWrapper::TF1_EvalWrapper ( TF1 f,
const Double_t par,
bool  useAbsVal,
Double_t  n = 1,
Double_t  x0 = 0 
)
inline

Definition at line 192 of file TF1.cxx.

Member Function Documentation

◆ Clone()

ROOT::Math::IGenFunction * TF1_EvalWrapper::Clone ( ) const
inlinevirtual

Clone a function.

Each derived class will implement their version of the provate DoClone method

Implements ROOT::Math::IBaseFunctionOneDim.

Definition at line 203 of file TF1.cxx.

◆ DoEval()

Double_t TF1_EvalWrapper::DoEval ( Double_t  x) const
inlinevirtual

implementation of the evaluation function. Must be implemented by derived classes

Implements ROOT::Math::IBaseFunctionOneDim.

Definition at line 211 of file TF1.cxx.

◆ EvalFirstMom()

Double_t TF1_EvalWrapper::EvalFirstMom ( Double_t  x)
inline

Definition at line 220 of file TF1.cxx.

◆ EvalNMom()

Double_t TF1_EvalWrapper::EvalNMom ( Double_t  x) const
inline

Definition at line 226 of file TF1.cxx.

Member Data Documentation

◆ fAbsVal

Bool_t TF1_EvalWrapper::fAbsVal

Definition at line 235 of file TF1.cxx.

◆ fFunc

TF1* TF1_EvalWrapper::fFunc

Definition at line 232 of file TF1.cxx.

◆ fN

Double_t TF1_EvalWrapper::fN

Definition at line 236 of file TF1.cxx.

◆ fPar

const double* TF1_EvalWrapper::fPar

Definition at line 234 of file TF1.cxx.

◆ fX

Double_t TF1_EvalWrapper::fX[1]
mutable

Definition at line 233 of file TF1.cxx.

◆ fX0

Double_t TF1_EvalWrapper::fX0

Definition at line 237 of file TF1.cxx.


The documentation for this class was generated from the following file: