ROOT 6.18/05 Reference Guide |
Definition at line 48 of file TPyFitFunction.h.
Public Member Functions | |
TPyMultiGradFunction (PyObject *self=0) | |
virtual | ~TPyMultiGradFunction () |
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 | DoDerivative (const double *x, unsigned int icoord) const |
Simply forward the call to python self. More... | |
virtual double | DoEval (const double *x) const |
Simply forward the call to python self. More... | |
virtual void | FdF (const double *x, double &f, double *df) const |
Simply forward the call to python self. More... | |
virtual void | Gradient (const double *x, double *grad) 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::IGradientFunctionMultiDimTempl< T > | |
virtual | ~IGradientFunctionMultiDimTempl () |
Virtual Destructor (no operations) More... | |
virtual void | FdF (const T *x, T &f, T *df) const |
Optimized method to evaluate at the same time the function value and derivative at a point x. More... | |
virtual void | Gradient (const T *x, T *grad) const |
Evaluate all the vector of function derivatives (gradient) at a point x. More... | |
virtual unsigned int | NDim () const=0 |
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... | |
Public Member Functions inherited from ROOT::Math::IGradientMultiDimTempl< T > | |
virtual | ~IGradientMultiDimTempl () |
virual destructor More... | |
T | Derivative (const T *x, unsigned int icoord=0) const |
Return the partial derivative with respect to the passed coordinate. More... | |
virtual void | FdF (const T *x, T &f, T *df) const =0 |
Optimized method to evaluate at the same time the function value and derivative at a point x. More... | |
virtual void | Gradient (const T *x, T *grad) const =0 |
Evaluate all the vector of function derivatives (gradient) at a point x. More... | |
Private Member Functions | |
TPyMultiGradFunction (const TPyMultiGradFunction &src) | |
TPyMultiGradFunction & | operator= (const TPyMultiGradFunction &) |
Private Attributes | |
PyObject * | fPySelf |
Additional Inherited Members | |
Public Types inherited from ROOT::Math::IGradientFunctionMultiDimTempl< T > | |
typedef IBaseFunctionMultiDimTempl< T > | BaseFunc |
typedef IGradientMultiDimTempl< T > | BaseGrad |
Public Types inherited from ROOT::Math::IBaseFunctionMultiDimTempl< T > | |
typedef T | BackendType |
typedef IBaseFunctionMultiDimTempl< T > | BaseFunc |
#include <TPyFitFunction.h>
TPyMultiGradFunction::TPyMultiGradFunction | ( | PyObject * | self = 0 | ) |
Definition at line 132 of file TPyFitFunction.cxx.
|
virtual |
Destructor. Only deref if still holding on to Py_None (circular otherwise).
Definition at line 147 of file TPyFitFunction.cxx.
|
inlineprivate |
Definition at line 68 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 55 of file TPyFitFunction.h.
|
virtual |
Simply forward the call to python self.
Definition at line 250 of file TPyFitFunction.cxx.
|
virtual |
Simply forward the call to python self.
Definition at line 175 of file TPyFitFunction.cxx.
|
virtual |
Simply forward the call to python self.
Definition at line 219 of file TPyFitFunction.cxx.
|
virtual |
Simply forward the call to python self.
Definition at line 195 of file TPyFitFunction.cxx.
|
virtual |
Retrieve the dimension of the function.
Implements ROOT::Math::IBaseFunctionMultiDimTempl< T >.
Definition at line 156 of file TPyFitFunction.cxx.
|
inlineprivate |
Definition at line 70 of file TPyFitFunction.h.
|
private |
Definition at line 73 of file TPyFitFunction.h.