
public class Normal extends Object implements ContinuousDistribution
References:
| Modifier and Type | Field and Description |
|---|---|
private static RNG |
GENERATOR |
private double |
mean |
private double |
stdDev |
private double mean
private double stdDev
private static final RNG GENERATOR
public Normal()
public Normal(double mean,
double stdDev)
mean - the mean vlaue of the distribution.stdDev - the stand deviation of the distribution.public final double sample()
ContinuousDistributionsample in interface ContinuousDistributionCopyright © 2015 University of Glasgow. All rights reserved.