ROOT
6.07/01
Reference Guide
|
Definition at line 29 of file FcnAdapter.h.
Public Member Functions | |
FcnAdapter (void(*fcn)(int &, double *, double &, double *, int), int dim=0) | |
virtual | ~FcnAdapter () |
virtual unsigned int | NDim () const |
Retrieve the dimension of the function. More... | |
ROOT::Math::IMultiGenFunction * | Clone () const |
Clone a function. More... | |
void | SetDimension (int dim) |
Public Member Functions inherited from ROOT::Math::IBaseFunctionMultiDim | |
IBaseFunctionMultiDim () | |
virtual | ~IBaseFunctionMultiDim () |
virtual destructor More... | |
double | operator() (const double *x) const |
Evaluate the function at a point x[]. More... | |
Private Member Functions | |
virtual double | DoEval (const double *x) const |
Implementation of the evaluation function. More... | |
Private Attributes | |
unsigned int | fDim |
void(* | fFCN )(int &, double *, double &, double *, int) |
Additional Inherited Members | |
Public Types inherited from ROOT::Math::IBaseFunctionMultiDim | |
typedef IBaseFunctionMultiDim | BaseFunc |
#include <Fit/FcnAdapter.h>
|
inline |
Definition at line 33 of file FcnAdapter.h.
Referenced by Clone().
|
inlinevirtual |
Definition at line 38 of file FcnAdapter.h.
|
inlinevirtual |
Clone a function.
Each derived class must implement their version of the Clone method
Implements ROOT::Math::IBaseFunctionMultiDim.
Definition at line 42 of file FcnAdapter.h.
Implementation of the evaluation function.
Must be implemented by derived classes
Implements ROOT::Math::IBaseFunctionMultiDim.
Definition at line 50 of file FcnAdapter.h.
|
inlinevirtual |
Retrieve the dimension of the function.
Implements ROOT::Math::IBaseFunctionMultiDim.
Definition at line 40 of file FcnAdapter.h.
|
inline |
Definition at line 46 of file FcnAdapter.h.
Referenced by TBackCompFitter::DoSetDimension().
|
private |
Definition at line 60 of file FcnAdapter.h.
Referenced by Clone(), DoEval(), NDim(), and SetDimension().
Definition at line 61 of file FcnAdapter.h.