LogParabola.h
Go to the documentation of this file.
1 /* -*- mode: c++ -*- */
2 
14 #ifndef _LogParabola_H_
15 #define _LogParabola_H_
16 
17 #include "FunctionBase.h"
18 
19 namespace hippodraw {
20 
30 {
31 private:
32  enum { NORM, ALPHA, BETA};
33 
34 protected:
35 
37  virtual void initialize ();
38 
39  virtual double derivByParm ( int i, double x ) const;
40 
41 public:
42 
44  LogParabola ();
45 
49  LogParabola ( double norm, double alpha, double beta);
50 
51  virtual FunctionBase * clone () const;
52 
54  virtual double operator () ( double x ) const;
55 
56  virtual void initialParameters ( const FunctionHelper * helper );
57 
58  virtual bool hasDerivatives () const;
59 
60 };
61 
62 } // namespace hippodraw
63 
64 #endif // _LogParabola_H_

Generated for HippoDraw Class Library by doxygen