BrokenPowerLaw.h
Go to the documentation of this file.
1 /* -*- mode: c++ -*- */
2 
13 #ifndef _BrokenPowerLaw_H_
14 #define _BrokenPowerLaw_H_
15 
16 #include "FunctionBase.h"
17 
18 namespace hippodraw {
19 
28 {
29 
30 protected:
31 
33  virtual void initialize ();
34 
35 public:
36 
38  BrokenPowerLaw ();
39 
41  BrokenPowerLaw ( double prefactor, double index1,
42  double index2, double x_break );
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 // _BrokenPowerLaw_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.
hippodraw::FunctionBase class interface
A function can be used with a fitter.

Generated for HippoDraw Class Library by doxygen