Package org.apache.commons.rng.sampling
package org.apache.commons.rng.sampling
This package provides sampling utilities.
The distribution
sub-package provides sampling from statistical distributions.
The shape
sub-package provides sampling coordinates from shapes.
-
ClassDescriptionUtilities for shuffling an array in-place.Sampling from a
Collection
.Class for representing combinations of a sequence of integers.Factory class to create a sampler that combines sampling from multiple samplers.Builds a composite sampler.A composite sampler.A factory for creating a composite ContinuousSampler.A composite continuous sampler.The DiscreteProbabilitySampler class defines implementations that sample from a user-defined discrete probability distribution.A factory for creating a sampler of a user-defined discrete probability distribution.A factory for creating a composite DiscreteSampler.A composite discrete sampler.A factory for creating a composite LongSampler.A composite long sampler.A factory for creating a composite ObjectSampler.A composite object sampler.Builds a composite sampler.A factory for creating composite samplers.The specialisation of composite sampler to build.Contains a weighted sampler.A factory for creating a composite SharedStateContinuousSampler.A composite continuous sampler with shared state support.A class to implement the SharedStateDiscreteSampler interface for a discrete probability sampler given a factory and the probability distribution.A factory for creating a composite SharedStateDiscreteSampler.A composite discrete sampler with shared state support.A factory for creating a composite SharedStateLongSampler.A composite long sampler with shared state support.A factory for creating a composite SharedStateObjectSampler.A composite object sampler with shared state support.Sampling from a collection of items with user-defined probabilities.Sampling from aList
.Sampler that generates values of a specified type.Class for representing permutations of a sequence of integers.Sampler that generates values of a specified type and can create new instances to sample from the same state with a given source of randomness.Applies to samplers that can share state between instances.Utility class for selecting a subset of a sequence of integers.Generate vectors isotropically located on the surface of a sphere.Sample uniformly from the ends of a 1D unit line.Sample uniformly from a 2D unit circle.Sample uniformly from a 3D unit sphere.Sample uniformly from a ND unit sphere.