Class ZigguratNormalizedGaussianSampler

java.lang.Object
org.apache.commons.rng.sampling.distribution.ZigguratNormalizedGaussianSampler
All Implemented Interfaces:
ContinuousSampler, NormalizedGaussianSampler, SharedStateContinuousSampler, SharedStateSampler<SharedStateContinuousSampler>

Marsaglia and Tsang "Ziggurat" method for sampling from a Gaussian distribution with mean 0 and standard deviation 1.

The algorithm is explained in this paper and this implementation has been adapted from the C code provided therein.

Sampling uses:

Since:
1.1