Quadratic.h

Go to the documentation of this file.
00001 /* -*- mode: c++ -*- */
00002 
00014 #ifndef _Quadratic_H_
00015 #define _Quadratic_H_
00016 
00017 #include "FunctionBase.h"
00018 
00019 namespace hippodraw {
00020 
00028 class MDL_HIPPOPLOT_API Quadratic : public FunctionBase
00029 {
00030 
00031 protected:
00032 
00034   virtual void initialize ();
00035 
00036 public:
00037 
00039   Quadratic ();
00040 
00043   Quadratic ( double intercept, double linear, double quad );
00044 
00045   virtual FunctionBase * clone () const;
00046 
00048   virtual double operator () ( double x ) const;
00049 
00050   virtual void initialParameters ( const FunctionHelper * helper );
00051 
00052 protected:
00053 
00054   virtual double derivByParm ( int i, double x ) const;
00055 
00056 };
00057 
00058 } // namespace hippodraw
00059 
00060 #endif // _Quadratic_H_

Generated for HippoDraw Class Library by doxygen