13 #include "msdevstudio/MSconfig.h" 64 double qa=0,qb=0,qc=0,qx=0,qy=0;
virtual FunctionBase * clone() const
Creates a new function object by copying an existing one.
virtual int size() const =0
Returns the number of points 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...
virtual double stdCoord() const =0
Returns the standard deviation of the coordinates along a X axis in the data set. ...
virtual bool hasDerivatives() const
Returns false as this function has not implemented calculation of partial derivatives.
std::vector< double > m_parms
The parameter values.
std::vector< std::string > m_parm_names
The names of the function parameters.
virtual double minCoord() const =0
Returns the smallest coordinate value along the X axis in the data set.
virtual double getTotal() const =0
Returns the sum of the values of the data set.
virtual int size() const
Returns the number of parameters.
virtual void initialize()
Initializes the function and parameter names.
virtual double maxCoord() const =0
Returns the largest coordinate value along the X axis in the data set.
hippodraw::Novosibirsk class interface
FunctionHelper class interface.
virtual double meanCoord() const =0
Returns the mean of the coordinates along a X axis in the data set.
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.
virtual void resize()
Re-sizes the appropriate vectors maintained in this base class.
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...
virtual double operator()(double x) const
The function call operator.
Novosibirsk()
The default constructor.