#include <AMEMath.h>
Inheritance diagram for NormalPDF:

Public Member Functions | |
| NormalPDF (double sigma=1) | |
| void | SetSigma (double sigma) |
| Sets the standard deviation to the specified value. | |
| double | GetSigma () const |
| Returns the standard deviation. | |
| double | Calculate (double x) |
| Calculates the value of the PDF at sqrt(x). | |
Static Public Member Functions | |
| static void | SetInitMode (bool mode) |
Protected Attributes | |
| double | sig |
| standard deviation | |
Static Protected Attributes | |
| static bool | initmode |
Friends | |
| ostream & | operator<< (ostream &out, NormalPDF const &pdf) |
| istream & | operator>> (istream &in, NormalPDF &pdf) |
| NormalPDF | ( | double | sigma = 1 |
) | [inline] |
Initializes the PDF.
| [in] | sigma | standard deviation of the PDF |
1.5.1-p1