Definition at line 24 of file TPyFitFunction.h.
Public Member Functions | |
TPyMultiGenFunction (PyObject *self=0) | |
virtual | ~TPyMultiGenFunction () |
Destructor. Only deref if still holding on to Py_None (circular otherwise). More... | |
virtual ROOT::Math::IBaseFunctionMultiDim * | Clone () const |
Clone a function. More... | |
virtual double | DoEval (const double *x) const |
Simply forward the call to python self. More... | |
virtual unsigned int | NDim () const |
Retrieve the dimension of the function. More... | |
Public Member Functions inherited from ROOT::Math::IBaseFunctionMultiDimTempl< T > | |
IBaseFunctionMultiDimTempl () | |
virtual | ~IBaseFunctionMultiDimTempl () |
virtual destructor More... | |
virtual IBaseFunctionMultiDimTempl< T > * | Clone () const =0 |
Clone a function. More... | |
virtual unsigned int | NDim () const =0 |
Retrieve the dimension of the function. More... | |
T | operator() (const T *x) const |
Evaluate the function at a point x[]. More... | |
Private Member Functions | |
TPyMultiGenFunction (const TPyMultiGenFunction &src) | |
TPyMultiGenFunction & | operator= (const TPyMultiGenFunction &) |
Private Attributes | |
PyObject * | fPySelf |
Additional Inherited Members | |
Public Types inherited from ROOT::Math::IBaseFunctionMultiDimTempl< T > | |
typedef T | BackendType |
typedef IBaseFunctionMultiDimTempl< T > | BaseFunc |
#include <TPyFitFunction.h>
TPyMultiGenFunction::TPyMultiGenFunction | ( | PyObject * | self = 0 | ) |
Definition at line 69 of file TPyFitFunction.cxx.
|
virtual |
Destructor. Only deref if still holding on to Py_None (circular otherwise).
Definition at line 84 of file TPyFitFunction.cxx.
|
inlineprivate |
Definition at line 40 of file TPyFitFunction.h.
|
inlinevirtual |
Clone a function.
Each derived class must implement their version of the Clone method
Implements ROOT::Math::IBaseFunctionMultiDimTempl< T >.
Definition at line 31 of file TPyFitFunction.h.
|
virtual |
Simply forward the call to python self.
Definition at line 112 of file TPyFitFunction.cxx.
|
virtual |
Retrieve the dimension of the function.
Implements ROOT::Math::IBaseFunctionMultiDimTempl< T >.
Definition at line 93 of file TPyFitFunction.cxx.
|
inlineprivate |
Definition at line 41 of file TPyFitFunction.h.
|
private |
Definition at line 44 of file TPyFitFunction.h.