14 #ifndef _LinearSumFunction_H_
15 #define _LinearSumFunction_H_
37 virtual void initialize ();
49 const std::vector < std::string > & parmNames()
const;
51 void freeParmNames ( std::vector< std::string > & names )
const;
53 virtual const std::vector< double > & getParameters ()
const;
55 virtual const std::vector < int > & getFixedFlags ()
const;
57 virtual std::vector< double >::const_iterator
58 setParameters ( std::vector< double >::const_iterator
it );
64 virtual int size ()
const;
67 virtual bool isComposite ()
const;
76 virtual double operator () (
double x )
const;
80 virtual double derivByParm (
int i,
double x )
const;
86 #endif // _LinearSumFunction_H_
#define MDL_HIPPOPLOT_API
FunctionList_t m_functions
A function that can be used with a fitter.
std::vector< FunctionBase * > FunctionList_t
numeric::array clone(numeric::array arr)
intp size(numeric::array arr)
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.
hippodraw::FunctionBase class interface
list< QAction * >::iterator it