ContinuousSampler
, NormalizedGaussianSampler
public class ZigguratNormalizedGaussianSampler extends java.lang.Object implements NormalizedGaussianSampler
Constructor | Description |
---|---|
ZigguratNormalizedGaussianSampler(org.apache.commons.rng.UniformRandomProvider rng) |
Modifier and Type | Method | Description |
---|---|---|
double |
sample() |
Creates a sample.
|
java.lang.String |
toString() |
public ZigguratNormalizedGaussianSampler(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.