ContinuousSampler
, NormalizedGaussianSampler
public class BoxMullerNormalizedGaussianSampler extends java.lang.Object implements NormalizedGaussianSampler
Constructor | Description |
---|---|
BoxMullerNormalizedGaussianSampler(org.apache.commons.rng.UniformRandomProvider rng) |
Modifier and Type | Method | Description |
---|---|---|
double |
sample() |
Creates a sample.
|
java.lang.String |
toString() |
public BoxMullerNormalizedGaussianSampler(org.apache.commons.rng.UniformRandomProvider rng)
rng
- Generator of uniformly distributed random numbers.public double sample()
sample
in interface ContinuousSampler
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.