38 enum {
norm = 0, mean = 1, sigma = 2 };
43 virtual void initialize ();
56 virtual double operator () (
double x )
const;
62 virtual double derivByParm (
int i,
double x )
const;
68 double derivByNorm (
double x )
const;
72 double derivByMean (
double x )
const;
76 double derivBySigma (
double x )
const;
82 #endif // _Gaussian_H_
#define MDL_HIPPOPLOT_API
A function that can be used with a fitter.
numeric::array clone(numeric::array arr)
A function that can be added to a DataRep and used in a fitter.
double norm(const std::vector< double > &a)
Computes the two norm of the vector.
An abstract base class to help FunctionBase objects perform some operations.
hippodraw::FunctionBase class interface