ContinuousSamplerpublic class GaussianSampler extends java.lang.Object implements ContinuousSampler
| Constructor | Description |
|---|---|
GaussianSampler(NormalizedGaussianSampler normalized,
double mean,
double standardDeviation) |
| Modifier and Type | Method | Description |
|---|---|---|
double |
sample() |
Creates a sample.
|
java.lang.String |
toString() |
public GaussianSampler(NormalizedGaussianSampler normalized, double mean, double standardDeviation)
normalized - Generator of N(0,1) Gaussian distributed random numbers.mean - Mean of the Gaussian distribution.standardDeviation - Standard deviation of the Gaussian distribution.public double sample()
sample in interface ContinuousSamplerpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2016–2018 The Apache Software Foundation. All rights reserved.