3 #ifndef ROOT_TPyFitFunction 4 #define ROOT_TPyFitFunction 16 #ifndef ROOT_Math_IFunction 37 virtual unsigned int NDim()
const;
38 virtual double DoEval(
const double*
x )
const;
61 virtual unsigned int NDim()
const;
62 virtual double DoEval(
const double*
x )
const;
64 virtual void Gradient(
const double* x,
double* grad )
const;
65 virtual void FdF(
const double* x,
double&
f,
double* df )
const;
66 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.
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
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 &)
TPyMultiGradFunction(const TPyMultiGradFunction &src)
IGradientFunctionMultiDim IMultiGradFunction
virtual ROOT::Math::IBaseFunctionMultiDim * Clone() const
Clone a function.
IBaseFunctionMultiDim IMultiGenFunction
Namespace for new Math classes and functions.
virtual ~TPyMultiGenFunction()
Destructor. Only deref if still holding on to Py_None (circular otherwise).
Documentation for the abstract class IBaseFunctionMultiDim.