Quadratic.h
Go to the documentation of this file.
1 /* -*- mode: c++ -*- */
2 
14 #ifndef _Quadratic_H_
15 #define _Quadratic_H_
16 
17 #include "FunctionBase.h"
18 
19 namespace hippodraw {
20 
29 {
30 
31 protected:
32 
34  virtual void initialize ();
35 
36 public:
37 
39  Quadratic ();
40 
43  Quadratic ( double intercept, double linear, double quad );
44 
45  virtual FunctionBase * clone () const;
46 
48  virtual double operator () ( double x ) const;
49 
50  virtual void initialParameters ( const FunctionHelper * helper );
51 
52 protected:
53 
54  virtual double derivByParm ( int i, double x ) const;
55 
56 };
57 
58 } // namespace hippodraw
59 
60 #endif // _Quadratic_H_
#define MDL_HIPPOPLOT_API
Definition: libhippo.h:36
unsigned int i
numeric::array clone(numeric::array arr)
Definition: num_util.cpp:412
A function that can be added to a DataRep and used in a fitter.
Definition: FunctionBase.h:90
An abstract base class to help FunctionBase objects perform some operations.
A function that can be used with a fitter.
Definition: Quadratic.h:28
hippodraw::FunctionBase class interface

Generated for HippoDraw Class Library by doxygen