ContinuousSamplerBoxMullerNormalizedGaussianSampler
and GaussianSampler instead.@Deprecated public class BoxMullerGaussianSampler extends SamplerBase implements ContinuousSampler
| Constructor | Description |
|---|---|
BoxMullerGaussianSampler(org.apache.commons.rng.UniformRandomProvider rng,
double mean,
double standardDeviation) |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
double |
sample() |
Deprecated.
Creates a sample.
|
java.lang.String |
toString() |
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitnextDouble, nextInt, nextInt, nextLongpublic BoxMullerGaussianSampler(org.apache.commons.rng.UniformRandomProvider rng, double mean, double standardDeviation)
rng - Generator of uniformly 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 SamplerBaseCopyright © 2016–2018 The Apache Software Foundation. All rights reserved.