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_

Generated for HippoDraw Class Library by doxygen