public class DistLogNormal extends DistNormal
(c) copyright 2002-2004 Delft
University of Technology , the Netherlands.
See for project information
www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
CUMULATIVE_NORMAL_PROPABILITIES, haveNextNextGaussian, mu, sigma
Constructor and Description |
---|
DistLogNormal(StreamInterface stream,
double mu,
double sigma)
constructs a new logaritmic normal distribution
|
Modifier and Type | Method and Description |
---|---|
double |
draw()
draws the next stream value according to the probability of this this
distribution.
|
double |
probDensity(double observation)
returns the propbability density value of an observation
|
String |
toString() |
getCumulativeProbability, getInverseCumulativeProbability, nextGaussian
public DistLogNormal(StreamInterface stream, double mu, double sigma)
stream
- the numberStreammu
- the mediumsigma
- the standard deviationpublic double draw()
DistContinuous
draw
in class DistNormal
DistContinuous.draw()
public double probDensity(double observation)
DistContinuous
probDensity
in class DistNormal
observation
- the observation.#probDensity(double)
public String toString()
toString
in class DistNormal
Object.toString()
Copyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.