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

#include <eosim/dist/lognormaldist.hpp>

Inheritance diagram for eosim::dist::LogNormalDist:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Log Normal Distribution.

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


Public Member Functions

 LogNormalDist (GenType gen, double m, double sd)
 The constructor creates a LogNormalDist with mean m, standard deviation sd and whose generator’s type is gen.
 ~LogNormalDist ()
double sample ()


Constructor & Destructor Documentation

LogNormalDist::LogNormalDist ( GenType  gen,
double  m,
double  sd 
)

The constructor creates a LogNormalDist with mean m, standard deviation sd and whose generator’s type is gen.

Note:
The parameters m and sd are from the normal distribution that the logarithms of the data adjust.

LogNormalDist::~LogNormalDist (  ) 

The destructor of LogNormalDist.


Member Function Documentation

double LogNormalDist::sample (  )  [virtual]

This operation samples a value from the distribution.

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

Implements eosim::dist::Distribution.


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