ROOT
6.07/01
Reference Guide
|
Definition at line 28 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 unsigned int | NDim () const |
Retrieve the dimension of the function. More... | |
virtual double | DoEval (const double *x) const |
Simply forward the call to python self. More... | |
ClassDef (TPyMultiGenFunction, 1) | |
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 | |
TPyMultiGenFunction (const TPyMultiGenFunction &src) | |
TPyMultiGenFunction & | operator= (const TPyMultiGenFunction &) |
Private Attributes | |
PyObject * | fPySelf |
Additional Inherited Members | |
Public Types inherited from ROOT::Math::IBaseFunctionMultiDim | |
typedef IBaseFunctionMultiDim | BaseFunc |
#include <TPyFitFunction.h>
TPyMultiGenFunction::TPyMultiGenFunction | ( | PyObject * | self = 0 | ) |
Definition at line 69 of file TPyFitFunction.cxx.
Referenced by Clone().
|
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 44 of file TPyFitFunction.h.
TPyMultiGenFunction::ClassDef | ( | TPyMultiGenFunction | , |
1 | |||
) |
|
inlinevirtual |
Clone a function.
Each derived class must implement their version of the Clone method
Implements ROOT::Math::IBaseFunctionMultiDim.
Definition at line 35 of file TPyFitFunction.h.
Simply forward the call to python self.
Implements ROOT::Math::IBaseFunctionMultiDim.
Definition at line 112 of file TPyFitFunction.cxx.
|
virtual |
Retrieve the dimension of the function.
Implements ROOT::Math::IBaseFunctionMultiDim.
Definition at line 93 of file TPyFitFunction.cxx.
|
inlineprivate |
Definition at line 45 of file TPyFitFunction.h.
|
private |
Definition at line 48 of file TPyFitFunction.h.
Referenced by Clone(), DoEval(), NDim(), TPyMultiGenFunction(), and ~TPyMultiGenFunction().