33#ifndef ROOT_Math_ParamFunction
34#define ROOT_Math_ParamFunction
66template <
class IPFType>
80 fParams( std::vector<double>(npar) )
Base template class for all Parametric Functions.
unsigned int NPar() const
Return the number of parameters.
ParamFunction(unsigned int npar=0)
Construct a parameteric function with npar parameters.
virtual void SetParameters(const double *p)
Set the parameter values.
virtual const double * Parameters() const
Access the parameter values.
unsigned int fNpar
Return true if the calculation of derivatives is implemented.
std::vector< double > fParams
IPFType::BaseFunc BaseFunc
Namespace for new Math classes and functions.