Simpact Cyan
Population based event driven simulation using mNRM
|
This class allows you to return a random number from a log-normal distribution with parameters specified in the constructor. More...
#include <lognormaldistribution.h>
Public Member Functions | |
LogNormalDistribution (double zeta, double sigma, GslRandomNumberGenerator *pRng) | |
The constructor specifies parameters for a log-normal distribution. More... | |
double | pickNumber () const |
Pick a number according to a specific distrubution, specified in a subclass of ProbabilityDistribution . More... | |
This class allows you to return a random number from a log-normal distribution with parameters specified in the constructor.
The probability density is the following:
|
inline |
The constructor specifies parameters for a log-normal distribution.
|
inlinevirtual |
Pick a number according to a specific distrubution, specified in a subclass of ProbabilityDistribution .
Implements ProbabilityDistribution.