13 #include "msdevstudio/MSconfig.h"
28 using namespace hippodraw;
virtual FunctionBase * clone() const
Creates a new function object by copying an existing one.
hippodraw::LogNormal class interface
FunctionHelper class interface.
std::vector< double > m_parms
The parameter values.
virtual void initialize()
Initializes the function and parameter names.
LogNormal()
The default constructor.
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.
virtual double operator()(double x) const
The function call operator.
An abstract base class to help FunctionBase objects perform some operations.
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::string m_name
The name of the function.
std::vector< std::string > m_parm_names
The names of the function parameters.
virtual void resize()
Re-sizes the appropriate vectors maintained in this base class.
virtual double meanCoord() const =0
Returns the mean of the coordinates along a X axis in the data set.
virtual void initialParameters(const FunctionHelper *helper)