Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

PowerLaw.h

Go to the documentation of this file.
00001 /* -*- mode: c++ -*- */
00002 
00013 #ifndef _PowerLaw_H_
00014 #define _PowerLaw_H_
00015 
00016 #include "FunctionBase.h"
00017 
00023 class MDL_HIPPOPLOT_API PowerLaw : public FunctionBase
00024 {
00025 
00026 protected:
00027 
00029   virtual void initialize ();
00030 
00031 public:
00032 
00034   PowerLaw ();
00035 
00037   PowerLaw ( double prefactor, double index );
00038 
00039   virtual FunctionBase * clone () const;
00040 
00042   virtual double operator () ( double x ) const;
00043 
00044   virtual void initialParameters ( const FunctionHelper * helper );
00045 
00046 protected:
00047 
00048   virtual double derivByParm ( int i, double x ) const;
00049 
00050 };
00051 
00052 #endif // _PowerLaw_H_

Generated for HippoDraw-1.14.8.5 by doxygen 1.4.3