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.
|
Class and Description |
---|
ContinuousSampler
Sampler that generates values of type
double . |
DiscreteSampler
Sampler that generates values of type
int . |
LongSampler
Sampler that generates values of type
long . |
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. |
SharedStateDiscreteSampler
Sampler that generates values of type
int and can create new instances to sample
from the same state with a given source of randomness. |
SharedStateLongSampler
Sampler that generates values of type
long and can create new instances to sample
from the same state with a given source of randomness. |
Class and Description |
---|
ContinuousInverseCumulativeProbabilityFunction
Interface for a continuous distribution that can be sampled using
the
inversion method.
|
ContinuousSampler
Sampler that generates values of type
double . |
DirichletSampler
Sampling from a Dirichlet
distribution.
|
DiscreteInverseCumulativeProbabilityFunction
Interface for a discrete distribution that can be sampled using
the
inversion method.
|
DiscreteSampler
Sampler that generates values of type
int . |
FastLoadedDiceRollerDiscreteSampler
Distribution sampler that uses the Fast Loaded Dice Roller (FLDR).
|
LevySampler
Sampling from a Lévy distribution.
|
LongSampler
Sampler that generates values of type
long . |
NormalizedGaussianSampler
Marker interface for a sampler that generates values from an N(0,1)
Gaussian distribution.
|
PoissonSamplerCache
Create a sampler for the
Poisson
distribution using a cache to minimise construction cost.
|
SamplerBase
Deprecated.
Since version 1.1. Class intended for internal use only.
|
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. |
SharedStateDiscreteSampler
Sampler that generates values of type
int and can create new instances to sample
from the same state with a given source of randomness. |
SharedStateLongSampler
Sampler that generates values of type
long and can create new instances to sample
from the same state with a given source of randomness. |
StableSampler
Samples from a stable distribution.
|
TSampler
Sampling from a T distribution.
|
UniformLongSampler
Discrete uniform distribution sampler generating values of type
long . |
ZigguratSampler
Modified ziggurat method for sampling from Gaussian and exponential distributions.
|
ZigguratSampler.Exponential
Modified ziggurat method for sampling from an exponential distribution.
|
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.