eosim::dist::NormalDist Class Reference
[Distributions]

#include <eosim/dist/normaldist.hpp>

Inheritance diagram for eosim::dist::NormalDist:

Inheritance graph
[legend]
Collaboration diagram for eosim::dist::NormalDist:

Collaboration graph
[legend]
List of all members.

Detailed Description

Normal Distribution.

Author:
Sebastián Alaggia
Version:
1.0.1
Date:
2005
This class sample values from a normal distribution.


Public Member Functions

 NormalDist (GenType gen, double m, double sd)
 The constructor creates a NormalDist with mean m, standard deviation sd and whose generator’s type is gen.
 ~NormalDist ()
 The destructor of NormalDist.
double sample ()
 This operation samples a value the distribution.


Member Function Documentation

double NormalDist::sample (  )  [virtual]

This operation samples a value the distribution.

Note:
The method used for sampling is the Box-Muller method.

Implements eosim::dist::Distribution.


Generated on Tue Oct 14 16:48:57 2008 for EOSimulator by  doxygen 1.5.2