LogNormal.h
Go to the documentation of this file.00001
00002
00014 #ifndef _LogNormal_H_
00015 #define _LogNormal_H_
00016
00017 #include "FunctionBase.h"
00018
00019 namespace hippodraw {
00020
00028 class MDL_HIPPOPLOT_API LogNormal : public FunctionBase
00029 {
00030
00031 protected:
00032
00034 virtual void initialize ();
00035
00036 virtual double derivByParm ( int i, double x ) const;
00037
00038 public:
00039
00041 LogNormal ();
00042
00046 LogNormal ( double norm, double mu, double sigma );
00047
00048 virtual FunctionBase * clone () const;
00049
00051 virtual double operator () ( double x ) const;
00052
00053 virtual void initialParameters ( const FunctionHelper * helper );
00054
00059 virtual bool hasDerivatives () const;
00060
00061 };
00062
00063 }
00064
00065 #endif // _LogNormal_H_