NormalPDF Class Reference

#include <AMEMath.h>

Inheritance diagram for NormalPDF:

Inheritance graph
[legend]
List of all members.

Detailed Description

A 1D normal distribution function


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)


Constructor & Destructor Documentation

NormalPDF ( double  sigma = 1  )  [inline]

Initializes the PDF.

Parameters:
[in] sigma standard deviation of the PDF


The documentation for this class was generated from the following file:
Generated on Tue Mar 6 17:57:17 2007 for AME Repository by  doxygen 1.5.1-p1