public class BoxMullerGaussian extends UnivariateSequenceGenerator
| Constructor and Description |
|---|
BoxMullerGaussian(double dblMean,
double dblVariance)
BoxMullerGaussian Constructor
|
| Modifier and Type | Method and Description |
|---|---|
double |
mean()
Retrieve the Mean of the Box-Muller Gaussian
|
double |
random()
Generate a Random Number according to the specified rule
|
double |
variance()
Retrieve the Variance of the Box-Muller Gaussian
|
sequence, sequencepublic BoxMullerGaussian(double dblMean,
double dblVariance)
throws java.lang.Exception
dblMean - The MeandblVariance - The Variancejava.lang.Exception - Thrown if the Inputs are Invalidpublic double mean()
public double variance()
public double random()
UnivariateSequenceGeneratorrandom in class UnivariateSequenceGenerator