public class BoxMullerNormalizedGaussianSampler extends SamplerBase implements NormalizedGaussianSampler
| Constructor and Description |
|---|
BoxMullerNormalizedGaussianSampler(UniformRandomProvider rng) |
| Modifier and Type | Method and Description |
|---|---|
double |
sample()
Creates a sample.
|
String |
toString() |
nextDouble, nextInt, nextInt, nextLongpublic BoxMullerNormalizedGaussianSampler(UniformRandomProvider rng)
rng - Generator of uniformly distributed random numbers.public double sample()
sample in interface ContinuousSamplerpublic String toString()
toString in class SamplerBaseCopyright © 2016–2018 The Apache Software Foundation. All rights reserved.