Class ZigguratSampler.NormalizedGaussian

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

Modified ziggurat method for sampling from a Gaussian distribution with mean 0 and standard deviation 1.

Note: The algorithm is a modification of the Marsaglia and Tsang "Ziggurat" method. The modification improves performance of the rejection method used to generate samples at the edge of the ziggurat.

Since:
1.4
See Also: