ROOT » BINDINGS » PYROOT » TPyMultiGradFunction

class TPyMultiGradFunction: public ROOT::Math::IGradientFunctionMultiDim

                       Python wrapper for Fit functions


Function Members (Methods)

Data Members

private:
PyObject*fPySelf! actual python object

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TPyMultiGradFunction(PyObject* self = 0)
 Construct a TPyMultiGradFunction derived with <self> as the underlying
~TPyMultiGradFunction()
 Destructor. Only deref if still holding on to Py_None (circular otherwise).
unsigned int NDim() const
 Simply forward the call to python self.
double DoEval(const double* x) const
 Simply forward the call to python self.
void Gradient(const double* x, double* grad) const
 Simply forward the call to python self.
void FdF(const double* x, double& f, double* df) const
 Simply forward the call to python self.
double DoDerivative(const double* x, unsigned int icoord) const
 Simply forward the call to python self.
ROOT::Math::IBaseFunctionMultiDim* Clone() const
 Math::IMultiGenFunction implementation
{ return new TPyMultiGenFunction( fPySelf ); }
TPyMultiGenFunction& operator=(const TPyMultiGradFunction& )
{ return *this; }
TPyMultiGradFunction(PyObject* self = 0)
 ctor/dtor, and assignment