Uses of Interface
org.apache.commons.rng.UniformRandomProvider
Packages that use UniformRandomProvider
Package
Description
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.
Base classes for the
generation of uniformly distributed random numbers.Concrete algorithms for
int-based sources of randomness.Concrete algorithms for
long-based sources of randomness.This package contains utilities to combine/split primitive types.
This package provides sampling utilities.
This package contains classes for sampling from statistical distributions.
This package contains classes for sampling coordinates from shapes, for example a unit ball.
This package provides
factory methods
by which low-level classes implemented in module "commons-rng-core"
are instantiated.Utilities for seed conversion.
-
Uses of UniformRandomProvider in org.apache.commons.rng
Subinterfaces of UniformRandomProvider in org.apache.commons.rngModifier and TypeInterfaceDescriptioninterfaceApplies to generators that can be advanced an arbitrary number of steps of the output sequence in a single operation.interfaceApplies to generators that can be advanced a large number of steps of the output sequence in a single operation.interfaceApplies to generators that can be advanced a very large number of steps of the output sequence in a single operation.interfaceApplies to generators whose internal state can be saved and restored.interfaceApplies 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).Methods in org.apache.commons.rng that return UniformRandomProviderModifier and TypeMethodDescriptionJumpableUniformRandomProvider.jump()Creates a copy of the UniformRandomProvider and then advances the state of the current instance.Methods in org.apache.commons.rng that return types with arguments of type UniformRandomProviderModifier and TypeMethodDescriptiondefault Stream<UniformRandomProvider> JumpableUniformRandomProvider.jumps()Returns an effectively unlimited stream of new random generators, each of which implements theUniformRandomProviderinterface.default Stream<UniformRandomProvider> JumpableUniformRandomProvider.jumps(long streamSize) Returns a stream producing the givenstreamSizenumber of new random generators, each of which implements theUniformRandomProviderinterface.Methods in org.apache.commons.rng with parameters of type UniformRandomProviderModifier and TypeMethodDescriptionSplittableUniformRandomProvider.split(UniformRandomProvider source) Creates a new random generator, split off from this one, that implements theSplittableUniformRandomProviderinterface. -
Uses of UniformRandomProvider in org.apache.commons.rng.core
Classes in org.apache.commons.rng.core that implement UniformRandomProviderModifier and TypeClassDescriptionclassBase class with default implementation for common methods. -
Uses of UniformRandomProvider in org.apache.commons.rng.core.source32
Classes in org.apache.commons.rng.core.source32 that implement UniformRandomProviderModifier and TypeClassDescriptionclassThis abstract class implements the WELL class of pseudo-random number generator from François Panneton, Pierre L'Ecuyer and Makoto Matsumoto.classImplement the Small, Fast, Counting (SFC) 32-bit generator of Chris Doty-Humphrey.classBase class for all implementations that provide anint-based source randomness.classA fast cryptographic pseudo-random number generator.classA provider that uses theRandom.nextInt()method of the JDK'sRandomclass as the source of randomness.classImplement Bob Jenkins's small fast (JSF) 32-bit generator.classPort from Marsaglia's "KISS" algorithm.final classA 32-bit all purpose generator.classThis class implements a powerful pseudo-random number generator developed by Makoto Matsumoto and Takuji Nishimura during 1996-1997.classMiddle Square Weyl Sequence Random Number Generator.classPort from Marsaglia's "Multiply-With-Carry" algorithm.classA 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.classA 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.classA 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.classA 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.final classThis class implements the Philox4x32 128-bit counter-based generator with 10 rounds.classThis class implements the WELL1024a pseudo-random number generator from François Panneton, Pierre L'Ecuyer and Makoto Matsumoto.classThis class implements the WELL19937a pseudo-random number generator from François Panneton, Pierre L'Ecuyer and Makoto Matsumoto.classThis class implements the WELL19937c pseudo-random number generator from François Panneton, Pierre L'Ecuyer and Makoto Matsumoto.classThis class implements the WELL44497a pseudo-random number generator from François Panneton, Pierre L'Ecuyer and Makoto Matsumoto.classThis class implements the WELL44497b pseudo-random number generator from François Panneton, Pierre L'Ecuyer and Makoto Matsumoto.classThis class implements the WELL512a pseudo-random number generator from François Panneton, Pierre L'Ecuyer and Makoto Matsumoto.classA fast 32-bit generator suitable forfloatgeneration.classA fast all-purpose 32-bit generator.classA fast 32-bit generator suitable forfloatgeneration.classA fast all-purpose 32-bit generator.classA fast all-purpose 32-bit generator.Methods in org.apache.commons.rng.core.source32 that return UniformRandomProviderModifier and TypeMethodDescriptionL32X64Mix.jump()Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.Philox4x32.jump()Creates a copy of the UniformRandomProvider and then advances the state of the current instance.Methods in org.apache.commons.rng.core.source32 with parameters of type UniformRandomProviderModifier and TypeMethodDescriptionL32X64Mix.split(UniformRandomProvider source) Creates a new random generator, split off from this one, that implements theSplittableUniformRandomProviderinterface. -
Uses of UniformRandomProvider in org.apache.commons.rng.core.source64
Classes in org.apache.commons.rng.core.source64 that implement UniformRandomProviderModifier and TypeClassDescriptionclassImplement the Small, Fast, Counting (SFC) 64-bit generator of Chris Doty-Humphrey.classImplement Bob Jenkins's small fast (JSF) 64-bit generator.classA 64-bit all purpose generator.classA 64-bit all purpose generator.classA 64-bit all purpose generator.classA 64-bit all purpose generator.classA 64-bit all purpose generator.classA 64-bit all purpose generator.classA 64-bit all purpose generator.classBase class for all implementations that provide along-based source randomness.classThis class provides the 64-bits version of the originally 32-bitsMersenne Twister.classA 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.final classThis class implements the Philox4x64 256-bit counter-based generator with 10 rounds.classA fast RNG, with 64 bits of state, that can be used to initialize the state of other generators.classRandom number generator designed by Mark D. Overton.classA large-state all-purpose 64-bit generator.classA large-state 64-bit generator suitable fordoublegeneration.classA large-state all-purpose 64-bit generator.classA fast 64-bit generator suitable fordoublegeneration.classA fast all-purpose 64-bit generator.classA fast all-purpose 64-bit generator.classA fast RNG implementing theXorShift1024*algorithm.classA fast RNG implementing theXorShift1024*algorithm.classA fast 64-bit generator suitable fordoublegeneration.classA fast all-purpose 64-bit generator.classA fast all-purpose 64-bit generator.classA fast 64-bit generator suitable fordoublegeneration.classA fast all-purpose generator.classA fast all-purpose generator.Methods in org.apache.commons.rng.core.source64 that return UniformRandomProviderModifier and TypeMethodDescriptionL128X1024Mix.jump()Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.L128X128Mix.jump()Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.L128X256Mix.jump()Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.L64X1024Mix.jump()Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.L64X256Mix.jump()Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.Philox4x64.jump()Creates a copy of the UniformRandomProvider and then advances the state of the current instance.XoRoShiRo128PlusPlus.jump()Creates a copy of the UniformRandomProvider and then advances the state of the current instance.XorShift1024Star.jump()Creates a copy of the UniformRandomProvider and then advances the state of the current instance.Methods in org.apache.commons.rng.core.source64 with parameters of type UniformRandomProviderModifier and TypeMethodDescriptionL128X1024Mix.split(UniformRandomProvider source) Creates a new random generator, split off from this one, that implements theSplittableUniformRandomProviderinterface.L128X128Mix.split(UniformRandomProvider source) Creates a new random generator, split off from this one, that implements theSplittableUniformRandomProviderinterface.L128X256Mix.split(UniformRandomProvider source) Creates a new random generator, split off from this one, that implements theSplittableUniformRandomProviderinterface.L64X1024Mix.split(UniformRandomProvider source) Creates a new random generator, split off from this one, that implements theSplittableUniformRandomProviderinterface.L64X128Mix.split(UniformRandomProvider source) Creates a new random generator, split off from this one, that implements theSplittableUniformRandomProviderinterface.L64X128StarStar.split(UniformRandomProvider source) Creates a new random generator, split off from this one, that implements theSplittableUniformRandomProviderinterface.L64X256Mix.split(UniformRandomProvider source) Creates a new random generator, split off from this one, that implements theSplittableUniformRandomProviderinterface. -
Uses of UniformRandomProvider in org.apache.commons.rng.core.util
Methods in org.apache.commons.rng.core.util with parameters of type UniformRandomProviderModifier and TypeMethodDescriptionRandomStreams.SeededObjectFactory.create(long seed, UniformRandomProvider source) Creates the object. -
Uses of UniformRandomProvider in org.apache.commons.rng.sampling
Methods in org.apache.commons.rng.sampling with parameters of type UniformRandomProviderModifier and TypeMethodDescriptionCompositeSamplers.Builder.build(UniformRandomProvider rng) Builds the composite sampler.CompositeSamplers.DiscreteProbabilitySamplerFactory.create(UniformRandomProvider rng, double[] probabilities) Creates the sampler.static UnitSphereSamplerUnitSphereSampler.of(UniformRandomProvider rng, int dimension) Create a unit sphere sampler for the given dimension.static <T> List<T> ListSampler.sample(UniformRandomProvider rng, List<T> collection, int k) Generates a list of sizekwhose entries are selected randomly, without repetition, from the items in the givencollection.static boolean[]ArraySampler.shuffle(UniformRandomProvider rng, boolean[] array) Shuffles the entries of the given array.static boolean[]ArraySampler.shuffle(UniformRandomProvider rng, boolean[] array, int from, int to) Shuffles the entries of the given array in the range[from, to).static byte[]ArraySampler.shuffle(UniformRandomProvider rng, byte[] array) Shuffles the entries of the given array.static byte[]ArraySampler.shuffle(UniformRandomProvider rng, byte[] array, int from, int to) Shuffles the entries of the given array in the range[from, to).static char[]ArraySampler.shuffle(UniformRandomProvider rng, char[] array) Shuffles the entries of the given array.static char[]ArraySampler.shuffle(UniformRandomProvider rng, char[] array, int from, int to) Shuffles the entries of the given array in the range[from, to).static double[]ArraySampler.shuffle(UniformRandomProvider rng, double[] array) Shuffles the entries of the given array.static double[]ArraySampler.shuffle(UniformRandomProvider rng, double[] array, int from, int to) Shuffles the entries of the given array in the range[from, to).static float[]ArraySampler.shuffle(UniformRandomProvider rng, float[] array) Shuffles the entries of the given array.static float[]ArraySampler.shuffle(UniformRandomProvider rng, float[] array, int from, int to) Shuffles the entries of the given array in the range[from, to).static int[]ArraySampler.shuffle(UniformRandomProvider rng, int[] array) Shuffles the entries of the given array.static int[]ArraySampler.shuffle(UniformRandomProvider rng, int[] array, int from, int to) Shuffles the entries of the given array in the range[from, to).static long[]ArraySampler.shuffle(UniformRandomProvider rng, long[] array) Shuffles the entries of the given array.static long[]ArraySampler.shuffle(UniformRandomProvider rng, long[] array, int from, int to) Shuffles the entries of the given array in the range[from, to).static short[]ArraySampler.shuffle(UniformRandomProvider rng, short[] array) Shuffles the entries of the given array.static short[]ArraySampler.shuffle(UniformRandomProvider rng, short[] array, int from, int to) Shuffles the entries of the given array in the range[from, to).static <T> T[]ArraySampler.shuffle(UniformRandomProvider rng, T[] array) Shuffles the entries of the given array.static <T> T[]ArraySampler.shuffle(UniformRandomProvider rng, T[] array, int from, int to) Shuffles the entries of the given array in the range[from, to).static <T> voidListSampler.shuffle(UniformRandomProvider rng, List<T> list) Shuffles the entries of the given array, using the Fisher-Yates algorithm.static <T> voidListSampler.shuffle(UniformRandomProvider rng, List<T> list, int start, boolean towardHead) Shuffles the entries of the given array, using the Fisher-Yates algorithm.static voidPermutationSampler.shuffle(UniformRandomProvider rng, int[] list) Shuffles the entries of the given array.static voidPermutationSampler.shuffle(UniformRandomProvider rng, int[] list, int start, boolean towardHead) Shuffles the entries of the given array, using the Fisher-Yates algorithm.CollectionSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.CombinationSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.DiscreteProbabilityCollectionSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.PermutationSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.SharedStateSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.UnitSphereSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.Constructors in org.apache.commons.rng.sampling with parameters of type UniformRandomProviderModifierConstructorDescriptionCollectionSampler(UniformRandomProvider rng, Collection<T> collection) Creates a sampler.CombinationSampler(UniformRandomProvider rng, int n, int k) Creates a generator of combinations.DiscreteProbabilityCollectionSampler(UniformRandomProvider rng, List<T> collection, double[] probabilities) Creates a sampler.DiscreteProbabilityCollectionSampler(UniformRandomProvider rng, Map<T, Double> collection) Creates a sampler.PermutationSampler(UniformRandomProvider rng, int n, int k) Creates a generator of permutations.UnitSphereSampler(int dimension, UniformRandomProvider rng) Deprecated. -
Uses of UniformRandomProvider in org.apache.commons.rng.sampling.distribution
Fields in org.apache.commons.rng.sampling.distribution declared as UniformRandomProviderModifier and TypeFieldDescriptionprotected final UniformRandomProviderAliasMethodDiscreteSampler.rngUnderlying source of randomness.protected final UniformRandomProviderContinuousUniformSampler.rngUnderlying source of randomness.protected final UniformRandomProviderUniformLongSampler.rngUnderlying source of randomness.Methods in org.apache.commons.rng.sampling.distribution with parameters of type UniformRandomProviderModifier and TypeMethodDescriptionPoissonSamplerCache.createPoissonSampler(UniformRandomProvider rng, double mean) PoissonSamplerCache.createSharedStateSampler(UniformRandomProvider rng, double mean) Creates a new Poisson sampler.static SharedStateContinuousSamplerAhrensDieterExponentialSampler.of(UniformRandomProvider rng, double mean) Create a new exponential distribution sampler.static SharedStateContinuousSamplerAhrensDieterMarsagliaTsangGammaSampler.of(UniformRandomProvider rng, double alpha, double theta) Creates a new gamma distribution sampler.static SharedStateDiscreteSamplerAliasMethodDiscreteSampler.of(UniformRandomProvider rng, double[] probabilities) Creates a sampler.static SharedStateDiscreteSamplerAliasMethodDiscreteSampler.of(UniformRandomProvider rng, double[] probabilities, int alpha) Creates a sampler.static <S extends NormalizedGaussianSampler & SharedStateContinuousSampler>
SBoxMullerNormalizedGaussianSampler.of(UniformRandomProvider rng) Create a new normalised Gaussian sampler.static SharedStateContinuousSamplerChengBetaSampler.of(UniformRandomProvider rng, double alpha, double beta) Creates a new beta distribution sampler.static SharedStateContinuousSamplerContinuousUniformSampler.of(UniformRandomProvider rng, double lo, double hi) Creates a new continuous uniform distribution sampler.static SharedStateContinuousSamplerContinuousUniformSampler.of(UniformRandomProvider rng, double lo, double hi, boolean excludeBounds) Creates a new continuous uniform distribution sampler.static DirichletSamplerDirichletSampler.of(UniformRandomProvider rng, double... alpha) Creates a new Dirichlet distribution sampler.static SharedStateDiscreteSamplerDiscreteUniformSampler.of(UniformRandomProvider rng, int lower, int upper) Creates a new discrete uniform distribution sampler.FastLoadedDiceRollerDiscreteSampler.of(UniformRandomProvider rng, double[] weights) Creates a sampler.FastLoadedDiceRollerDiscreteSampler.of(UniformRandomProvider rng, double[] weights, int alpha) Creates a sampler.FastLoadedDiceRollerDiscreteSampler.of(UniformRandomProvider rng, long[] frequencies) Creates a sampler.static SharedStateDiscreteSamplerGeometricSampler.of(UniformRandomProvider rng, double probabilityOfSuccess) Creates a new geometric distribution sampler.static SharedStateDiscreteSamplerGuideTableDiscreteSampler.of(UniformRandomProvider rng, double[] probabilities) Create a new sampler for an enumerated distribution using the givenprobabilities.static SharedStateDiscreteSamplerGuideTableDiscreteSampler.of(UniformRandomProvider rng, double[] probabilities, double alpha) Create a new sampler for an enumerated distribution using the givenprobabilities.static SharedStateContinuousSamplerInverseTransformContinuousSampler.of(UniformRandomProvider rng, ContinuousInverseCumulativeProbabilityFunction function) Create a new inverse-transform continuous sampler.static SharedStateDiscreteSamplerInverseTransformDiscreteSampler.of(UniformRandomProvider rng, DiscreteInverseCumulativeProbabilityFunction function) Create a new inverse-transform discrete sampler.static SharedStateContinuousSamplerInverseTransformParetoSampler.of(UniformRandomProvider rng, double scale, double shape) Creates a new Pareto distribution sampler.static SharedStateDiscreteSamplerKempSmallMeanPoissonSampler.of(UniformRandomProvider rng, double mean) Creates a new sampler for the Poisson distribution.static SharedStateDiscreteSamplerLargeMeanPoissonSampler.of(UniformRandomProvider rng, double mean) Creates a new Poisson distribution sampler.static LevySamplerLevySampler.of(UniformRandomProvider rng, double location, double scale) Create a new Lévy distribution sampler.static <S extends NormalizedGaussianSampler & SharedStateContinuousSampler>
SMarsagliaNormalizedGaussianSampler.of(UniformRandomProvider rng) Create a new normalised Gaussian sampler.static SharedStateDiscreteSamplerMarsagliaTsangWangDiscreteSampler.Binomial.of(UniformRandomProvider rng, int trials, double probabilityOfSuccess) Creates a sampler for the Binomial distribution.static SharedStateDiscreteSamplerMarsagliaTsangWangDiscreteSampler.Enumerated.of(UniformRandomProvider rng, double[] probabilities) Creates a sampler for an enumerated distribution ofnvalues each with an associated probability.static SharedStateDiscreteSamplerMarsagliaTsangWangDiscreteSampler.Poisson.of(UniformRandomProvider rng, double mean) Creates a sampler for the Poisson distribution.static SharedStateDiscreteSamplerPoissonSampler.of(UniformRandomProvider rng, double mean) Creates a new Poisson distribution sampler.static SharedStateDiscreteSamplerRejectionInversionZipfSampler.of(UniformRandomProvider rng, int numberOfElements, double exponent) Creates a new Zipf distribution sampler.static SharedStateDiscreteSamplerSmallMeanPoissonSampler.of(UniformRandomProvider rng, double mean) Creates a new sampler for the Poisson distribution.static StableSamplerStableSampler.of(UniformRandomProvider rng, double alpha, double beta) Creates a standardized sampler of a stable distribution with zero location and unit scale.static StableSamplerStableSampler.of(UniformRandomProvider rng, double alpha, double beta, double gamma, double delta) Creates a sampler of a stable distribution.static TSamplerTSampler.of(UniformRandomProvider rng, double degreesOfFreedom) Create a new t distribution sampler.static UniformLongSamplerUniformLongSampler.of(UniformRandomProvider rng, long lower, long upper) Creates a new discrete uniform distribution sampler.static <S extends NormalizedGaussianSampler & SharedStateContinuousSampler>
SZigguratNormalizedGaussianSampler.of(UniformRandomProvider rng) Create a new normalised Gaussian sampler.static ZigguratSampler.ExponentialZigguratSampler.Exponential.of(UniformRandomProvider rng) Create a new exponential sampler withmean = 1.static ZigguratSampler.ExponentialZigguratSampler.Exponential.of(UniformRandomProvider rng, double mean) Create a new exponential sampler with the specifiedmean.ZigguratSampler.NormalizedGaussian.of(UniformRandomProvider rng) Create a new normalised Gaussian sampler.static DirichletSamplerDirichletSampler.symmetric(UniformRandomProvider rng, int k, double alpha) Creates a new symmetric Dirichlet distribution sampler using the same concentration parameter for each category.AhrensDieterExponentialSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.AhrensDieterMarsagliaTsangGammaSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.AliasMethodDiscreteSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.BoxMullerNormalizedGaussianSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.ChengBetaSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.ContinuousUniformSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.abstract DirichletSamplerDirichletSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.DiscreteUniformSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.abstract FastLoadedDiceRollerDiscreteSamplerFastLoadedDiceRollerDiscreteSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.GaussianSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.GuideTableDiscreteSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.InverseTransformContinuousSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.InverseTransformDiscreteSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.InverseTransformParetoSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.KempSmallMeanPoissonSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.LargeMeanPoissonSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.LevySampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.LogNormalSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.MarsagliaNormalizedGaussianSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.PoissonSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.RejectionInversionZipfSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.SmallMeanPoissonSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.abstract StableSamplerStableSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.abstract TSamplerTSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.abstract UniformLongSamplerUniformLongSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.ZigguratNormalizedGaussianSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.ZigguratSampler.Exponential.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.ZigguratSampler.NormalizedGaussian.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.Constructors in org.apache.commons.rng.sampling.distribution with parameters of type UniformRandomProviderModifierConstructorDescriptionAhrensDieterExponentialSampler(UniformRandomProvider rng, double mean) Create an instance.AhrensDieterMarsagliaTsangGammaSampler(UniformRandomProvider rng, double alpha, double theta) This instance delegates sampling.BoxMullerGaussianSampler(UniformRandomProvider rng, double mean, double standardDeviation) Deprecated.Create an instance.BoxMullerLogNormalSampler(UniformRandomProvider rng, double mu, double sigma) Deprecated.Create an instance.Create an instance.ChengBetaSampler(UniformRandomProvider rng, double alpha, double beta) Creates a sampler instance.ContinuousUniformSampler(UniformRandomProvider rng, double lo, double hi) Create an instance.DiscreteUniformSampler(UniformRandomProvider rng, int lower, int upper) This instance delegates sampling.InverseTransformContinuousSampler(UniformRandomProvider rng, ContinuousInverseCumulativeProbabilityFunction function) Create an instance.InverseTransformDiscreteSampler(UniformRandomProvider rng, DiscreteInverseCumulativeProbabilityFunction function) Create an instance.InverseTransformParetoSampler(UniformRandomProvider rng, double scale, double shape) Create an instance.LargeMeanPoissonSampler(UniformRandomProvider rng, double mean) Create an instance.Create an instance.PoissonSampler(UniformRandomProvider rng, double mean) This instance delegates sampling.RejectionInversionZipfSampler(UniformRandomProvider rng, int numberOfElements, double exponent) This instance delegates sampling.protectedDeprecated.Create an instance.SmallMeanPoissonSampler(UniformRandomProvider rng, double mean) Create an instance.Create an instance. -
Uses of UniformRandomProvider in org.apache.commons.rng.sampling.shape
Methods in org.apache.commons.rng.sampling.shape with parameters of type UniformRandomProviderModifier and TypeMethodDescriptionstatic BoxSamplerBoxSampler.of(UniformRandomProvider rng, double[] a, double[] b) Create a box sampler with boundsaandb.static LineSamplerLineSampler.of(UniformRandomProvider rng, double[] a, double[] b) Create a line sampler with verticesaandb.static TetrahedronSamplerTetrahedronSampler.of(UniformRandomProvider rng, double[] a, double[] b, double[] c, double[] d) Create a tetrahedron sampler with verticesa,b,candd.static TriangleSamplerTriangleSampler.of(UniformRandomProvider rng, double[] a, double[] b, double[] c) Create a triangle sampler with verticesa,bandc.static UnitBallSamplerUnitBallSampler.of(UniformRandomProvider rng, int dimension) Create a unit n-ball sampler for the given dimension.abstract BoxSamplerBoxSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.abstract LineSamplerLineSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.TetrahedronSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.abstract TriangleSamplerTriangleSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.abstract UnitBallSamplerUnitBallSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness. -
Uses of UniformRandomProvider in org.apache.commons.rng.simple
Classes in org.apache.commons.rng.simple that implement UniformRandomProviderModifier and TypeClassDescriptionfinal classWraps aRandominstance to implementUniformRandomProvider.Methods in org.apache.commons.rng.simple that return UniformRandomProviderModifier and TypeMethodDescriptionstatic UniformRandomProviderThreadLocalRandomSource.current(RandomSource source) Returns the current thread's copy of the givensource.static UniformRandomProviderRandomSource.unrestorable(UniformRandomProvider delegate) Wraps the givendelegategenerator in a new instance that only provides access to theUniformRandomProvidermethods.Methods in org.apache.commons.rng.simple with parameters of type UniformRandomProviderModifier and TypeMethodDescriptionbyte[]RandomSource.createSeed(UniformRandomProvider rng) Creates a seed suitable for the implementing class represented by this random source using the supplied source of randomness.static UniformRandomProviderRandomSource.unrestorable(UniformRandomProvider delegate) Wraps the givendelegategenerator in a new instance that only provides access to theUniformRandomProvidermethods. -
Uses of UniformRandomProvider in org.apache.commons.rng.simple.internal
Methods in org.apache.commons.rng.simple.internal with parameters of type UniformRandomProviderModifier and TypeMethodDescriptionprotected byte[]ProviderBuilder.RandomSourceInternal.createByteArraySeed(UniformRandomProvider source) Creates abyte[]seed using the provided source of randomness.final byte[]ProviderBuilder.RandomSourceInternal.createSeedBytes(UniformRandomProvider source) Creates a seed suitable for the implementing class represented by this random source using the supplied source of randomness.
UnitSphereSampler.of(UniformRandomProvider, int).