public class BoundedGaussian extends BoxMullerGaussian
Constructor and Description |
---|
BoundedGaussian(double dblMean,
double dblVariance,
double dblLowerBound,
double dblUpperBound)
BoundedGaussian Constructor
|
Modifier and Type | Method and Description |
---|---|
double |
random()
Generate a Random Number according to the specified rule
|
mean, variance
sequence, sequence
public BoundedGaussian(double dblMean, double dblVariance, double dblLowerBound, double dblUpperBound) throws java.lang.Exception
dblMean
- The MeandblVariance
- The VariancedblLowerBound
- The Lower BounddblUpperBound
- The Upper Boundjava.lang.Exception
- Thrown if the Inputs are Invalidpublic double random()
UnivariateSequenceGenerator
random
in class BoxMullerGaussian