TF1_EvalWrapper Class Reference

Inheritance diagram for TF1_EvalWrapper:

ROOT::Math::IBaseFunctionOneDim List of all members.

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
Double_t DoEval (Double_t x) const
 implementation of the evaluation function. Must be implemented by derived classes
Double_t EvalFirstMom (Double_t x)
Double_t EvalNMom (Double_t x) const

Public Attributes

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

Detailed Description

Definition at line 74 of file TF1.cxx.


Constructor & Destructor Documentation

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

Definition at line 76 of file TF1.cxx.

References fFunc, fPar, fX, and TF1::InitArgs().

Referenced by Clone().


Member Function Documentation

ROOT::Math::IGenFunction* TF1_EvalWrapper::Clone (  )  const [inline, virtual]

Clone a function. Each derived class will implement his version of the provate DoClone method

Implements ROOT::Math::IBaseFunctionOneDim.

Definition at line 86 of file TF1.cxx.

References TF1_EvalWrapper().

Double_t TF1_EvalWrapper::DoEval ( Double_t  x  )  const [inline, virtual]

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

Implements ROOT::Math::IBaseFunctionOneDim.

Definition at line 93 of file TF1.cxx.

References TF1::EvalPar(), fAbsVal, fFunc, fPar, and fX.

Double_t TF1_EvalWrapper::EvalFirstMom ( Double_t  x  )  [inline]

Definition at line 100 of file TF1.cxx.

References TMath::Abs(), TF1::EvalPar(), fFunc, fPar, and fX.

Referenced by TF1::CentralMoment().

Double_t TF1_EvalWrapper::EvalNMom ( Double_t  x  )  const [inline]

Definition at line 105 of file TF1.cxx.

References TMath::Abs(), TF1::EvalPar(), fFunc, fN, fPar, fX, fX0, and TMath::Power().

Referenced by TF1::CentralMoment(), and TF1::Moment().


Member Data Documentation

TF1* TF1_EvalWrapper::fFunc

Definition at line 110 of file TF1.cxx.

Referenced by DoEval(), EvalFirstMom(), EvalNMom(), and TF1_EvalWrapper().

Double_t TF1_EvalWrapper::fX[1] [mutable]

Definition at line 111 of file TF1.cxx.

Referenced by DoEval(), EvalFirstMom(), EvalNMom(), and TF1_EvalWrapper().

const double* TF1_EvalWrapper::fPar

Definition at line 112 of file TF1.cxx.

Referenced by DoEval(), EvalFirstMom(), EvalNMom(), and TF1_EvalWrapper().

Bool_t TF1_EvalWrapper::fAbsVal

Definition at line 113 of file TF1.cxx.

Referenced by DoEval().

Double_t TF1_EvalWrapper::fN

Definition at line 114 of file TF1.cxx.

Referenced by EvalNMom().

Double_t TF1_EvalWrapper::fX0

Definition at line 115 of file TF1.cxx.

Referenced by EvalNMom().


The documentation for this class was generated from the following file:
Generated on Tue Jul 5 16:37:27 2011 for ROOT_528-00b_version by  doxygen 1.5.1