Package | Description |
---|---|
org.apache.commons.rng.sampling |
This package provides sampling utilities.
|
org.apache.commons.rng.sampling.distribution |
This package contains classes for sampling from statistical distributions.
|
Modifier and Type | Method and Description |
---|---|
static CompositeSamplers.Builder<ContinuousSampler> |
CompositeSamplers.newContinuousSamplerBuilder()
Create a new builder for a composite
ContinuousSampler . |
Modifier and Type | Interface and Description |
---|---|
interface |
NormalizedGaussianSampler
Marker interface for a sampler that generates values from an N(0,1)
Gaussian distribution.
|
interface |
SharedStateContinuousSampler
Sampler that generates values of type
double and can create new instances to sample
from the same state with a given source of randomness. |
Modifier and Type | Class and Description |
---|---|
class |
AhrensDieterExponentialSampler
Sampling from an exponential distribution.
|
class |
AhrensDieterMarsagliaTsangGammaSampler
Sampling from the gamma distribution.
|
class |
BoxMullerGaussianSampler
Deprecated.
Since version 1.1. Please use
BoxMullerNormalizedGaussianSampler
and GaussianSampler instead. |
class |
BoxMullerLogNormalSampler
Deprecated.
Since version 1.1. Please use
LogNormalSampler instead. |
class |
BoxMullerNormalizedGaussianSampler
Box-Muller algorithm for sampling from Gaussian distribution with
mean 0 and standard deviation 1.
|
class |
ChengBetaSampler
Sampling from a beta distribution.
|
class |
ContinuousUniformSampler
Sampling from a uniform distribution.
|
class |
GaussianSampler
Sampling from a Gaussian distribution with given mean and
standard deviation.
|
class |
InverseTransformContinuousSampler
Distribution sampler that uses the
inversion method.
|
class |
InverseTransformParetoSampler
Sampling from a Pareto distribution.
|
class |
LevySampler
Sampling from a Lévy distribution.
|
class |
LogNormalSampler
Sampling from a log-normal distribution.
|
class |
MarsagliaNormalizedGaussianSampler
Marsaglia polar method for sampling from a Gaussian distribution
with mean 0 and standard deviation 1.
|
class |
StableSampler
Samples from a stable distribution.
|
class |
TSampler
Sampling from a T distribution.
|
class |
ZigguratNormalizedGaussianSampler
Marsaglia and Tsang "Ziggurat" method for sampling from a Gaussian
distribution with mean 0 and standard deviation 1.
|
class |
ZigguratSampler
Modified ziggurat method for sampling from Gaussian and exponential distributions.
|
static class |
ZigguratSampler.Exponential
Modified ziggurat method for sampling from an exponential distribution.
|
static class |
ZigguratSampler.NormalizedGaussian
Modified ziggurat method for sampling from a Gaussian distribution with
mean 0 and standard deviation 1.
|
Copyright © 2016–2022 The Apache Software Foundation. All rights reserved.