Quadratic2.h
Go to the documentation of this file.
1 /* -*- mode: c++ -*- */
2 
14 #ifndef _Quadratic2_H_
15 #define _Quadratic2_H_
16 
17 #include "FunctionBase.h"
18 
19 namespace hippodraw {
20 
28 {
29 
30 protected:
31 
33  virtual void initialize ();
34 
35 public:
36 
38  Quadratic2 ();
39 
42  Quadratic2 ( double yscale, double y0, double x0 );
43 
44  virtual FunctionBase * clone () const;
45 
47  virtual double operator () ( double x ) const;
48 
49  virtual void initialParameters ( const FunctionHelper * helper );
50 
51 protected:
52 
53  virtual double derivByParm ( int i, double x ) const;
54 
55 };
56 
57 } // namespace hippodraw
58 
59 #endif // _Quadratic2_H_
#define MDL_HIPPOPLOT_API
Definition: libhippo.h:36
unsigned int i
This function represents a quadratic, i.e., .
Definition: Quadratic2.h:27
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.
hippodraw::FunctionBase class interface

Generated for HippoDraw Class Library by doxygen