A B C D E F G I J K L M N O P R S T U V W X Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractWell - Class in org.apache.commons.rng.core.source32
-
This abstract class implements the WELL class of pseudo-random number generator from François Panneton, Pierre L'Ecuyer and Makoto Matsumoto.
- AbstractWell(int, int[]) - Constructor for class org.apache.commons.rng.core.source32.AbstractWell
-
Creates an instance with the given
seed
. - AbstractWell.IndexTable - Class in org.apache.commons.rng.core.source32
-
Inner class used to store the indirection index table which is fixed for a given type of WELL class of pseudo-random number generator.
- add(S, double) - Method in interface org.apache.commons.rng.sampling.CompositeSamplers.Builder
-
Adds the sampler to the composite.
- AhrensDieterExponentialSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampling from an exponential distribution.
- AhrensDieterExponentialSampler(UniformRandomProvider, double) - Constructor for class org.apache.commons.rng.sampling.distribution.AhrensDieterExponentialSampler
-
Create an instance.
- AhrensDieterMarsagliaTsangGammaSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampling from the gamma distribution.
- AhrensDieterMarsagliaTsangGammaSampler(UniformRandomProvider, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler
-
This instance delegates sampling.
- alias - Variable in class org.apache.commons.rng.sampling.distribution.AliasMethodDiscreteSampler
-
The alias table.
- ALIAS_METHOD - org.apache.commons.rng.sampling.CompositeSamplers.DiscreteProbabilitySampler
-
Sample using the alias method (see
AliasMethodDiscreteSampler
). - AliasMethodDiscreteSampler - Class in org.apache.commons.rng.sampling.distribution
-
Distribution sampler that uses the Alias method.
- ArraySampler - Class in org.apache.commons.rng.sampling
-
Utilities for shuffling an array in-place.
B
- BaseProvider - Class in org.apache.commons.rng.core
-
Base class with default implementation for common methods.
- BaseProvider() - Constructor for class org.apache.commons.rng.core.BaseProvider
-
Create an instance.
- BoxMullerGaussianSampler - Class in org.apache.commons.rng.sampling.distribution
-
Deprecated.Since version 1.1. Please use
BoxMullerNormalizedGaussianSampler
andGaussianSampler
instead. - BoxMullerGaussianSampler(UniformRandomProvider, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.BoxMullerGaussianSampler
-
Deprecated.Create an instance.
- BoxMullerLogNormalSampler - Class in org.apache.commons.rng.sampling.distribution
-
Deprecated.Since version 1.1. Please use
LogNormalSampler
instead. - BoxMullerLogNormalSampler(UniformRandomProvider, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.BoxMullerLogNormalSampler
-
Deprecated.Create an instance.
- BoxMullerNormalizedGaussianSampler - Class in org.apache.commons.rng.sampling.distribution
-
Box-Muller algorithm for sampling from Gaussian distribution with mean 0 and standard deviation 1.
- BoxMullerNormalizedGaussianSampler(UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.distribution.BoxMullerNormalizedGaussianSampler
-
Create an instance.
- BoxSampler - Class in org.apache.commons.rng.sampling.shape
-
Generate points uniformly distributed within a n-dimension box (hyperrectangle).
- build(UniformRandomProvider) - Method in interface org.apache.commons.rng.sampling.CompositeSamplers.Builder
-
Builds the composite sampler.
C
- checkIndex(int, int, int) - Method in class org.apache.commons.rng.core.BaseProvider
-
Checks whether
index
is in the range[min, max]
. - checkStateSize(byte[], int) - Method in class org.apache.commons.rng.core.BaseProvider
-
Deprecated.Method is used internally and should be made private in some future release.
- ChengBetaSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampling from a beta distribution.
- ChengBetaSampler(UniformRandomProvider, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.ChengBetaSampler
-
Creates a sampler instance.
- CollectionSampler<T> - Class in org.apache.commons.rng.sampling
-
Sampling from a
Collection
. - CollectionSampler(UniformRandomProvider, Collection<T>) - Constructor for class org.apache.commons.rng.sampling.CollectionSampler
-
Creates a sampler.
- CombinationSampler - Class in org.apache.commons.rng.sampling
-
Class for representing combinations of a sequence of integers.
- CombinationSampler(UniformRandomProvider, int, int) - Constructor for class org.apache.commons.rng.sampling.CombinationSampler
-
Creates a generator of combinations.
- composeStateInternal(byte[], byte[]) - Method in class org.apache.commons.rng.core.BaseProvider
-
Combine parent and subclass states.
- CompositeSamplers - Class in org.apache.commons.rng.sampling
-
Factory class to create a sampler that combines sampling from multiple samplers.
- CompositeSamplers.Builder<S> - Interface in org.apache.commons.rng.sampling
-
Builds a composite sampler.
- CompositeSamplers.DiscreteProbabilitySampler - Enum in org.apache.commons.rng.sampling
-
The DiscreteProbabilitySampler class defines implementations that sample from a user-defined discrete probability distribution.
- CompositeSamplers.DiscreteProbabilitySamplerFactory - Interface in org.apache.commons.rng.sampling
-
A factory for creating a sampler of a user-defined discrete probability distribution.
- ContinuousInverseCumulativeProbabilityFunction - Interface in org.apache.commons.rng.sampling.distribution
-
Interface for a continuous distribution that can be sampled using the inversion method.
- ContinuousSampler - Interface in org.apache.commons.rng.sampling.distribution
-
Sampler that generates values of type
double
. - ContinuousUniformSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampling from a uniform distribution.
- ContinuousUniformSampler(UniformRandomProvider, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.ContinuousUniformSampler
-
Create an instance.
- copy() - Method in class org.apache.commons.rng.core.source32.XoShiRo128Plus
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source32.XoShiRo128PlusPlus
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source32.XoShiRo128StarStar
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.L64X128Mix
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.L64X128StarStar
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.XoRoShiRo1024PlusPlus
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.XoRoShiRo1024Star
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.XoRoShiRo1024StarStar
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.XoRoShiRo128Plus
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.XoRoShiRo128PlusPlus
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.XoRoShiRo128StarStar
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.XorShift1024Star
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.XorShift1024StarPhi
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.XoShiRo256Plus
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.XoShiRo256PlusPlus
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.XoShiRo256StarStar
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.XoShiRo512Plus
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.XoShiRo512PlusPlus
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.XoShiRo512StarStar
-
Create a copy.
- create() - Method in enum org.apache.commons.rng.simple.RandomSource
-
Creates a random number generator with a random seed.
- create(long, UniformRandomProvider) - Method in interface org.apache.commons.rng.core.util.RandomStreams.SeededObjectFactory
-
Creates the object.
- create(Object, Object...) - Method in enum org.apache.commons.rng.simple.RandomSource
-
Creates a random number generator with the given
seed
. - create(RandomSource) - Static method in enum org.apache.commons.rng.simple.RandomSource
-
Deprecated.It is preferred to use the
RandomSource.create()
instance method. - create(RandomSource, Object, Object...) - Static method in enum org.apache.commons.rng.simple.RandomSource
-
Deprecated.It is preferred to use the
RandomSource.create(Object, Object...)
instance method. - create(UniformRandomProvider, double[]) - Method in interface org.apache.commons.rng.sampling.CompositeSamplers.DiscreteProbabilitySamplerFactory
-
Creates the sampler.
- createInt() - Static method in enum org.apache.commons.rng.simple.RandomSource
-
Creates a number for use as a seed.
- createIntArray(int) - Static method in enum org.apache.commons.rng.simple.RandomSource
-
Creates an array of numbers for use as a seed.
- createLong() - Static method in enum org.apache.commons.rng.simple.RandomSource
-
Creates a number for use as a seed.
- createLongArray(int) - Static method in enum org.apache.commons.rng.simple.RandomSource
-
Creates an array of numbers for use as a seed.
- createPoissonSampler(UniformRandomProvider, double) - Method in class org.apache.commons.rng.sampling.distribution.PoissonSamplerCache
- createSample(double, double) - Method in class org.apache.commons.rng.sampling.shape.LineSampler
-
Creates the sample given the random variate
u
in the interval[0, 1]
. - createSample(double, double, double) - Method in class org.apache.commons.rng.sampling.shape.TriangleSampler
-
Creates the sample given the random variates
s
andt
in the interval[0, 1]
ands + t <= 1
. - createSeed() - Method in enum org.apache.commons.rng.simple.RandomSource
-
Creates a seed suitable for the implementing class represented by this random source.
- createSeed(UniformRandomProvider) - Method in enum org.apache.commons.rng.simple.RandomSource
-
Creates a seed suitable for the implementing class represented by this random source using the supplied source of randomness.
- createSharedStateSampler(UniformRandomProvider, double) - Method in class org.apache.commons.rng.sampling.distribution.PoissonSamplerCache
-
Creates a new Poisson sampler.
- current(RandomSource) - Static method in class org.apache.commons.rng.simple.ThreadLocalRandomSource
-
Returns the current thread's copy of the given
source
.
D
- DirichletSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampling from a Dirichlet distribution.
- DiscreteInverseCumulativeProbabilityFunction - Interface in org.apache.commons.rng.sampling.distribution
-
Interface for a discrete distribution that can be sampled using the inversion method.
- DiscreteProbabilityCollectionSampler<T> - Class in org.apache.commons.rng.sampling
-
Sampling from a collection of items with user-defined probabilities.
- DiscreteProbabilityCollectionSampler(UniformRandomProvider, List<T>, double[]) - Constructor for class org.apache.commons.rng.sampling.DiscreteProbabilityCollectionSampler
-
Creates a sampler.
- DiscreteProbabilityCollectionSampler(UniformRandomProvider, Map<T, Double>) - Constructor for class org.apache.commons.rng.sampling.DiscreteProbabilityCollectionSampler
-
Creates a sampler.
- DiscreteSampler - Interface in org.apache.commons.rng.sampling.distribution
-
Sampler that generates values of type
int
. - DiscreteUniformSampler - Class in org.apache.commons.rng.sampling.distribution
-
Discrete uniform distribution sampler.
- DiscreteUniformSampler(UniformRandomProvider, int, int) - Constructor for class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler
-
This instance delegates sampling.
- DotyHumphreySmallFastCounting32 - Class in org.apache.commons.rng.core.source32
-
Implement the Small, Fast, Counting (SFC) 32-bit generator of Chris Doty-Humphrey.
- DotyHumphreySmallFastCounting32(int[]) - Constructor for class org.apache.commons.rng.core.source32.DotyHumphreySmallFastCounting32
-
Creates an instance with the given seed.
- DotyHumphreySmallFastCounting64 - Class in org.apache.commons.rng.core.source64
-
Implement the Small, Fast, Counting (SFC) 64-bit generator of Chris Doty-Humphrey.
- DotyHumphreySmallFastCounting64(long[]) - Constructor for class org.apache.commons.rng.core.source64.DotyHumphreySmallFastCounting64
-
Creates an instance with the given seed.
- doubles() - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
- doubles() - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Returns an effectively unlimited stream of
double
values between 0 (inclusive) and 1 (exclusive). - doubles(double, double) - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
- doubles(double, double) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Returns an effectively unlimited stream of
double
values between the specifiedorigin
(inclusive) and the specifiedbound
(exclusive). - doubles(long) - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
- doubles(long) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Returns a stream producing the given
streamSize
number ofdouble
values between 0 (inclusive) and 1 (exclusive). - doubles(long, double, double) - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
- doubles(long, double, double) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Returns a stream producing the given
streamSize
number ofdouble
values between the specifiedorigin
(inclusive) and the specifiedbound
(exclusive).
E
- extendSeed(int[], int) - Static method in class org.apache.commons.rng.core.BaseProvider
-
Extend the seed to the specified minimum length.
- extendSeed(long[], int) - Static method in class org.apache.commons.rng.core.BaseProvider
-
Extend the seed to the specified minimum length.
- extractHi(long) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Creates an
int
from along
, using the high order bits. - extractLo(long) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Creates an
int
from along
, using the low order bits.
F
- FastLoadedDiceRollerDiscreteSampler - Class in org.apache.commons.rng.sampling.distribution
-
Distribution sampler that uses the Fast Loaded Dice Roller (FLDR).
- fillState(int[], int[]) - Method in class org.apache.commons.rng.core.BaseProvider
-
Simple filling procedure.
- fillState(long[], long[]) - Method in class org.apache.commons.rng.core.BaseProvider
-
Simple filling procedure.
G
- GaussianSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampling from a Gaussian distribution with given mean and standard deviation.
- GaussianSampler(NormalizedGaussianSampler, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.GaussianSampler
-
Create an instance.
- generateWithSeed(long, SplittableUniformRandomProvider, RandomStreams.SeededObjectFactory<T>) - Static method in class org.apache.commons.rng.core.util.RandomStreams
-
Returns a stream producing the given
streamSize
number of new objects generated using the suppliedsource
of randomness and objectfactory
. - GeometricSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampling from a geometric distribution.
- getIndexM1(int) - Method in class org.apache.commons.rng.core.source32.AbstractWell.IndexTable
-
Returns index + M1 modulo the table size.
- getIndexM2(int) - Method in class org.apache.commons.rng.core.source32.AbstractWell.IndexTable
-
Returns index + M2 modulo the table size.
- getIndexM3(int) - Method in class org.apache.commons.rng.core.source32.AbstractWell.IndexTable
-
Returns index + M3 modulo the table size.
- getIndexPred(int) - Method in class org.apache.commons.rng.core.source32.AbstractWell.IndexTable
-
Returns the predecessor of the given index modulo the table size.
- getIndexPred2(int) - Method in class org.apache.commons.rng.core.source32.AbstractWell.IndexTable
-
Returns the second predecessor of the given index modulo the table size.
- getK() - Method in class org.apache.commons.rng.sampling.distribution.DirichletSampler
-
Gets the number of categories.
- getMaxMean() - Method in class org.apache.commons.rng.sampling.distribution.PoissonSamplerCache
-
Gets the maximum mean covered by the cache.
- getMinimumCachedMean() - Static method in class org.apache.commons.rng.sampling.distribution.PoissonSamplerCache
-
Gets the minimum mean value that can be cached.
- getMinMean() - Method in class org.apache.commons.rng.sampling.distribution.PoissonSamplerCache
-
Gets the minimum mean covered by the cache.
- getState() - Method in class org.apache.commons.rng.core.RandomProviderDefaultState
-
Get the state.
- getStateInternal() - Method in class org.apache.commons.rng.core.BaseProvider
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source32.AbstractWell
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source32.DotyHumphreySmallFastCounting32
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source32.IntProvider
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source32.ISAACRandom
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source32.JDKRandom
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source32.JenkinsSmallFast32
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source32.KISSRandom
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source32.L32X64Mix
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source32.MersenneTwister
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source32.MiddleSquareWeylSequence
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source32.MultiplyWithCarry256
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.DotyHumphreySmallFastCounting64
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.JenkinsSmallFast64
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.L128X1024Mix
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.L128X128Mix
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.L128X256Mix
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.L64X1024Mix
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.L64X256Mix
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.LongProvider
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.MersenneTwister64
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.PcgRxsMXs64
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.SplitMix64
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.TwoCmres
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.XorShift1024Star
-
Creates a snapshot of the RNG state.
- GUIDE_TABLE - org.apache.commons.rng.sampling.CompositeSamplers.DiscreteProbabilitySampler
-
Sample using a guide table (see
GuideTableDiscreteSampler
). - GuideTableDiscreteSampler - Class in org.apache.commons.rng.sampling.distribution
-
Compute a sample from
n
values each with an associated probability.
I
- index - Variable in class org.apache.commons.rng.core.source32.AbstractWell
-
Current index in the bytes pool.
- IndexTable(int, int, int, int) - Constructor for class org.apache.commons.rng.core.source32.AbstractWell.IndexTable
-
Creates a new pre-calculated indirection index table.
- IntProvider - Class in org.apache.commons.rng.core.source32
-
Base class for all implementations that provide an
int
-based source randomness. - IntProvider() - Constructor for class org.apache.commons.rng.core.source32.IntProvider
-
Creates a new instance.
- IntProvider(IntProvider) - Constructor for class org.apache.commons.rng.core.source32.IntProvider
-
Creates a new instance copying the state from the source.
- ints() - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
- ints() - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Returns an effectively unlimited stream of
int
values. - ints(int, int) - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
- ints(int, int) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Returns an effectively unlimited stream of
int
values between the specifiedorigin
(inclusive) and the specifiedbound
(exclusive). - ints(long) - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
- ints(long) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Returns a stream producing the given
streamSize
number ofint
values. - ints(long, int, int) - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
- ints(long, int, int) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Returns a stream producing the given
streamSize
number ofint
values between the specifiedorigin
(inclusive) and the specifiedbound
(exclusive). - inverseCumulativeProbability(double) - Method in interface org.apache.commons.rng.sampling.distribution.ContinuousInverseCumulativeProbabilityFunction
-
Computes the quantile function of the distribution.
- inverseCumulativeProbability(double) - Method in interface org.apache.commons.rng.sampling.distribution.DiscreteInverseCumulativeProbabilityFunction
-
Computes the quantile function of the distribution.
- InverseTransformContinuousSampler - Class in org.apache.commons.rng.sampling.distribution
-
Distribution sampler that uses the inversion method.
- InverseTransformContinuousSampler(UniformRandomProvider, ContinuousInverseCumulativeProbabilityFunction) - Constructor for class org.apache.commons.rng.sampling.distribution.InverseTransformContinuousSampler
-
Create an instance.
- InverseTransformDiscreteSampler - Class in org.apache.commons.rng.sampling.distribution
-
Distribution sampler that uses the inversion method.
- InverseTransformDiscreteSampler(UniformRandomProvider, DiscreteInverseCumulativeProbabilityFunction) - Constructor for class org.apache.commons.rng.sampling.distribution.InverseTransformDiscreteSampler
-
Create an instance.
- InverseTransformParetoSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampling from a Pareto distribution.
- InverseTransformParetoSampler(UniformRandomProvider, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.InverseTransformParetoSampler
-
Create an instance.
- ISAAC - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
ISAACRandom
. - ISAACRandom - Class in org.apache.commons.rng.core.source32
-
A fast cryptographic pseudo-random number generator.
- ISAACRandom(int[]) - Constructor for class org.apache.commons.rng.core.source32.ISAACRandom
-
Creates a new ISAAC random number generator.
- isJumpable() - Method in enum org.apache.commons.rng.simple.RandomSource
-
Checks whether the implementing class represented by this random source supports the
JumpableUniformRandomProvider
interface. - isLongJumpable() - Method in enum org.apache.commons.rng.simple.RandomSource
-
Checks whether the implementing class represented by this random source supports the
LongJumpableUniformRandomProvider
interface. - isNativeSeed(Object) - Method in enum org.apache.commons.rng.simple.RandomSource
-
Checks whether the type of given
seed
is the native type of the implementation. - isSplittable() - Method in enum org.apache.commons.rng.simple.RandomSource
-
Checks whether the implementing class represented by this random source supports the
SplittableUniformRandomProvider
interface. - isValidRange() - Method in class org.apache.commons.rng.sampling.distribution.PoissonSamplerCache
-
Checks if the cache covers a valid range of mean values.
J
- JDK - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
JDKRandom
. - JDKRandom - Class in org.apache.commons.rng.core.source32
-
A provider that uses the
Random.nextInt()
method of the JDK'sRandom
class as the source of randomness. - JDKRandom(Long) - Constructor for class org.apache.commons.rng.core.source32.JDKRandom
-
Creates an instance with the given seed.
- JDKRandomBridge - Class in org.apache.commons.rng.simple
-
Subclass of
Random
thatdelegates
to aRestorableUniformRandomProvider
instance but will otherwise rely on the base class for generating all the random types. - JDKRandomBridge(RandomSource, Object) - Constructor for class org.apache.commons.rng.simple.JDKRandomBridge
-
Creates a new instance.
- JDKRandomWrapper - Class in org.apache.commons.rng.simple
-
Wraps a
Random
instance to implementUniformRandomProvider
. - JDKRandomWrapper(Random) - Constructor for class org.apache.commons.rng.simple.JDKRandomWrapper
-
Create a wrapper around a Random instance.
- JenkinsSmallFast32 - Class in org.apache.commons.rng.core.source32
-
Implement Bob Jenkins's small fast (JSF) 32-bit generator.
- JenkinsSmallFast32(Integer) - Constructor for class org.apache.commons.rng.core.source32.JenkinsSmallFast32
-
Creates an instance with the given seed.
- JenkinsSmallFast64 - Class in org.apache.commons.rng.core.source64
-
Implement Bob Jenkins's small fast (JSF) 64-bit generator.
- JenkinsSmallFast64(Long) - Constructor for class org.apache.commons.rng.core.source64.JenkinsSmallFast64
-
Creates an instance with the given seed.
- JSF_32 - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
JenkinsSmallFast32
. - JSF_64 - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
JenkinsSmallFast64
. - jump() - Method in class org.apache.commons.rng.core.source32.L32X64Mix
-
Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.
- jump() - Method in class org.apache.commons.rng.core.source64.L128X1024Mix
-
Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.
- jump() - Method in class org.apache.commons.rng.core.source64.L128X128Mix
-
Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.
- jump() - Method in class org.apache.commons.rng.core.source64.L128X256Mix
-
Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.
- jump() - Method in class org.apache.commons.rng.core.source64.L64X1024Mix
-
Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.
- jump() - Method in class org.apache.commons.rng.core.source64.L64X256Mix
-
Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.
- jump() - Method in class org.apache.commons.rng.core.source64.XoRoShiRo128PlusPlus
-
Creates a copy of the UniformRandomProvider and then advances the state of the current instance.
- jump() - Method in class org.apache.commons.rng.core.source64.XorShift1024Star
-
Creates a copy of the UniformRandomProvider and then advances the state of the current instance.
- jump() - Method in interface org.apache.commons.rng.JumpableUniformRandomProvider
-
Creates a copy of the UniformRandomProvider and then advances the state of the current instance.
- JumpableUniformRandomProvider - Interface in org.apache.commons.rng
-
Applies to generators that can be advanced a large number of steps of the output sequence in a single operation.
- jumps() - Method in interface org.apache.commons.rng.JumpableUniformRandomProvider
-
Returns an effectively unlimited stream of new random generators, each of which implements the
UniformRandomProvider
interface. - jumps(long) - Method in interface org.apache.commons.rng.JumpableUniformRandomProvider
-
Returns a stream producing the given
streamSize
number of new random generators, each of which implements theUniformRandomProvider
interface.
K
- KempSmallMeanPoissonSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampler for the Poisson distribution.
- KISS - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
KISSRandom
. - KISSRandom - Class in org.apache.commons.rng.core.source32
-
Port from Marsaglia's "KISS" algorithm.
- KISSRandom(int[]) - Constructor for class org.apache.commons.rng.core.source32.KISSRandom
-
Creates a new instance.
L
- L128_X1024_MIX - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
L128X1024Mix
. - L128_X128_MIX - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
L128X128Mix
. - L128_X256_MIX - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
L128X256Mix
. - L128X1024Mix - Class in org.apache.commons.rng.core.source64
-
A 64-bit all purpose generator.
- L128X1024Mix(long[]) - Constructor for class org.apache.commons.rng.core.source64.L128X1024Mix
-
Creates a new instance.
- L128X1024Mix(L128X1024Mix) - Constructor for class org.apache.commons.rng.core.source64.L128X1024Mix
-
Creates a copy instance.
- L128X128Mix - Class in org.apache.commons.rng.core.source64
-
A 64-bit all purpose generator.
- L128X128Mix(long[]) - Constructor for class org.apache.commons.rng.core.source64.L128X128Mix
-
Creates a new instance.
- L128X128Mix(long, long, long, long, long, long) - Constructor for class org.apache.commons.rng.core.source64.L128X128Mix
-
Creates a new instance using a 6 element seed.
- L128X128Mix(L128X128Mix) - Constructor for class org.apache.commons.rng.core.source64.L128X128Mix
-
Creates a copy instance.
- L128X256Mix - Class in org.apache.commons.rng.core.source64
-
A 64-bit all purpose generator.
- L128X256Mix(long[]) - Constructor for class org.apache.commons.rng.core.source64.L128X256Mix
-
Creates a new instance.
- L128X256Mix(long, long, long, long, long, long, long, long) - Constructor for class org.apache.commons.rng.core.source64.L128X256Mix
-
Creates a new instance using an 8 element seed.
- L128X256Mix(L128X256Mix) - Constructor for class org.apache.commons.rng.core.source64.L128X256Mix
-
Creates a copy instance.
- L32_X64_MIX - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
L32X64Mix
. - L32X64Mix - Class in org.apache.commons.rng.core.source32
-
A 32-bit all purpose generator.
- L32X64Mix(int[]) - Constructor for class org.apache.commons.rng.core.source32.L32X64Mix
-
Creates a new instance.
- L32X64Mix(int, int, int, int) - Constructor for class org.apache.commons.rng.core.source32.L32X64Mix
-
Creates a new instance using a 4 element seed.
- L64_X1024_MIX - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
L64X1024Mix
. - L64_X128_MIX - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
L64X128Mix
. - L64_X128_SS - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
L64X128StarStar
. - L64_X256_MIX - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
L64X256Mix
. - L64X1024Mix - Class in org.apache.commons.rng.core.source64
-
A 64-bit all purpose generator.
- L64X1024Mix(long[]) - Constructor for class org.apache.commons.rng.core.source64.L64X1024Mix
-
Creates a new instance.
- L64X1024Mix(L64X1024Mix) - Constructor for class org.apache.commons.rng.core.source64.L64X1024Mix
-
Creates a copy instance.
- L64X128Mix - Class in org.apache.commons.rng.core.source64
-
A 64-bit all purpose generator.
- L64X128Mix(long[]) - Constructor for class org.apache.commons.rng.core.source64.L64X128Mix
-
Creates a new instance.
- L64X128Mix(long, long, long, long) - Constructor for class org.apache.commons.rng.core.source64.L64X128Mix
-
Creates a new instance using a 4 element seed.
- L64X128Mix(L64X128Mix) - Constructor for class org.apache.commons.rng.core.source64.L64X128Mix
-
Creates a copy instance.
- L64X128StarStar - Class in org.apache.commons.rng.core.source64
-
A 64-bit all purpose generator.
- L64X128StarStar(long[]) - Constructor for class org.apache.commons.rng.core.source64.L64X128StarStar
-
Creates a new instance.
- L64X128StarStar(long, long, long, long) - Constructor for class org.apache.commons.rng.core.source64.L64X128StarStar
-
Creates a new instance using a 4 element seed.
- L64X128StarStar(L64X128StarStar) - Constructor for class org.apache.commons.rng.core.source64.L64X128StarStar
-
Creates a copy instance.
- L64X256Mix - Class in org.apache.commons.rng.core.source64
-
A 64-bit all purpose generator.
- L64X256Mix(long[]) - Constructor for class org.apache.commons.rng.core.source64.L64X256Mix
-
Creates a new instance.
- L64X256Mix(long, long, long, long, long, long) - Constructor for class org.apache.commons.rng.core.source64.L64X256Mix
-
Creates a new instance using a 6 element seed.
- L64X256Mix(L64X256Mix) - Constructor for class org.apache.commons.rng.core.source64.L64X256Mix
-
Creates a copy instance.
- LargeMeanPoissonSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampler for the Poisson distribution.
- LargeMeanPoissonSampler(UniformRandomProvider, double) - Constructor for class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
-
Create an instance.
- LevySampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampling from a Lévy distribution.
- LineSampler - Class in org.apache.commons.rng.sampling.shape
-
Generate points uniformly distributed on a line.
- ListSampler - Class in org.apache.commons.rng.sampling
-
Sampling from a
List
. - LogNormalSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampling from a log-normal distribution.
- LogNormalSampler(NormalizedGaussianSampler, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.LogNormalSampler
-
Create an instance.
- longJump() - Method in class org.apache.commons.rng.core.source32.L32X64Mix
-
Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.
- longJump() - Method in class org.apache.commons.rng.core.source64.L128X1024Mix
-
Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.
- longJump() - Method in class org.apache.commons.rng.core.source64.L128X128Mix
-
Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.
- longJump() - Method in class org.apache.commons.rng.core.source64.L128X256Mix
-
Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.
- longJump() - Method in class org.apache.commons.rng.core.source64.L64X1024Mix
-
Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.
- longJump() - Method in class org.apache.commons.rng.core.source64.L64X256Mix
-
Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.
- longJump() - Method in class org.apache.commons.rng.core.source64.XoRoShiRo128PlusPlus
-
Creates a copy of the JumpableUniformRandomProvider and then advances the state of the current instance.
- longJump() - Method in interface org.apache.commons.rng.LongJumpableUniformRandomProvider
-
Creates a copy of the JumpableUniformRandomProvider and then advances the state of the current instance.
- LongJumpableUniformRandomProvider - Interface in org.apache.commons.rng
-
Applies to generators that can be advanced a very large number of steps of the output sequence in a single operation.
- longJumps() - Method in interface org.apache.commons.rng.LongJumpableUniformRandomProvider
-
Returns an effectively unlimited stream of new random generators, each of which implements the
JumpableUniformRandomProvider
interface. - longJumps(long) - Method in interface org.apache.commons.rng.LongJumpableUniformRandomProvider
-
Returns a stream producing the given
streamSize
number of new random generators, each of which implements theJumpableUniformRandomProvider
interface. - LongProvider - Class in org.apache.commons.rng.core.source64
-
Base class for all implementations that provide a
long
-based source randomness. - LongProvider() - Constructor for class org.apache.commons.rng.core.source64.LongProvider
-
Creates a new instance.
- LongProvider(LongProvider) - Constructor for class org.apache.commons.rng.core.source64.LongProvider
-
Creates a new instance copying the state from the source.
- longs() - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
- longs() - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Returns an effectively unlimited stream of
long
values. - longs(long) - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
- longs(long) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Returns a stream producing the given
streamSize
number oflong
values. - longs(long, long) - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
- longs(long, long) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Returns an effectively unlimited stream of
long
values between the specifiedorigin
(inclusive) and the specifiedbound
(exclusive). - longs(long, long, long) - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
- longs(long, long, long) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Returns a stream producing the given
streamSize
number oflong
values between the specifiedorigin
(inclusive) and the specifiedbound
(exclusive). - LongSampler - Interface in org.apache.commons.rng.sampling.distribution
-
Sampler that generates values of type
long
. - LOOKUP_TABLE - org.apache.commons.rng.sampling.CompositeSamplers.DiscreteProbabilitySampler
-
Sample using an optimised look-up table (see
MarsagliaTsangWangDiscreteSampler.Enumerated
).
M
- makeBoolean(int) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Deprecated.Since version 1.2. Method has become obsolete following RNG-57.
- makeBoolean(long) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Deprecated.Since version 1.2. Method has become obsolete following RNG-57.
- makeByteArray(int) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Splits an
int
into 4 bytes. - makeByteArray(int[]) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Splits an array of
int
values into a sequence of bytes. - makeByteArray(long) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Splits a
long
into 8 bytes. - makeByteArray(long[]) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Splits an array of
long
values into a sequence of bytes. - makeDouble(int, int) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Creates a
double
from twoint
values. - makeDouble(long) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Creates a
double
from along
value. - makeFloat(int) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Creates a
float
from anint
value. - makeInt(byte[]) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Creates an
int
from 4 bytes. - makeInt(long) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Deprecated.Since version 1.2. Method has become obsolete following RNG-57.
- makeIntArray(byte[]) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Creates an array of
int
values from a sequence of bytes. - makeLong(byte[]) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Creates a
long
from 8 bytes. - makeLong(int, int) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Creates a
long
from twoint
values. - makeLongArray(byte[]) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Creates an array of
long
values from a sequence of bytes. - MarsagliaNormalizedGaussianSampler - Class in org.apache.commons.rng.sampling.distribution
-
Marsaglia polar method for sampling from a Gaussian distribution with mean 0 and standard deviation 1.
- MarsagliaNormalizedGaussianSampler(UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.distribution.MarsagliaNormalizedGaussianSampler
-
Create an instance.
- MarsagliaTsangWangDiscreteSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampler for a discrete distribution using an optimised look-up table.
- MarsagliaTsangWangDiscreteSampler.Binomial - Class in org.apache.commons.rng.sampling.distribution
-
Create a sampler for the Binomial distribution.
- MarsagliaTsangWangDiscreteSampler.Enumerated - Class in org.apache.commons.rng.sampling.distribution
-
Create a sampler for an enumerated distribution of
n
values each with an associated probability. - MarsagliaTsangWangDiscreteSampler.Poisson - Class in org.apache.commons.rng.sampling.distribution
-
Create a sampler for the Poisson distribution.
- MersenneTwister - Class in org.apache.commons.rng.core.source32
-
This class implements a powerful pseudo-random number generator developed by Makoto Matsumoto and Takuji Nishimura during 1996-1997.
- MersenneTwister(int[]) - Constructor for class org.apache.commons.rng.core.source32.MersenneTwister
-
Creates a new random number generator.
- MersenneTwister64 - Class in org.apache.commons.rng.core.source64
-
This class provides the 64-bits version of the originally 32-bits
Mersenne Twister
. - MersenneTwister64(long[]) - Constructor for class org.apache.commons.rng.core.source64.MersenneTwister64
-
Creates a new random number generator.
- MiddleSquareWeylSequence - Class in org.apache.commons.rng.core.source32
-
Middle Square Weyl Sequence Random Number Generator.
- MiddleSquareWeylSequence(long[]) - Constructor for class org.apache.commons.rng.core.source32.MiddleSquareWeylSequence
-
Creates a new instance.
- MSWS - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
MiddleSquareWeylSequence
. - MT - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
MersenneTwister
. - MT_64 - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
MersenneTwister64
. - MultiplyWithCarry256 - Class in org.apache.commons.rng.core.source32
-
Port from Marsaglia's "Multiply-With-Carry" algorithm.
- MultiplyWithCarry256(int[]) - Constructor for class org.apache.commons.rng.core.source32.MultiplyWithCarry256
-
Creates a new instance.
- MWC_256 - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
MultiplyWithCarry256
.
N
- natural(int) - Static method in class org.apache.commons.rng.sampling.PermutationSampler
-
Creates an array representing the natural number
n
. - newContinuousSamplerBuilder() - Static method in class org.apache.commons.rng.sampling.CompositeSamplers
-
Create a new builder for a composite
ContinuousSampler
. - newDiscreteSamplerBuilder() - Static method in class org.apache.commons.rng.sampling.CompositeSamplers
-
Create a new builder for a composite
DiscreteSampler
. - newLongSamplerBuilder() - Static method in class org.apache.commons.rng.sampling.CompositeSamplers
-
Create a new builder for a composite
LongSampler
. - newObjectSamplerBuilder() - Static method in class org.apache.commons.rng.sampling.CompositeSamplers
-
Create a new builder for a composite
ObjectSampler
. - newSharedStateContinuousSamplerBuilder() - Static method in class org.apache.commons.rng.sampling.CompositeSamplers
-
Create a new builder for a composite
SharedStateContinuousSampler
. - newSharedStateDiscreteSamplerBuilder() - Static method in class org.apache.commons.rng.sampling.CompositeSamplers
-
Create a new builder for a composite
SharedStateDiscreteSampler
. - newSharedStateLongSamplerBuilder() - Static method in class org.apache.commons.rng.sampling.CompositeSamplers
-
Create a new builder for a composite
SharedStateLongSampler
. - newSharedStateObjectSamplerBuilder() - Static method in class org.apache.commons.rng.sampling.CompositeSamplers
-
Create a new builder for a composite
SharedStateObjectSampler
. - next() - Method in class org.apache.commons.rng.core.source32.DotyHumphreySmallFastCounting32
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.ISAACRandom
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.JDKRandom
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.JenkinsSmallFast32
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.KISSRandom
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.L32X64Mix
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.MersenneTwister
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.MiddleSquareWeylSequence
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.MultiplyWithCarry256
-
Return the next random value.
- next() - Method in interface org.apache.commons.rng.core.source32.RandomIntSource
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.Well1024a
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.Well19937a
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.Well19937c
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.Well44497a
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.Well44497b
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.Well512a
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.DotyHumphreySmallFastCounting64
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.JenkinsSmallFast64
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.L128X1024Mix
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.L128X128Mix
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.L128X256Mix
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.L64X1024Mix
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.L64X128Mix
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.L64X128StarStar
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.L64X256Mix
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.MersenneTwister64
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.PcgRxsMXs64
-
Return the next random value.
- next() - Method in interface org.apache.commons.rng.core.source64.RandomLongSource
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.SplitMix64
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.TwoCmres
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.XoRoShiRo128PlusPlus
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.XorShift1024Star
-
Return the next random value.
- next(int) - Method in class org.apache.commons.rng.simple.JDKRandomBridge
-
Delegates the generation of 32 random bits to the
RandomSource
argument provided atconstruction
. - nextBoolean() - Method in class org.apache.commons.rng.core.source32.IntProvider
-
Generates a
boolean
value. - nextBoolean() - Method in class org.apache.commons.rng.core.source64.LongProvider
-
Generates a
boolean
value. - nextBoolean() - Method in class org.apache.commons.rng.simple.JDKRandomWrapper
-
Generates a
boolean
value. - nextBoolean() - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Generates a
boolean
value. - nextBytes(byte[]) - Method in class org.apache.commons.rng.core.source32.IntProvider
-
Generates
byte
values and places them into a user-supplied array. - nextBytes(byte[]) - Method in class org.apache.commons.rng.simple.JDKRandomWrapper
-
Generates
byte
values and places them into a user-supplied array. - nextBytes(byte[]) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Generates
byte
values and places them into a user-supplied array. - nextBytes(byte[], int, int) - Method in class org.apache.commons.rng.core.source32.IntProvider
-
Generates
byte
values and places them into a user-supplied array. - nextBytes(byte[], int, int) - Method in class org.apache.commons.rng.simple.JDKRandomWrapper
-
Generates
byte
values and places them into a user-supplied array. - nextBytes(byte[], int, int) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Generates
byte
values and places them into a user-supplied array. - nextDouble() - Method in class org.apache.commons.rng.core.source32.IntProvider
-
Generates a
double
value between 0 (inclusive) and 1 (exclusive). - nextDouble() - Method in class org.apache.commons.rng.sampling.distribution.SamplerBase
-
Deprecated.Return the next
double
value. - nextDouble() - Method in class org.apache.commons.rng.simple.JDKRandomWrapper
-
Generates a
double
value between 0 (inclusive) and 1 (exclusive). - nextDouble() - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Generates a
double
value between 0 (inclusive) and 1 (exclusive). - nextDouble(double) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Generates a
double
value between 0 (inclusive) and the specifiedbound
(exclusive). - nextDouble(double, double) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Generates a
double
value between the specifiedorigin
(inclusive) and the specifiedbound
(exclusive). - nextFloat() - Method in class org.apache.commons.rng.simple.JDKRandomWrapper
-
Generates a
float
value between 0 (inclusive) and 1 (exclusive). - nextFloat() - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Generates a
float
value between 0 (inclusive) and 1 (exclusive). - nextFloat(float) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Generates a
float
value between 0 (inclusive) and the specifiedbound
(exclusive). - nextFloat(float, float) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Generates a
float
value between the specifiedorigin
(inclusive) and the specifiedbound
(exclusive). - nextGamma(int) - Method in class org.apache.commons.rng.sampling.distribution.DirichletSampler
-
Create a gamma sample for the given category.
- nextInt() - Method in class org.apache.commons.rng.core.source32.IntProvider
-
Generates an
int
value. - nextInt() - Method in class org.apache.commons.rng.core.source64.LongProvider
-
Generates an
int
value. - nextInt() - Method in class org.apache.commons.rng.sampling.distribution.SamplerBase
-
Deprecated.Return the next
int
value. - nextInt() - Method in class org.apache.commons.rng.simple.JDKRandomWrapper
-
Generates an
int
value. - nextInt() - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Generates an
int
value. - nextInt(int) - Method in class org.apache.commons.rng.sampling.distribution.SamplerBase
-
Deprecated.Return the next
int
value. - nextInt(int) - Method in class org.apache.commons.rng.simple.JDKRandomWrapper
-
Generates an
int
value between 0 (inclusive) and the specified value (exclusive). - nextInt(int) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Generates an
int
value between 0 (inclusive) and the specified value (exclusive). - nextInt(int, int) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Generates an
int
value between the specifiedorigin
(inclusive) and the specifiedbound
(exclusive). - nextLong() - Method in class org.apache.commons.rng.core.source32.IntProvider
-
Generates a
long
value. - nextLong() - Method in class org.apache.commons.rng.core.source32.MiddleSquareWeylSequence
-
Generates a
long
value. - nextLong() - Method in class org.apache.commons.rng.core.source64.LongProvider
-
Generates a
long
value. - nextLong() - Method in class org.apache.commons.rng.sampling.distribution.SamplerBase
-
Deprecated.Return the next
long
value. - nextLong() - Method in class org.apache.commons.rng.simple.JDKRandomWrapper
-
Generates a
long
value. - nextLong() - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Generates a
long
value. - nextLong(long) - Method in class org.apache.commons.rng.simple.JDKRandomWrapper
-
Generates a
long
value between 0 (inclusive) and the specified value (exclusive). - nextLong(long) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Generates a
long
value between 0 (inclusive) and the specified value (exclusive). - nextLong(long, long) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Generates a
long
value between the specifiedorigin
(inclusive) and the specifiedbound
(exclusive). - nextOutput() - Method in class org.apache.commons.rng.core.source32.XoRoShiRo64Star
-
Use the current state to compute the next output from the generator.
- nextOutput() - Method in class org.apache.commons.rng.core.source32.XoRoShiRo64StarStar
-
Use the current state to compute the next output from the generator.
- nextOutput() - Method in class org.apache.commons.rng.core.source32.XoShiRo128Plus
-
Use the current state to compute the next output from the generator.
- nextOutput() - Method in class org.apache.commons.rng.core.source32.XoShiRo128PlusPlus
-
Use the current state to compute the next output from the generator.
- nextOutput() - Method in class org.apache.commons.rng.core.source32.XoShiRo128StarStar
-
Use the current state to compute the next output from the generator.
- nextOutput() - Method in class org.apache.commons.rng.core.source64.XoRoShiRo128Plus
-
Use the current state to compute the next output from the generator.
- nextOutput() - Method in class org.apache.commons.rng.core.source64.XoRoShiRo128PlusPlus
-
Use the current state to compute the next output from the generator.
- nextOutput() - Method in class org.apache.commons.rng.core.source64.XoRoShiRo128StarStar
-
Use the current state to compute the next output from the generator.
- nextOutput() - Method in class org.apache.commons.rng.core.source64.XoShiRo256Plus
-
Use the current state to compute the next output from the generator.
- nextOutput() - Method in class org.apache.commons.rng.core.source64.XoShiRo256PlusPlus
-
Use the current state to compute the next output from the generator.
- nextOutput() - Method in class org.apache.commons.rng.core.source64.XoShiRo256StarStar
-
Use the current state to compute the next output from the generator.
- nextOutput() - Method in class org.apache.commons.rng.core.source64.XoShiRo512Plus
-
Use the current state to compute the next output from the generator.
- nextOutput() - Method in class org.apache.commons.rng.core.source64.XoShiRo512PlusPlus
-
Use the current state to compute the next output from the generator.
- nextOutput() - Method in class org.apache.commons.rng.core.source64.XoShiRo512StarStar
-
Use the current state to compute the next output from the generator.
- nextVector() - Method in class org.apache.commons.rng.sampling.UnitSphereSampler
-
Deprecated.
- NormalizedGaussianSampler - Interface in org.apache.commons.rng.sampling.distribution
-
Marker interface for a sampler that generates values from an N(0,1) Gaussian distribution.
- NumberFactory - Class in org.apache.commons.rng.core.util
-
Utility for creating number types from one or two
int
values or onelong
value, or a sequence of bytes. - numberOfSubcycleGenerators() - Static method in class org.apache.commons.rng.core.source64.TwoCmres
-
Get the number of subcycle generators.
O
- ObjectSampler<T> - Interface in org.apache.commons.rng.sampling
-
Sampler that generates values of a specified type.
- of(NormalizedGaussianSampler, double, double) - Static method in class org.apache.commons.rng.sampling.distribution.GaussianSampler
-
Create a new normalised Gaussian sampler.
- of(NormalizedGaussianSampler, double, double) - Static method in class org.apache.commons.rng.sampling.distribution.LogNormalSampler
-
Create a new log-normal distribution sampler.
- of(UniformRandomProvider) - Static method in class org.apache.commons.rng.sampling.distribution.BoxMullerNormalizedGaussianSampler
-
Create a new normalised Gaussian sampler.
- of(UniformRandomProvider) - Static method in class org.apache.commons.rng.sampling.distribution.MarsagliaNormalizedGaussianSampler
-
Create a new normalised Gaussian sampler.
- of(UniformRandomProvider) - Static method in class org.apache.commons.rng.sampling.distribution.ZigguratNormalizedGaussianSampler
-
Create a new normalised Gaussian sampler.
- of(UniformRandomProvider) - Static method in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.Exponential
-
Create a new exponential sampler with
mean = 1
. - of(UniformRandomProvider) - Static method in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.NormalizedGaussian
-
Create a new normalised Gaussian sampler.
- of(UniformRandomProvider, double) - Static method in class org.apache.commons.rng.sampling.distribution.AhrensDieterExponentialSampler
-
Create a new exponential distribution sampler.
- of(UniformRandomProvider, double) - Static method in class org.apache.commons.rng.sampling.distribution.GeometricSampler
-
Creates a new geometric distribution sampler.
- of(UniformRandomProvider, double) - Static method in class org.apache.commons.rng.sampling.distribution.KempSmallMeanPoissonSampler
-
Creates a new sampler for the Poisson distribution.
- of(UniformRandomProvider, double) - Static method in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
-
Creates a new Poisson distribution sampler.
- of(UniformRandomProvider, double) - Static method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Poisson
-
Creates a sampler for the Poisson distribution.
- of(UniformRandomProvider, double) - Static method in class org.apache.commons.rng.sampling.distribution.PoissonSampler
-
Creates a new Poisson distribution sampler.
- of(UniformRandomProvider, double) - Static method in class org.apache.commons.rng.sampling.distribution.SmallMeanPoissonSampler
-
Creates a new sampler for the Poisson distribution.
- of(UniformRandomProvider, double) - Static method in class org.apache.commons.rng.sampling.distribution.TSampler
-
Create a new t distribution sampler.
- of(UniformRandomProvider, double) - Static method in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.Exponential
-
Create a new exponential sampler with the specified
mean
. - of(UniformRandomProvider, double[]) - Static method in class org.apache.commons.rng.sampling.distribution.AliasMethodDiscreteSampler
-
Creates a sampler.
- of(UniformRandomProvider, double...) - Static method in class org.apache.commons.rng.sampling.distribution.DirichletSampler
-
Creates a new Dirichlet distribution sampler.
- of(UniformRandomProvider, double[]) - Static method in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler
-
Creates a sampler.
- of(UniformRandomProvider, double[]) - Static method in class org.apache.commons.rng.sampling.distribution.GuideTableDiscreteSampler
-
Create a new sampler for an enumerated distribution using the given
probabilities
. - of(UniformRandomProvider, double[]) - Static method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Enumerated
-
Creates a sampler for an enumerated distribution of
n
values each with an associated probability. - of(UniformRandomProvider, double[], double) - Static method in class org.apache.commons.rng.sampling.distribution.GuideTableDiscreteSampler
-
Create a new sampler for an enumerated distribution using the given
probabilities
. - of(UniformRandomProvider, double[], double[]) - Static method in class org.apache.commons.rng.sampling.shape.BoxSampler
-
Create a box sampler with bounds
a
andb
. - of(UniformRandomProvider, double[], double[]) - Static method in class org.apache.commons.rng.sampling.shape.LineSampler
-
Create a line sampler with vertices
a
andb
. - of(UniformRandomProvider, double[], double[], double[]) - Static method in class org.apache.commons.rng.sampling.shape.TriangleSampler
-
Create a triangle sampler with vertices
a
,b
andc
. - of(UniformRandomProvider, double[], double[], double[], double[]) - Static method in class org.apache.commons.rng.sampling.shape.TetrahedronSampler
-
Create a tetrahedron sampler with vertices
a
,b
,c
andd
. - of(UniformRandomProvider, double[], int) - Static method in class org.apache.commons.rng.sampling.distribution.AliasMethodDiscreteSampler
-
Creates a sampler.
- of(UniformRandomProvider, double[], int) - Static method in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler
-
Creates a sampler.
- of(UniformRandomProvider, double, double) - Static method in class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler
-
Creates a new gamma distribution sampler.
- of(UniformRandomProvider, double, double) - Static method in class org.apache.commons.rng.sampling.distribution.ChengBetaSampler
-
Creates a new beta distribution sampler.
- of(UniformRandomProvider, double, double) - Static method in class org.apache.commons.rng.sampling.distribution.ContinuousUniformSampler
-
Creates a new continuous uniform distribution sampler.
- of(UniformRandomProvider, double, double) - Static method in class org.apache.commons.rng.sampling.distribution.InverseTransformParetoSampler
-
Creates a new Pareto distribution sampler.
- of(UniformRandomProvider, double, double) - Static method in class org.apache.commons.rng.sampling.distribution.LevySampler
-
Create a new Lévy distribution sampler.
- of(UniformRandomProvider, double, double) - Static method in class org.apache.commons.rng.sampling.distribution.StableSampler
-
Creates a standardized sampler of a stable distribution with zero location and unit scale.
- of(UniformRandomProvider, double, double, boolean) - Static method in class org.apache.commons.rng.sampling.distribution.ContinuousUniformSampler
-
Creates a new continuous uniform distribution sampler.
- of(UniformRandomProvider, double, double, double, double) - Static method in class org.apache.commons.rng.sampling.distribution.StableSampler
-
Creates a sampler of a stable distribution.
- of(UniformRandomProvider, int) - Static method in class org.apache.commons.rng.sampling.shape.UnitBallSampler
-
Create a unit n-ball sampler for the given dimension.
- of(UniformRandomProvider, int) - Static method in class org.apache.commons.rng.sampling.UnitSphereSampler
-
Create a unit sphere sampler for the given dimension.
- of(UniformRandomProvider, int, double) - Static method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Binomial
-
Creates a sampler for the Binomial distribution.
- of(UniformRandomProvider, int, double) - Static method in class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler
-
Creates a new Zipf distribution sampler.
- of(UniformRandomProvider, int, int) - Static method in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler
-
Creates a new discrete uniform distribution sampler.
- of(UniformRandomProvider, long[]) - Static method in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler
-
Creates a sampler.
- of(UniformRandomProvider, long, long) - Static method in class org.apache.commons.rng.sampling.distribution.UniformLongSampler
-
Creates a new discrete uniform distribution sampler.
- of(UniformRandomProvider, ContinuousInverseCumulativeProbabilityFunction) - Static method in class org.apache.commons.rng.sampling.distribution.InverseTransformContinuousSampler
-
Create a new inverse-transform continuous sampler.
- of(UniformRandomProvider, DiscreteInverseCumulativeProbabilityFunction) - Static method in class org.apache.commons.rng.sampling.distribution.InverseTransformDiscreteSampler
-
Create a new inverse-transform discrete sampler.
- org.apache.commons.rng - package org.apache.commons.rng
-
This package contains the library's interface to be used by client code that needs a generator of sequences of pseudo-random numbers that are uniformly distributed in a specified range.
- org.apache.commons.rng.core - package org.apache.commons.rng.core
-
Base classes for the
generation of uniformly distributed random numbers
. - org.apache.commons.rng.core.source32 - package org.apache.commons.rng.core.source32
-
Concrete algorithms for
int
-based sources of randomness. - org.apache.commons.rng.core.source64 - package org.apache.commons.rng.core.source64
-
Concrete algorithms for
long
-based sources of randomness. - org.apache.commons.rng.core.util - package org.apache.commons.rng.core.util
-
This package contains utilities to combine/split primitive types.
- org.apache.commons.rng.sampling - package org.apache.commons.rng.sampling
-
This package provides sampling utilities.
- org.apache.commons.rng.sampling.distribution - package org.apache.commons.rng.sampling.distribution
-
This package contains classes for sampling from statistical distributions.
- org.apache.commons.rng.sampling.shape - package org.apache.commons.rng.sampling.shape
-
This package contains classes for sampling coordinates from shapes, for example a unit ball.
- org.apache.commons.rng.simple - package org.apache.commons.rng.simple
-
This package provides
factory methods
by which low-level classes implemented in module "commons-rng-core" are instantiated.
P
- PCG_MCG_XSH_RR_32 - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
PcgMcgXshRr32
. - PCG_MCG_XSH_RS_32 - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
PcgMcgXshRs32
. - PCG_RXS_M_XS_64 - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
PcgRxsMXs64
. - PCG_RXS_M_XS_64_OS - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
PcgRxsMXs64
. - PCG_XSH_RR_32 - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
PcgXshRr32
. - PCG_XSH_RR_32_OS - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
PcgXshRr32
. - PCG_XSH_RS_32 - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
PcgXshRs32
. - PCG_XSH_RS_32_OS - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
PcgXshRs32
. - PcgMcgXshRr32 - Class in org.apache.commons.rng.core.source32
-
A Permuted Congruential Generator (PCG) that is composed of a 64-bit Multiplicative Congruential Generator (MCG) combined with the XSH-RR (xorshift; random rotate) output transformation to create 32-bit output.
- PcgMcgXshRr32(Long) - Constructor for class org.apache.commons.rng.core.source32.PcgMcgXshRr32
-
Creates a new instance.
- PcgMcgXshRs32 - Class in org.apache.commons.rng.core.source32
-
A Permuted Congruential Generator (PCG) that is composed of a 64-bit Multiplicative Congruential Generator (MCG) combined with the XSH-RS (xorshift; random shift) output transformation to create 32-bit output.
- PcgMcgXshRs32(Long) - Constructor for class org.apache.commons.rng.core.source32.PcgMcgXshRs32
-
Creates a new instance.
- PcgRxsMXs64 - Class in org.apache.commons.rng.core.source64
-
A Permuted Congruential Generator (PCG) that is composed of a 64-bit Linear Congruential Generator (LCG) combined with the RXS-M-XS (random xorshift; multiply; xorshift) output transformation to create 64-bit output.
- PcgRxsMXs64(long[]) - Constructor for class org.apache.commons.rng.core.source64.PcgRxsMXs64
-
Creates a new instance.
- PcgRxsMXs64(Long) - Constructor for class org.apache.commons.rng.core.source64.PcgRxsMXs64
-
Creates a new instance using a default increment.
- PcgXshRr32 - Class in org.apache.commons.rng.core.source32
-
A Permuted Congruential Generator (PCG) that is composed of a 64-bit Linear Congruential Generator (LCG) combined with the XSH-RR (xorshift; random rotate) output transformation to create 32-bit output.
- PcgXshRr32(long[]) - Constructor for class org.apache.commons.rng.core.source32.PcgXshRr32
-
Creates a new instance.
- PcgXshRr32(Long) - Constructor for class org.apache.commons.rng.core.source32.PcgXshRr32
-
Creates a new instance using a default increment.
- PcgXshRs32 - Class in org.apache.commons.rng.core.source32
-
A Permuted Congruential Generator (PCG) that is composed of a 64-bit Linear Congruential Generator (LCG) combined with the XSH-RS (xorshift; random shift) output transformation to create 32-bit output.
- PcgXshRs32(long[]) - Constructor for class org.apache.commons.rng.core.source32.PcgXshRs32
-
Creates a new instance.
- PcgXshRs32(Long) - Constructor for class org.apache.commons.rng.core.source32.PcgXshRs32
-
Creates a new instance using a default increment.
- PermutationSampler - Class in org.apache.commons.rng.sampling
-
Class for representing permutations of a sequence of integers.
- PermutationSampler(UniformRandomProvider, int, int) - Constructor for class org.apache.commons.rng.sampling.PermutationSampler
-
Creates a generator of permutations.
- PoissonSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampler for the Poisson distribution.
- PoissonSampler(UniformRandomProvider, double) - Constructor for class org.apache.commons.rng.sampling.distribution.PoissonSampler
-
This instance delegates sampling.
- PoissonSamplerCache - Class in org.apache.commons.rng.sampling.distribution
-
Create a sampler for the Poisson distribution using a cache to minimise construction cost.
- PoissonSamplerCache(double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.PoissonSamplerCache
-
Create an instance.
- probability - Variable in class org.apache.commons.rng.sampling.distribution.AliasMethodDiscreteSampler
-
The probability table.
R
- RandomIntSource - Interface in org.apache.commons.rng.core.source32
-
Source of randomness that generates values of type
int
. - RandomLongSource - Interface in org.apache.commons.rng.core.source64
-
Source of randomness that generates values of type
long
. - RandomProviderDefaultState - Class in org.apache.commons.rng.core
-
Wraps the internal state of a generator instance.
- RandomProviderDefaultState(byte[]) - Constructor for class org.apache.commons.rng.core.RandomProviderDefaultState
-
Initializes an instance.
- RandomProviderState - Interface in org.apache.commons.rng
-
Marker interface for objects that represents the state of a random generator.
- RandomSource - Enum in org.apache.commons.rng.simple
-
This class provides the API for creating generators of random numbers.
- RandomStreams - Class in org.apache.commons.rng.core.util
-
Utility for creating streams using a source of randomness.
- RandomStreams.SeededObjectFactory<T> - Interface in org.apache.commons.rng.core.util
-
A factory for creating objects using a seed and a using a source of randomness.
- RejectionInversionZipfSampler - Class in org.apache.commons.rng.sampling.distribution
-
Implementation of the Zipf distribution.
- RejectionInversionZipfSampler(UniformRandomProvider, int, double) - Constructor for class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler
-
This instance delegates sampling.
- resetCachedState() - Method in class org.apache.commons.rng.core.source32.IntProvider
-
Reset the cached state used in the default implementation of
IntProvider.nextBoolean()
. - resetCachedState() - Method in class org.apache.commons.rng.core.source64.LongProvider
-
Reset the cached state used in the default implementation of
LongProvider.nextBoolean()
andLongProvider.nextInt()
. - RestorableUniformRandomProvider - Interface in org.apache.commons.rng
-
Applies to generators whose internal state can be saved and restored.
- restoreState(RandomProviderState) - Method in class org.apache.commons.rng.core.BaseProvider
-
Restores the state of a generator.
- restoreState(RandomProviderState) - Method in interface org.apache.commons.rng.RestorableUniformRandomProvider
-
Restores the state of a generator.
- rng - Variable in class org.apache.commons.rng.sampling.distribution.AliasMethodDiscreteSampler
-
Underlying source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.distribution.UniformLongSampler
-
Underlying source of randomness.
S
- sample() - Method in class org.apache.commons.rng.sampling.CollectionSampler
-
Picks one of the items from the
collection passed to the constructor
. - sample() - Method in class org.apache.commons.rng.sampling.CombinationSampler
-
Return a combination of
k
whose entries are selected randomly, without repetition, from the integers 0, 1, ...,n
-1 (inclusive). - sample() - Method in class org.apache.commons.rng.sampling.DiscreteProbabilityCollectionSampler
-
Picks one of the items from the collection passed to the constructor.
- sample() - Method in class org.apache.commons.rng.sampling.distribution.AhrensDieterExponentialSampler
-
Creates a
double
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler
-
Creates a
double
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.AliasMethodDiscreteSampler
-
Creates an
int
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.BoxMullerGaussianSampler
-
Deprecated.Creates a
double
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.BoxMullerLogNormalSampler
-
Deprecated.Creates a
double
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.BoxMullerNormalizedGaussianSampler
-
Creates a
double
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.ChengBetaSampler
-
Creates a
double
sample. - sample() - Method in interface org.apache.commons.rng.sampling.distribution.ContinuousSampler
-
Creates a
double
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.ContinuousUniformSampler
-
Creates a
double
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.DirichletSampler
-
Create an object sample.
- sample() - Method in interface org.apache.commons.rng.sampling.distribution.DiscreteSampler
-
Creates an
int
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler
-
Creates an
int
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.GaussianSampler
-
Creates a
double
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.GuideTableDiscreteSampler
-
Creates an
int
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.InverseTransformContinuousSampler
-
Creates a
double
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.InverseTransformDiscreteSampler
-
Creates an
int
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.InverseTransformParetoSampler
-
Creates a
double
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.KempSmallMeanPoissonSampler
-
Creates an
int
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
-
Creates an
int
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.LevySampler
-
Creates a
double
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.LogNormalSampler
-
Creates a
double
sample. - sample() - Method in interface org.apache.commons.rng.sampling.distribution.LongSampler
-
Creates a
long
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.MarsagliaNormalizedGaussianSampler
-
Creates a
double
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.PoissonSampler
-
Creates an
int
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler
-
Rejection inversion sampling method for a discrete, bounded Zipf distribution that is based on the method described in Wolfgang Hörmann and Gerhard Derflinger.
- sample() - Method in class org.apache.commons.rng.sampling.distribution.SmallMeanPoissonSampler
-
Creates an
int
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.StableSampler
-
Generate a sample from a stable distribution.
- sample() - Method in class org.apache.commons.rng.sampling.distribution.ZigguratNormalizedGaussianSampler
-
Creates a
double
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.Exponential
-
Creates a
double
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.NormalizedGaussian
-
Creates a
double
sample. - sample() - Method in interface org.apache.commons.rng.sampling.ObjectSampler
-
Create an object sample.
- sample() - Method in class org.apache.commons.rng.sampling.PermutationSampler
- sample() - Method in class org.apache.commons.rng.sampling.shape.BoxSampler
- sample() - Method in class org.apache.commons.rng.sampling.shape.LineSampler
- sample() - Method in class org.apache.commons.rng.sampling.shape.TetrahedronSampler
- sample() - Method in class org.apache.commons.rng.sampling.shape.TriangleSampler
- sample() - Method in class org.apache.commons.rng.sampling.shape.UnitBallSampler
- sample() - Method in class org.apache.commons.rng.sampling.UnitSphereSampler
- sample(UniformRandomProvider, List<T>, int) - Static method in class org.apache.commons.rng.sampling.ListSampler
-
Generates a list of size
k
whose entries are selected randomly, without repetition, from the items in the givencollection
. - SamplerBase - Class in org.apache.commons.rng.sampling.distribution
-
Deprecated.Since version 1.1. Class intended for internal use only.
- SamplerBase(UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.distribution.SamplerBase
-
Deprecated.Create an instance.
- samples() - Method in interface org.apache.commons.rng.sampling.distribution.ContinuousSampler
-
Returns an effectively unlimited stream of
double
sample values. - samples() - Method in interface org.apache.commons.rng.sampling.distribution.DiscreteSampler
-
Returns an effectively unlimited stream of
int
sample values. - samples() - Method in interface org.apache.commons.rng.sampling.distribution.LongSampler
-
Returns an effectively unlimited stream of
long
sample values. - samples() - Method in interface org.apache.commons.rng.sampling.ObjectSampler
-
Returns an effectively unlimited stream of object sample values.
- samples(long) - Method in interface org.apache.commons.rng.sampling.distribution.ContinuousSampler
-
Returns a stream producing the given
streamSize
number ofdouble
sample values. - samples(long) - Method in interface org.apache.commons.rng.sampling.distribution.DiscreteSampler
-
Returns a stream producing the given
streamSize
number ofint
sample values. - samples(long) - Method in interface org.apache.commons.rng.sampling.distribution.LongSampler
-
Returns a stream producing the given
streamSize
number oflong
sample values. - samples(long) - Method in interface org.apache.commons.rng.sampling.ObjectSampler
-
Returns a stream producing the given
streamSize
number of object sample values. - saveState() - Method in class org.apache.commons.rng.core.BaseProvider
-
Saves the state of a generator.
- saveState() - Method in interface org.apache.commons.rng.RestorableUniformRandomProvider
-
Saves the state of a generator.
- setFactory(CompositeSamplers.DiscreteProbabilitySamplerFactory) - Method in interface org.apache.commons.rng.sampling.CompositeSamplers.Builder
-
Sets the factory to use to generate the composite's discrete sampler from the sampler weights.
- setSeed(long) - Method in class org.apache.commons.rng.simple.JDKRandomBridge
- setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.BaseProvider
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source32.AbstractWell
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source32.DotyHumphreySmallFastCounting32
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source32.IntProvider
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source32.ISAACRandom
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source32.JDKRandom
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source32.JenkinsSmallFast32
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source32.KISSRandom
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source32.L32X64Mix
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source32.MersenneTwister
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source32.MiddleSquareWeylSequence
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source32.MultiplyWithCarry256
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.DotyHumphreySmallFastCounting64
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.JenkinsSmallFast64
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.L128X1024Mix
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.L128X128Mix
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.L128X256Mix
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.L64X1024Mix
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.L64X256Mix
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.LongProvider
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.MersenneTwister64
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.PcgRxsMXs64
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.SplitMix64
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.TwoCmres
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.XorShift1024Star
-
Resets the RNG to the given
state
. - SFC_32 - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
DotyHumphreySmallFastCounting32
. - SFC_64 - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
DotyHumphreySmallFastCounting64
. - SharedStateContinuousSampler - Interface in org.apache.commons.rng.sampling.distribution
-
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 - Interface in org.apache.commons.rng.sampling.distribution
-
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 - Interface in org.apache.commons.rng.sampling.distribution
-
Sampler that generates values of type
long
and can create new instances to sample from the same state with a given source of randomness. - SharedStateObjectSampler<T> - Interface in org.apache.commons.rng.sampling
-
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.
- SharedStateSampler<R> - Interface in org.apache.commons.rng.sampling
-
Applies to samplers that can share state between instances.
- shuffle(UniformRandomProvider, boolean[]) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array.
- shuffle(UniformRandomProvider, boolean[], int, int) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array in the range
[from, to)
. - shuffle(UniformRandomProvider, byte[]) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array.
- shuffle(UniformRandomProvider, byte[], int, int) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array in the range
[from, to)
. - shuffle(UniformRandomProvider, char[]) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array.
- shuffle(UniformRandomProvider, char[], int, int) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array in the range
[from, to)
. - shuffle(UniformRandomProvider, double[]) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array.
- shuffle(UniformRandomProvider, double[], int, int) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array in the range
[from, to)
. - shuffle(UniformRandomProvider, float[]) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array.
- shuffle(UniformRandomProvider, float[], int, int) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array in the range
[from, to)
. - shuffle(UniformRandomProvider, int[]) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array.
- shuffle(UniformRandomProvider, int[]) - Static method in class org.apache.commons.rng.sampling.PermutationSampler
-
Shuffles the entries of the given array.
- shuffle(UniformRandomProvider, int[], int, boolean) - Static method in class org.apache.commons.rng.sampling.PermutationSampler
-
Shuffles the entries of the given array, using the Fisher-Yates algorithm.
- shuffle(UniformRandomProvider, int[], int, int) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array in the range
[from, to)
. - shuffle(UniformRandomProvider, long[]) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array.
- shuffle(UniformRandomProvider, long[], int, int) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array in the range
[from, to)
. - shuffle(UniformRandomProvider, short[]) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array.
- shuffle(UniformRandomProvider, short[], int, int) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array in the range
[from, to)
. - shuffle(UniformRandomProvider, List<T>) - Static method in class org.apache.commons.rng.sampling.ListSampler
-
Shuffles the entries of the given array, using the Fisher-Yates algorithm.
- shuffle(UniformRandomProvider, List<T>, int, boolean) - Static method in class org.apache.commons.rng.sampling.ListSampler
-
Shuffles the entries of the given array, using the Fisher-Yates algorithm.
- shuffle(UniformRandomProvider, T[]) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array.
- shuffle(UniformRandomProvider, T[], int, int) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array in the range
[from, to)
. - size() - Method in interface org.apache.commons.rng.sampling.CompositeSamplers.Builder
-
Return the number of samplers in the composite.
- SmallMeanPoissonSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampler for the Poisson distribution.
- SmallMeanPoissonSampler(UniformRandomProvider, double) - Constructor for class org.apache.commons.rng.sampling.distribution.SmallMeanPoissonSampler
-
Create an instance.
- split() - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
-
Creates a new random generator, split off from this one, that implements the
SplittableUniformRandomProvider
interface. - split(UniformRandomProvider) - Method in class org.apache.commons.rng.core.source32.L32X64Mix
-
Creates a new random generator, split off from this one, that implements the
SplittableUniformRandomProvider
interface. - split(UniformRandomProvider) - Method in class org.apache.commons.rng.core.source64.L128X1024Mix
-
Creates a new random generator, split off from this one, that implements the
SplittableUniformRandomProvider
interface. - split(UniformRandomProvider) - Method in class org.apache.commons.rng.core.source64.L128X128Mix
-
Creates a new random generator, split off from this one, that implements the
SplittableUniformRandomProvider
interface. - split(UniformRandomProvider) - Method in class org.apache.commons.rng.core.source64.L128X256Mix
-
Creates a new random generator, split off from this one, that implements the
SplittableUniformRandomProvider
interface. - split(UniformRandomProvider) - Method in class org.apache.commons.rng.core.source64.L64X1024Mix
-
Creates a new random generator, split off from this one, that implements the
SplittableUniformRandomProvider
interface. - split(UniformRandomProvider) - Method in class org.apache.commons.rng.core.source64.L64X128Mix
-
Creates a new random generator, split off from this one, that implements the
SplittableUniformRandomProvider
interface. - split(UniformRandomProvider) - Method in class org.apache.commons.rng.core.source64.L64X128StarStar
-
Creates a new random generator, split off from this one, that implements the
SplittableUniformRandomProvider
interface. - split(UniformRandomProvider) - Method in class org.apache.commons.rng.core.source64.L64X256Mix
-
Creates a new random generator, split off from this one, that implements the
SplittableUniformRandomProvider
interface. - split(UniformRandomProvider) - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
-
Creates a new random generator, split off from this one, that implements the
SplittableUniformRandomProvider
interface. - SPLIT_MIX_64 - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
SplitMix64
. - SplitMix64 - Class in org.apache.commons.rng.core.source64
-
A fast RNG, with 64 bits of state, that can be used to initialize the state of other generators.
- SplitMix64(long) - Constructor for class org.apache.commons.rng.core.source64.SplitMix64
-
Creates a new instance.
- SplitMix64(Long) - Constructor for class org.apache.commons.rng.core.source64.SplitMix64
-
Creates a new instance.
- splits() - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
-
Returns an effectively unlimited stream of new random generators, each of which implements the
SplittableUniformRandomProvider
interface. - splits(long) - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
-
Returns a stream producing the given
streamSize
number of new random generators, each of which implements theSplittableUniformRandomProvider
interface. - splits(long, SplittableUniformRandomProvider) - Method in class org.apache.commons.rng.core.source32.L32X64Mix
-
Returns a stream producing the given
streamSize
number of new random generators, each of which implements theSplittableUniformRandomProvider
interface. - splits(long, SplittableUniformRandomProvider) - Method in class org.apache.commons.rng.core.source64.L128X1024Mix
-
Returns a stream producing the given
streamSize
number of new random generators, each of which implements theSplittableUniformRandomProvider
interface. - splits(long, SplittableUniformRandomProvider) - Method in class org.apache.commons.rng.core.source64.L128X128Mix
-
Returns a stream producing the given
streamSize
number of new random generators, each of which implements theSplittableUniformRandomProvider
interface. - splits(long, SplittableUniformRandomProvider) - Method in class org.apache.commons.rng.core.source64.L128X256Mix
-
Returns a stream producing the given
streamSize
number of new random generators, each of which implements theSplittableUniformRandomProvider
interface. - splits(long, SplittableUniformRandomProvider) - Method in class org.apache.commons.rng.core.source64.L64X1024Mix
-
Returns a stream producing the given
streamSize
number of new random generators, each of which implements theSplittableUniformRandomProvider
interface. - splits(long, SplittableUniformRandomProvider) - Method in class org.apache.commons.rng.core.source64.L64X128Mix
-
Returns a stream producing the given
streamSize
number of new random generators, each of which implements theSplittableUniformRandomProvider
interface. - splits(long, SplittableUniformRandomProvider) - Method in class org.apache.commons.rng.core.source64.L64X128StarStar
-
Returns a stream producing the given
streamSize
number of new random generators, each of which implements theSplittableUniformRandomProvider
interface. - splits(long, SplittableUniformRandomProvider) - Method in class org.apache.commons.rng.core.source64.L64X256Mix
-
Returns a stream producing the given
streamSize
number of new random generators, each of which implements theSplittableUniformRandomProvider
interface. - splits(long, SplittableUniformRandomProvider) - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
-
Returns a stream producing the given
streamSize
number of new random generators, each of which implements theSplittableUniformRandomProvider
interface. - splits(SplittableUniformRandomProvider) - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
-
Returns an effectively unlimited stream of new random generators, each of which implements the
SplittableUniformRandomProvider
interface. - splitStateInternal(byte[], int) - Method in class org.apache.commons.rng.core.BaseProvider
-
Splits the given
state
into a part to be consumed by the caller in order to restore its local state, while the reminder is passed to the parent class. - SplittableUniformRandomProvider - Interface in org.apache.commons.rng
-
Applies to generators that can be split into two objects (the original and a new instance) each of which implements the same interface (and can be recursively split indefinitely).
- StableSampler - Class in org.apache.commons.rng.sampling.distribution
-
Samples from a stable distribution.
- symmetric(UniformRandomProvider, int, double) - Static method in class org.apache.commons.rng.sampling.distribution.DirichletSampler
-
Creates a new symmetric Dirichlet distribution sampler using the same concentration parameter for each category.
T
- TetrahedronSampler - Class in org.apache.commons.rng.sampling.shape
-
Generate points uniformly distributed within a tetrahedron.
- ThreadLocalRandomSource - Class in org.apache.commons.rng.simple
-
This class provides a thread-local
UniformRandomProvider
. - toString() - Method in class org.apache.commons.rng.core.BaseProvider
- toString() - Method in class org.apache.commons.rng.core.source64.TwoCmres
- toString() - Method in class org.apache.commons.rng.sampling.distribution.AhrensDieterExponentialSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.AliasMethodDiscreteSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.BoxMullerGaussianSampler
-
Deprecated.
- toString() - Method in class org.apache.commons.rng.sampling.distribution.BoxMullerLogNormalSampler
-
Deprecated.
- toString() - Method in class org.apache.commons.rng.sampling.distribution.BoxMullerNormalizedGaussianSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.ChengBetaSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.ContinuousUniformSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.DirichletSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.GaussianSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.GuideTableDiscreteSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.InverseTransformContinuousSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.InverseTransformDiscreteSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.InverseTransformParetoSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.KempSmallMeanPoissonSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.LevySampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.LogNormalSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.MarsagliaNormalizedGaussianSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.PoissonSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.SamplerBase
-
Deprecated.
- toString() - Method in class org.apache.commons.rng.sampling.distribution.SmallMeanPoissonSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.StableSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.TSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.UniformLongSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.ZigguratNormalizedGaussianSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.Exponential
- toString() - Method in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.NormalizedGaussian
- transform(long) - Method in class org.apache.commons.rng.core.source32.PcgMcgXshRr32
-
Transform the 64-bit state of the generator to a 32-bit output.
- transform(long) - Method in class org.apache.commons.rng.core.source32.PcgMcgXshRs32
-
Transform the 64-bit state of the generator to a 32-bit output.
- transform(long) - Method in class org.apache.commons.rng.core.source32.PcgXshRr32
-
Transform the 64-bit state of the generator to a 32-bit output.
- transform(long) - Method in class org.apache.commons.rng.core.source32.PcgXshRs32
-
Transform the 64-bit state of the generator to a 32-bit output.
- transform(long, long) - Method in class org.apache.commons.rng.core.source64.XoRoShiRo1024PlusPlus
-
Transform the two consecutive 64-bit states of the generator to a 64-bit output.
- transform(long, long) - Method in class org.apache.commons.rng.core.source64.XoRoShiRo1024Star
-
Transform the two consecutive 64-bit states of the generator to a 64-bit output.
- transform(long, long) - Method in class org.apache.commons.rng.core.source64.XoRoShiRo1024StarStar
-
Transform the two consecutive 64-bit states of the generator to a 64-bit output.
- TriangleSampler - Class in org.apache.commons.rng.sampling.shape
-
Generate points uniformly distributed within a triangle.
- TSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampling from a T distribution.
- TWO_CMRES - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
TwoCmres
. - TWO_CMRES_SELECT - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
TwoCmres
, with explicit selection of the two subcycle generators. - TwoCmres - Class in org.apache.commons.rng.core.source64
-
Random number generator designed by Mark D. Overton.
- TwoCmres(Integer) - Constructor for class org.apache.commons.rng.core.source64.TwoCmres
-
Creates a new instance.
- TwoCmres(Integer, int, int) - Constructor for class org.apache.commons.rng.core.source64.TwoCmres
-
Creates a new instance.
U
- UniformLongSampler - Class in org.apache.commons.rng.sampling.distribution
-
Discrete uniform distribution sampler generating values of type
long
. - UniformRandomProvider - Interface in org.apache.commons.rng
-
Applies to generators of random number sequences that follow a uniform distribution.
- UnitBallSampler - Class in org.apache.commons.rng.sampling.shape
-
Generate coordinates uniformly distributed within the unit n-ball.
- UnitBallSampler() - Constructor for class org.apache.commons.rng.sampling.shape.UnitBallSampler
-
Create an instance.
- UnitSphereSampler - Class in org.apache.commons.rng.sampling
-
Generate vectors isotropically located on the surface of a sphere.
- UnitSphereSampler(int, UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.UnitSphereSampler
-
Deprecated.
- unrestorable(UniformRandomProvider) - Static method in enum org.apache.commons.rng.simple.RandomSource
-
Wraps the given
delegate
generator in a new instance that only provides access to theUniformRandomProvider
methods.
V
- v - Variable in class org.apache.commons.rng.core.source32.AbstractWell
-
Bytes pool.
- valueOf(String) - Static method in enum org.apache.commons.rng.sampling.CompositeSamplers.DiscreteProbabilitySampler
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.rng.simple.RandomSource
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.apache.commons.rng.sampling.CompositeSamplers.DiscreteProbabilitySampler
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.rng.simple.RandomSource
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WELL_1024_A - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
Well1024a
. - WELL_19937_A - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
Well19937a
. - WELL_19937_C - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
Well19937c
. - WELL_44497_A - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
Well44497a
. - WELL_44497_B - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
Well44497b
. - WELL_512_A - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
Well512a
. - Well1024a - Class in org.apache.commons.rng.core.source32
-
This class implements the WELL1024a pseudo-random number generator from François Panneton, Pierre L'Ecuyer and Makoto Matsumoto.
- Well1024a(int[]) - Constructor for class org.apache.commons.rng.core.source32.Well1024a
-
Creates a new random number generator.
- Well19937a - Class in org.apache.commons.rng.core.source32
-
This class implements the WELL19937a pseudo-random number generator from François Panneton, Pierre L'Ecuyer and Makoto Matsumoto.
- Well19937a(int[]) - Constructor for class org.apache.commons.rng.core.source32.Well19937a
-
Creates a new random number generator.
- Well19937c - Class in org.apache.commons.rng.core.source32
-
This class implements the WELL19937c pseudo-random number generator from François Panneton, Pierre L'Ecuyer and Makoto Matsumoto.
- Well19937c(int[]) - Constructor for class org.apache.commons.rng.core.source32.Well19937c
-
Creates a new random number generator.
- Well44497a - Class in org.apache.commons.rng.core.source32
-
This class implements the WELL44497a pseudo-random number generator from François Panneton, Pierre L'Ecuyer and Makoto Matsumoto.
- Well44497a(int[]) - Constructor for class org.apache.commons.rng.core.source32.Well44497a
-
Creates a new random number generator.
- Well44497b - Class in org.apache.commons.rng.core.source32
-
This class implements the WELL44497b pseudo-random number generator from François Panneton, Pierre L'Ecuyer and Makoto Matsumoto.
- Well44497b(int[]) - Constructor for class org.apache.commons.rng.core.source32.Well44497b
-
Creates a new random number generator.
- Well512a - Class in org.apache.commons.rng.core.source32
-
This class implements the WELL512a pseudo-random number generator from François Panneton, Pierre L'Ecuyer and Makoto Matsumoto.
- Well512a(int[]) - Constructor for class org.apache.commons.rng.core.source32.Well512a
-
Creates a new random number generator.
- withinRange(double) - Method in class org.apache.commons.rng.sampling.distribution.PoissonSamplerCache
-
Check if the mean is within the range where the cache can minimise the construction cost of the
PoissonSampler
. - withRange(double, double) - Method in class org.apache.commons.rng.sampling.distribution.PoissonSamplerCache
-
Create a new
PoissonSamplerCache
with the given range reusing the current cache values. - withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.CollectionSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.CombinationSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.DiscreteProbabilityCollectionSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.AhrensDieterExponentialSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.AliasMethodDiscreteSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.BoxMullerNormalizedGaussianSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.ChengBetaSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.ContinuousUniformSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.DirichletSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.GaussianSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.GuideTableDiscreteSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.InverseTransformContinuousSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.InverseTransformDiscreteSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.InverseTransformParetoSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.KempSmallMeanPoissonSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.LevySampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.LogNormalSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.MarsagliaNormalizedGaussianSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.PoissonSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.SmallMeanPoissonSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.StableSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.TSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.UniformLongSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.ZigguratNormalizedGaussianSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.Exponential
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.NormalizedGaussian
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.PermutationSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.shape.BoxSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.shape.LineSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.shape.TetrahedronSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.shape.TriangleSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.shape.UnitBallSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in interface org.apache.commons.rng.sampling.SharedStateSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.UnitSphereSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
X
- XO_RO_SHI_RO_1024_PP - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoRoShiRo1024PlusPlus
. - XO_RO_SHI_RO_1024_S - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoRoShiRo1024Star
. - XO_RO_SHI_RO_1024_SS - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoRoShiRo1024StarStar
. - XO_RO_SHI_RO_128_PLUS - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoRoShiRo128Plus
. - XO_RO_SHI_RO_128_PP - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoRoShiRo128PlusPlus
. - XO_RO_SHI_RO_128_SS - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoRoShiRo128StarStar
. - XO_RO_SHI_RO_64_S - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoRoShiRo64Star
. - XO_RO_SHI_RO_64_SS - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoRoShiRo64StarStar
. - XO_SHI_RO_128_PLUS - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoShiRo128Plus
. - XO_SHI_RO_128_PP - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoShiRo128PlusPlus
. - XO_SHI_RO_128_SS - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoShiRo128StarStar
. - XO_SHI_RO_256_PLUS - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoShiRo256Plus
. - XO_SHI_RO_256_PP - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoShiRo256PlusPlus
. - XO_SHI_RO_256_SS - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoShiRo256StarStar
. - XO_SHI_RO_512_PLUS - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoShiRo512Plus
. - XO_SHI_RO_512_PP - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoShiRo512PlusPlus
. - XO_SHI_RO_512_SS - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoShiRo512StarStar
. - XOR_SHIFT_1024_S - org.apache.commons.rng.simple.RandomSource
-
Deprecated.Since 1.3, where it is recommended to use
XOR_SHIFT_1024_S_PHI
instead due to its slightly better (more uniform) output.XOR_SHIFT_1024_S
is still quite usable but both are variants of the same algorithm and maintain their internal state identically. Their outputs are correlated and the two should not be used together when independent sequences are assumed. - XOR_SHIFT_1024_S_PHI - org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XorShift1024StarPhi
. - XoRoShiRo1024PlusPlus - Class in org.apache.commons.rng.core.source64
-
A large-state all-purpose 64-bit generator.
- XoRoShiRo1024PlusPlus(long[]) - Constructor for class org.apache.commons.rng.core.source64.XoRoShiRo1024PlusPlus
-
Creates a new instance.
- XoRoShiRo1024PlusPlus(XoRoShiRo1024PlusPlus) - Constructor for class org.apache.commons.rng.core.source64.XoRoShiRo1024PlusPlus
-
Creates a copy instance.
- XoRoShiRo1024Star - Class in org.apache.commons.rng.core.source64
-
A large-state 64-bit generator suitable for
double
generation. - XoRoShiRo1024Star(long[]) - Constructor for class org.apache.commons.rng.core.source64.XoRoShiRo1024Star
-
Creates a new instance.
- XoRoShiRo1024Star(XoRoShiRo1024Star) - Constructor for class org.apache.commons.rng.core.source64.XoRoShiRo1024Star
-
Creates a copy instance.
- XoRoShiRo1024StarStar - Class in org.apache.commons.rng.core.source64
-
A large-state all-purpose 64-bit generator.
- XoRoShiRo1024StarStar(long[]) - Constructor for class org.apache.commons.rng.core.source64.XoRoShiRo1024StarStar
-
Creates a new instance.
- XoRoShiRo1024StarStar(XoRoShiRo1024StarStar) - Constructor for class org.apache.commons.rng.core.source64.XoRoShiRo1024StarStar
-
Creates a copy instance.
- XoRoShiRo128Plus - Class in org.apache.commons.rng.core.source64
-
A fast 64-bit generator suitable for
double
generation. - XoRoShiRo128Plus(long[]) - Constructor for class org.apache.commons.rng.core.source64.XoRoShiRo128Plus
-
Creates a new instance.
- XoRoShiRo128Plus(long, long) - Constructor for class org.apache.commons.rng.core.source64.XoRoShiRo128Plus
-
Creates a new instance using a 2 element seed.
- XoRoShiRo128Plus(XoRoShiRo128Plus) - Constructor for class org.apache.commons.rng.core.source64.XoRoShiRo128Plus
-
Creates a copy instance.
- XoRoShiRo128PlusPlus - Class in org.apache.commons.rng.core.source64
-
A fast all-purpose 64-bit generator.
- XoRoShiRo128PlusPlus(long[]) - Constructor for class org.apache.commons.rng.core.source64.XoRoShiRo128PlusPlus
-
Creates a new instance.
- XoRoShiRo128PlusPlus(long, long) - Constructor for class org.apache.commons.rng.core.source64.XoRoShiRo128PlusPlus
-
Creates a new instance using a 2 element seed.
- XoRoShiRo128PlusPlus(XoRoShiRo128PlusPlus) - Constructor for class org.apache.commons.rng.core.source64.XoRoShiRo128PlusPlus
-
Creates a copy instance.
- XoRoShiRo128StarStar - Class in org.apache.commons.rng.core.source64
-
A fast all-purpose 64-bit generator.
- XoRoShiRo128StarStar(long[]) - Constructor for class org.apache.commons.rng.core.source64.XoRoShiRo128StarStar
-
Creates a new instance.
- XoRoShiRo128StarStar(long, long) - Constructor for class org.apache.commons.rng.core.source64.XoRoShiRo128StarStar
-
Creates a new instance using a 2 element seed.
- XoRoShiRo128StarStar(XoRoShiRo128StarStar) - Constructor for class org.apache.commons.rng.core.source64.XoRoShiRo128StarStar
-
Creates a copy instance.
- XoRoShiRo64Star - Class in org.apache.commons.rng.core.source32
-
A fast 32-bit generator suitable for
float
generation. - XoRoShiRo64Star(int[]) - Constructor for class org.apache.commons.rng.core.source32.XoRoShiRo64Star
-
Creates a new instance.
- XoRoShiRo64Star(int, int) - Constructor for class org.apache.commons.rng.core.source32.XoRoShiRo64Star
-
Creates a new instance using a 2 element seed.
- XoRoShiRo64StarStar - Class in org.apache.commons.rng.core.source32
-
A fast all-purpose 32-bit generator.
- XoRoShiRo64StarStar(int[]) - Constructor for class org.apache.commons.rng.core.source32.XoRoShiRo64StarStar
-
Creates a new instance.
- XoRoShiRo64StarStar(int, int) - Constructor for class org.apache.commons.rng.core.source32.XoRoShiRo64StarStar
-
Creates a new instance using a 2 element seed.
- XorShift1024Star - Class in org.apache.commons.rng.core.source64
-
A fast RNG implementing the
XorShift1024*
algorithm. - XorShift1024Star(long[]) - Constructor for class org.apache.commons.rng.core.source64.XorShift1024Star
-
Creates a new instance.
- XorShift1024Star(long[], long) - Constructor for class org.apache.commons.rng.core.source64.XorShift1024Star
-
Creates a new instance.
- XorShift1024Star(XorShift1024Star) - Constructor for class org.apache.commons.rng.core.source64.XorShift1024Star
-
Creates a copy instance.
- XorShift1024StarPhi - Class in org.apache.commons.rng.core.source64
-
A fast RNG implementing the
XorShift1024*
algorithm. - XorShift1024StarPhi(long[]) - Constructor for class org.apache.commons.rng.core.source64.XorShift1024StarPhi
-
Creates a new instance.
- XorShift1024StarPhi(XorShift1024StarPhi) - Constructor for class org.apache.commons.rng.core.source64.XorShift1024StarPhi
-
Creates a copy instance.
- XoShiRo128Plus - Class in org.apache.commons.rng.core.source32
-
A fast 32-bit generator suitable for
float
generation. - XoShiRo128Plus(int[]) - Constructor for class org.apache.commons.rng.core.source32.XoShiRo128Plus
-
Creates a new instance.
- XoShiRo128Plus(int, int, int, int) - Constructor for class org.apache.commons.rng.core.source32.XoShiRo128Plus
-
Creates a new instance using a 4 element seed.
- XoShiRo128Plus(XoShiRo128Plus) - Constructor for class org.apache.commons.rng.core.source32.XoShiRo128Plus
-
Creates a copy instance.
- XoShiRo128PlusPlus - Class in org.apache.commons.rng.core.source32
-
A fast all-purpose 32-bit generator.
- XoShiRo128PlusPlus(int[]) - Constructor for class org.apache.commons.rng.core.source32.XoShiRo128PlusPlus
-
Creates a new instance.
- XoShiRo128PlusPlus(int, int, int, int) - Constructor for class org.apache.commons.rng.core.source32.XoShiRo128PlusPlus
-
Creates a new instance using a 4 element seed.
- XoShiRo128PlusPlus(XoShiRo128PlusPlus) - Constructor for class org.apache.commons.rng.core.source32.XoShiRo128PlusPlus
-
Creates a copy instance.
- XoShiRo128StarStar - Class in org.apache.commons.rng.core.source32
-
A fast all-purpose 32-bit generator.
- XoShiRo128StarStar(int[]) - Constructor for class org.apache.commons.rng.core.source32.XoShiRo128StarStar
-
Creates a new instance.
- XoShiRo128StarStar(int, int, int, int) - Constructor for class org.apache.commons.rng.core.source32.XoShiRo128StarStar
-
Creates a new instance using a 4 element seed.
- XoShiRo128StarStar(XoShiRo128StarStar) - Constructor for class org.apache.commons.rng.core.source32.XoShiRo128StarStar
-
Creates a copy instance.
- XoShiRo256Plus - Class in org.apache.commons.rng.core.source64
-
A fast 64-bit generator suitable for
double
generation. - XoShiRo256Plus(long[]) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo256Plus
-
Creates a new instance.
- XoShiRo256Plus(long, long, long, long) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo256Plus
-
Creates a new instance using a 4 element seed.
- XoShiRo256Plus(XoShiRo256Plus) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo256Plus
-
Creates a copy instance.
- XoShiRo256PlusPlus - Class in org.apache.commons.rng.core.source64
-
A fast all-purpose 64-bit generator.
- XoShiRo256PlusPlus(long[]) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo256PlusPlus
-
Creates a new instance.
- XoShiRo256PlusPlus(long, long, long, long) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo256PlusPlus
-
Creates a new instance using a 4 element seed.
- XoShiRo256PlusPlus(XoShiRo256PlusPlus) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo256PlusPlus
-
Creates a copy instance.
- XoShiRo256StarStar - Class in org.apache.commons.rng.core.source64
-
A fast all-purpose 64-bit generator.
- XoShiRo256StarStar(long[]) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo256StarStar
-
Creates a new instance.
- XoShiRo256StarStar(long, long, long, long) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo256StarStar
-
Creates a new instance using a 4 element seed.
- XoShiRo256StarStar(XoShiRo256StarStar) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo256StarStar
-
Creates a copy instance.
- XoShiRo512Plus - Class in org.apache.commons.rng.core.source64
-
A fast 64-bit generator suitable for
double
generation. - XoShiRo512Plus(long[]) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo512Plus
-
Creates a new instance.
- XoShiRo512Plus(long, long, long, long, long, long, long, long) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo512Plus
-
Creates a new instance using an 8 element seed.
- XoShiRo512Plus(XoShiRo512Plus) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo512Plus
-
Creates a copy instance.
- XoShiRo512PlusPlus - Class in org.apache.commons.rng.core.source64
-
A fast all-purpose generator.
- XoShiRo512PlusPlus(long[]) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo512PlusPlus
-
Creates a new instance.
- XoShiRo512PlusPlus(long, long, long, long, long, long, long, long) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo512PlusPlus
-
Creates a new instance using an 8 element seed.
- XoShiRo512PlusPlus(XoShiRo512PlusPlus) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo512PlusPlus
-
Creates a copy instance.
- XoShiRo512StarStar - Class in org.apache.commons.rng.core.source64
-
A fast all-purpose generator.
- XoShiRo512StarStar(long[]) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo512StarStar
-
Creates a new instance.
- XoShiRo512StarStar(long, long, long, long, long, long, long, long) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo512StarStar
-
Creates a new instance using an 8 element seed.
- XoShiRo512StarStar(XoShiRo512StarStar) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo512StarStar
-
Creates a copy instance.
Z
- ZigguratNormalizedGaussianSampler - Class in org.apache.commons.rng.sampling.distribution
-
Marsaglia and Tsang "Ziggurat" method for sampling from a Gaussian distribution with mean 0 and standard deviation 1.
- ZigguratNormalizedGaussianSampler(UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.distribution.ZigguratNormalizedGaussianSampler
-
Create an instance.
- ZigguratSampler - Class in org.apache.commons.rng.sampling.distribution
-
Modified ziggurat method for sampling from Gaussian and exponential distributions.
- ZigguratSampler.Exponential - Class in org.apache.commons.rng.sampling.distribution
-
Modified ziggurat method for sampling from an exponential distribution.
- ZigguratSampler.NormalizedGaussian - Class in org.apache.commons.rng.sampling.distribution
-
Modified ziggurat method for sampling from a Gaussian distribution with mean 0 and standard deviation 1.
All Classes All Packages