ROOT logo
ROOT » BINDINGS » PYROOT » TPyMultiGradFunction

class TPyMultiGradFunction: public ROOT::Math::IGradientFunctionMultiDim

                       Python wrapper for Fit functions


Function Members (Methods)

public:
TPyMultiGradFunction(PyObject* self = 0)
virtual~TPyMultiGradFunction()
static TClass*Class()
virtual ROOT::Math::IBaseFunctionMultiDim*Clone() const
doubleROOT::Math::IGradientMultiDim::Derivative(const double* x, unsigned int icoord = 0) const
virtual doubleDoDerivative(const double* x, unsigned int icoord) const
virtual doubleDoEval(const double* x) const
virtual voidFdF(const double* x, double& f, double* df) const
virtual voidGradient(const double* x, double* grad) const
virtual TClass*IsA() const
virtual unsigned intNDim() const
doubleROOT::Math::IBaseFunctionMultiDim::operator()(const double* x) const
virtual voidShowMembers(TMemberInspector& insp)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

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