Package | Description |
---|---|
org.apache.commons.rng.sampling.distribution |
Distribution samplers
|
Modifier and Type | Class | Description |
---|---|---|
class |
BoxMullerNormalizedGaussianSampler |
Box-Muller algorithm for sampling from Gaussian distribution with
mean 0 and standard deviation 1.
|
class |
MarsagliaNormalizedGaussianSampler |
Marsaglia polar method for sampling from a Gaussian distribution
with mean 0 and standard deviation 1.
|
class |
ZigguratNormalizedGaussianSampler |
Marsaglia and Tsang "Ziggurat" method for sampling from a Gaussian
distribution with mean 0 and standard deviation 1.
|
Constructor | Description |
---|---|
GaussianSampler(NormalizedGaussianSampler normalized,
double mean,
double standardDeviation) |
|
LogNormalSampler(NormalizedGaussianSampler gaussian,
double scale,
double shape) |
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.