Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
functions
LogNormal.h
Go to the documentation of this file.
1
/* -*- mode: c++ -*- */
2
14
#ifndef _LogNormal_H_
15
#define _LogNormal_H_
16
17
#include "
FunctionBase.h
"
18
19
namespace
hippodraw {
20
28
class
MDL_HIPPOPLOT_API
LogNormal
:
public
FunctionBase
29
{
30
private
:
31
34
enum
{
norm
= 0, mu = 1, sigma = 2 };
35
36
protected
:
37
39
virtual
void
initialize ();
40
41
virtual
double
derivByParm (
int
i,
double
x )
const
;
42
43
public
:
44
46
LogNormal
();
47
51
LogNormal
(
double
norm
,
double
mu,
double
sigma );
52
53
virtual
FunctionBase
*
clone
()
const
;
54
56
virtual
double
operator () (
double
x )
const
;
57
58
virtual
void
initialParameters (
const
FunctionHelper
* helper );
59
64
virtual
bool
hasDerivatives ()
const
;
65
66
};
67
68
}
// namespace hippodraw
69
70
#endif // _LogNormal_H_
Generated for HippoDraw Class Library by