13 #include "msdevstudio/MSconfig.h" 64 double qa=0,qb=0,qc=0,qx=0,qy=0;
virtual double operator()(double x) const
The function call operator.
virtual FunctionBase * clone() const
Creates a new function object by copying an existing one.
virtual int size() const
Returns the number of parameters.
virtual double getTotal() const =0
Returns the sum of the values of the data set.
FunctionHelper class interface.
Novosibirsk()
The default constructor.
virtual double derivByParm(int i, double x) const
Returns the function's derivative at the coordinate value x with respect to the i-th parameter...
std::vector< double > m_parms
The parameter values.
virtual double meanCoord() const =0
Returns the mean of the coordinates along a X axis in the data set.
virtual double stdCoord() const =0
Returns the standard deviation of the coordinates along a X axis in the data set. ...
virtual int size() const =0
Returns the number of points in the data set.
virtual bool hasDerivatives() const
Returns false as this function has not implemented calculation of partial derivatives.
A function that can be added to a DataRep and used in a fitter.
An abstract base class to help FunctionBase objects perform some operations.
std::string m_name
The name of the function.
std::vector< std::string > m_parm_names
The names of the function parameters.
virtual void initialize()
Initializes the function and parameter names.
virtual void resize()
Re-sizes the appropriate vectors maintained in this base class.
virtual double minCoord() const =0
Returns the smallest coordinate value along the X axis in the data set.
virtual void initialParameters(const FunctionHelper *helper)
Sets the FunctionHelper so that the function can calculate a reasonable set of initial parameter valu...
hippodraw::Novosibirsk class interface
virtual double maxCoord() const =0
Returns the largest coordinate value along the X axis in the data set.