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_

Generated for HippoDraw Class Library by doxygen