Definition at line 27 of file FcnAdapter.h.
Public Member Functions | |
FcnAdapter (void(*fcn)(int &, double *, double &, double *, int), int dim=0) | |
~FcnAdapter () override | |
ROOT::Math::IMultiGenFunction * | Clone () const override |
Clone a function. | |
unsigned int | NDim () const override |
Retrieve the dimension of the function. | |
void | SetDimension (int dim) |
Public Member Functions inherited from ROOT::Math::IBaseFunctionMultiDimTempl< T > | |
virtual | ~IBaseFunctionMultiDimTempl ()=default |
virtual bool | HasGradient () const |
T | operator() (const T *x) const |
Evaluate the function at a point x[]. | |
Private Member Functions | |
double | DoEval (const double *x) const override |
Private Attributes | |
unsigned int | fDim |
void(* | fFCN )(int &, double *, double &, double *, int) |
Additional Inherited Members | |
Public Types inherited from ROOT::Math::IBaseFunctionMultiDimTempl< T > | |
typedef T | BackendType |
typedef IBaseFunctionMultiDimTempl< T > | BaseFunc |
#include <Fit/FcnAdapter.h>
|
inline |
Definition at line 31 of file FcnAdapter.h.
|
inlineoverride |
Definition at line 36 of file FcnAdapter.h.
|
inlineoverridevirtual |
Clone a function.
Each derived class must implement their version of the Clone method.
Implements ROOT::Math::IBaseFunctionMultiDimTempl< T >.
Definition at line 40 of file FcnAdapter.h.
Definition at line 48 of file FcnAdapter.h.
|
inlineoverridevirtual |
Retrieve the dimension of the function.
Implements ROOT::Math::IBaseFunctionMultiDimTempl< T >.
Definition at line 38 of file FcnAdapter.h.
|
inline |
Definition at line 44 of file FcnAdapter.h.
|
private |
Definition at line 58 of file FcnAdapter.h.
Definition at line 59 of file FcnAdapter.h.