3 #ifndef ROOT_TPyFitFunction 4 #define ROOT_TPyFitFunction 33 virtual unsigned int NDim()
const;
34 virtual double DoEval(
const double*
x )
const;
57 virtual unsigned int NDim()
const;
58 virtual double DoEval(
const double*
x )
const;
60 virtual void Gradient(
const double* x,
double* grad )
const;
61 virtual void FdF(
const double* x,
double& f,
double* df )
const;
62 virtual double DoDerivative(
const double * x,
unsigned int icoord )
const;
virtual ROOT::Math::IBaseFunctionMultiDim * Clone() const
Clone a function.
Interface (abstract class) for multi-dimensional functions providing a gradient calculation.
Namespace for new ROOT classes and functions.
virtual unsigned int NDim() const
Retrieve the dimension of the function.
virtual double DoEval(const double *x) const
Simply forward the call to python self.
TPyMultiGenFunction(const TPyMultiGenFunction &src)
TPyMultiGenFunction & operator=(const TPyMultiGenFunction &)
#define ClassDef(name, id)
TPyMultiGenFunction(PyObject *self=0)
TPyMultiGradFunction & operator=(const TPyMultiGradFunction &)
Documentation for the abstract class IBaseFunctionMultiDim.
TPyMultiGradFunction(const TPyMultiGradFunction &src)
IGradientFunctionMultiDim IMultiGradFunction
virtual ROOT::Math::IBaseFunctionMultiDim * Clone() const
Clone a function.
IMultiGenFunctionTempl< double > IMultiGenFunction
Namespace for new Math classes and functions.
virtual ~TPyMultiGenFunction()
Destructor. Only deref if still holding on to Py_None (circular otherwise).