Uses of Interface
org.apache.commons.rng.UniformRandomProvider
-
Packages that use UniformRandomProvider Package Description 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 Base classes for thegeneration of uniformly distributed random numbers.org.apache.commons.rng.core.source32 Concrete algorithms forint-based sources of randomness.org.apache.commons.rng.core.source64 Concrete algorithms forlong-based sources of randomness.org.apache.commons.rng.core.util This package contains utilities to combine/split primitive types.org.apache.commons.rng.sampling This package provides sampling utilities.org.apache.commons.rng.sampling.distribution This package contains classes for sampling from statistical distributions.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 This package providesfactory methodsby which low-level classes implemented in module "commons-rng-core" are instantiated. -
-
Uses of UniformRandomProvider in org.apache.commons.rng
Subinterfaces of UniformRandomProvider in org.apache.commons.rng Modifier and Type Interface Description interfaceJumpableUniformRandomProviderApplies to generators that can be advanced a large number of steps of the output sequence in a single operation.interfaceLongJumpableUniformRandomProviderApplies to generators that can be advanced a very large number of steps of the output sequence in a single operation.interfaceRestorableUniformRandomProviderApplies to generators whose internal state can be saved and restored.interfaceSplittableUniformRandomProviderApplies 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 UniformRandomProvider Modifier and Type Method Description UniformRandomProviderJumpableUniformRandomProvider. 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 UniformRandomProvider Modifier and Type Method Description default 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 UniformRandomProvider Modifier and Type Method Description SplittableUniformRandomProviderSplittableUniformRandomProvider. 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 UniformRandomProvider Modifier and Type Class Description classBaseProviderBase 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 UniformRandomProvider Modifier and Type Class Description classAbstractWellThis abstract class implements the WELL class of pseudo-random number generator from François Panneton, Pierre L'Ecuyer and Makoto Matsumoto.classDotyHumphreySmallFastCounting32Implement the Small, Fast, Counting (SFC) 32-bit generator of Chris Doty-Humphrey.classIntProviderBase class for all implementations that provide anint-based source randomness.classISAACRandomA fast cryptographic pseudo-random number generator.classJDKRandomA provider that uses theRandom.nextInt()method of the JDK'sRandomclass as the source of randomness.classJenkinsSmallFast32Implement Bob Jenkins's small fast (JSF) 32-bit generator.classKISSRandomPort from Marsaglia's "KISS" algorithm.classL32X64MixA 32-bit all purpose generator.classMersenneTwisterThis class implements a powerful pseudo-random number generator developed by Makoto Matsumoto and Takuji Nishimura during 1996-1997.classMiddleSquareWeylSequenceMiddle Square Weyl Sequence Random Number Generator.classMultiplyWithCarry256Port from Marsaglia's "Multiply-With-Carry" algorithm.classPcgMcgXshRr32A 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.classPcgMcgXshRs32A 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.classPcgXshRr32A 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.classPcgXshRs32A 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.classWell1024aThis class implements the WELL1024a pseudo-random number generator from François Panneton, Pierre L'Ecuyer and Makoto Matsumoto.classWell19937aThis class implements the WELL19937a pseudo-random number generator from François Panneton, Pierre L'Ecuyer and Makoto Matsumoto.classWell19937cThis class implements the WELL19937c pseudo-random number generator from François Panneton, Pierre L'Ecuyer and Makoto Matsumoto.classWell44497aThis class implements the WELL44497a pseudo-random number generator from François Panneton, Pierre L'Ecuyer and Makoto Matsumoto.classWell44497bThis class implements the WELL44497b pseudo-random number generator from François Panneton, Pierre L'Ecuyer and Makoto Matsumoto.classWell512aThis class implements the WELL512a pseudo-random number generator from François Panneton, Pierre L'Ecuyer and Makoto Matsumoto.classXoRoShiRo64StarA fast 32-bit generator suitable forfloatgeneration.classXoRoShiRo64StarStarA fast all-purpose 32-bit generator.classXoShiRo128PlusA fast 32-bit generator suitable forfloatgeneration.classXoShiRo128PlusPlusA fast all-purpose 32-bit generator.classXoShiRo128StarStarA fast all-purpose 32-bit generator.Methods in org.apache.commons.rng.core.source32 that return UniformRandomProvider Modifier and Type Method Description UniformRandomProviderL32X64Mix. jump()Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.Methods in org.apache.commons.rng.core.source32 with parameters of type UniformRandomProvider Modifier and Type Method Description SplittableUniformRandomProviderL32X64Mix. 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 UniformRandomProvider Modifier and Type Class Description classDotyHumphreySmallFastCounting64Implement the Small, Fast, Counting (SFC) 64-bit generator of Chris Doty-Humphrey.classJenkinsSmallFast64Implement Bob Jenkins's small fast (JSF) 64-bit generator.classL128X1024MixA 64-bit all purpose generator.classL128X128MixA 64-bit all purpose generator.classL128X256MixA 64-bit all purpose generator.classL64X1024MixA 64-bit all purpose generator.classL64X128MixA 64-bit all purpose generator.classL64X128StarStarA 64-bit all purpose generator.classL64X256MixA 64-bit all purpose generator.classLongProviderBase class for all implementations that provide along-based source randomness.classMersenneTwister64This class provides the 64-bits version of the originally 32-bitsMersenne Twister.classPcgRxsMXs64A 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.classSplitMix64A fast RNG, with 64 bits of state, that can be used to initialize the state of other generators.classTwoCmresRandom number generator designed by Mark D. Overton.classXoRoShiRo1024PlusPlusA large-state all-purpose 64-bit generator.classXoRoShiRo1024StarA large-state 64-bit generator suitable fordoublegeneration.classXoRoShiRo1024StarStarA large-state all-purpose 64-bit generator.classXoRoShiRo128PlusA fast 64-bit generator suitable fordoublegeneration.classXoRoShiRo128PlusPlusA fast all-purpose 64-bit generator.classXoRoShiRo128StarStarA fast all-purpose 64-bit generator.classXorShift1024StarA fast RNG implementing theXorShift1024*algorithm.classXorShift1024StarPhiA fast RNG implementing theXorShift1024*algorithm.classXoShiRo256PlusA fast 64-bit generator suitable fordoublegeneration.classXoShiRo256PlusPlusA fast all-purpose 64-bit generator.classXoShiRo256StarStarA fast all-purpose 64-bit generator.classXoShiRo512PlusA fast 64-bit generator suitable fordoublegeneration.classXoShiRo512PlusPlusA fast all-purpose generator.classXoShiRo512StarStarA fast all-purpose generator.Methods in org.apache.commons.rng.core.source64 that return UniformRandomProvider Modifier and Type Method Description UniformRandomProviderL128X1024Mix. jump()Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.UniformRandomProviderL128X128Mix. jump()Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.UniformRandomProviderL128X256Mix. jump()Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.UniformRandomProviderL64X1024Mix. jump()Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.UniformRandomProviderL64X256Mix. jump()Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.UniformRandomProviderXoRoShiRo128PlusPlus. jump()Creates a copy of the UniformRandomProvider and then advances the state of the current instance.UniformRandomProviderXorShift1024Star. 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 UniformRandomProvider Modifier and Type Method Description SplittableUniformRandomProviderL128X1024Mix. split(UniformRandomProvider source)Creates a new random generator, split off from this one, that implements theSplittableUniformRandomProviderinterface.SplittableUniformRandomProviderL128X128Mix. split(UniformRandomProvider source)Creates a new random generator, split off from this one, that implements theSplittableUniformRandomProviderinterface.SplittableUniformRandomProviderL128X256Mix. split(UniformRandomProvider source)Creates a new random generator, split off from this one, that implements theSplittableUniformRandomProviderinterface.SplittableUniformRandomProviderL64X1024Mix. split(UniformRandomProvider source)Creates a new random generator, split off from this one, that implements theSplittableUniformRandomProviderinterface.SplittableUniformRandomProviderL64X128Mix. split(UniformRandomProvider source)Creates a new random generator, split off from this one, that implements theSplittableUniformRandomProviderinterface.SplittableUniformRandomProviderL64X128StarStar. split(UniformRandomProvider source)Creates a new random generator, split off from this one, that implements theSplittableUniformRandomProviderinterface.SplittableUniformRandomProviderL64X256Mix. 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 UniformRandomProvider Modifier and Type Method Description TRandomStreams.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 UniformRandomProvider Modifier and Type Method Description SCompositeSamplers.Builder. build(UniformRandomProvider rng)Builds the composite sampler.DiscreteSamplerCompositeSamplers.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<T>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.CombinationSamplerCombinationSampler. 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<T>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.PermutationSamplerPermutationSampler. 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.RSharedStateSampler. 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.UnitSphereSamplerUnitSphereSampler. 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 UniformRandomProvider Constructor Description CollectionSampler(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 UniformRandomProvider Modifier and Type Field Description protected UniformRandomProviderAliasMethodDiscreteSampler. rngUnderlying source of randomness.protected UniformRandomProviderUniformLongSampler. rngUnderlying source of randomness.Methods in org.apache.commons.rng.sampling.distribution with parameters of type UniformRandomProvider Modifier and Type Method Description DiscreteSamplerPoissonSamplerCache. createPoissonSampler(UniformRandomProvider rng, double mean)SharedStateDiscreteSamplerPoissonSamplerCache. 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.static FastLoadedDiceRollerDiscreteSamplerFastLoadedDiceRollerDiscreteSampler. of(UniformRandomProvider rng, double[] weights)Creates a sampler.static FastLoadedDiceRollerDiscreteSamplerFastLoadedDiceRollerDiscreteSampler. of(UniformRandomProvider rng, double[] weights, int alpha)Creates a sampler.static FastLoadedDiceRollerDiscreteSamplerFastLoadedDiceRollerDiscreteSampler. 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.static ZigguratSampler.NormalizedGaussianZigguratSampler.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.SharedStateContinuousSamplerAhrensDieterExponentialSampler. 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.SharedStateContinuousSamplerAhrensDieterMarsagliaTsangGammaSampler. 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.SharedStateDiscreteSamplerAliasMethodDiscreteSampler. 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.SharedStateContinuousSamplerBoxMullerNormalizedGaussianSampler. 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.SharedStateContinuousSamplerChengBetaSampler. 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.SharedStateContinuousSamplerContinuousUniformSampler. 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.SharedStateDiscreteSamplerDiscreteUniformSampler. 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.SharedStateContinuousSamplerGaussianSampler. 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.SharedStateDiscreteSamplerGuideTableDiscreteSampler. 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.SharedStateContinuousSamplerInverseTransformContinuousSampler. 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.SharedStateDiscreteSamplerInverseTransformDiscreteSampler. 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.SharedStateContinuousSamplerInverseTransformParetoSampler. 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.SharedStateDiscreteSamplerKempSmallMeanPoissonSampler. 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.SharedStateDiscreteSamplerLargeMeanPoissonSampler. 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.LevySamplerLevySampler. 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.SharedStateContinuousSamplerLogNormalSampler. 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.SharedStateContinuousSamplerMarsagliaNormalizedGaussianSampler. 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.SharedStateDiscreteSamplerPoissonSampler. 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.SharedStateDiscreteSamplerRejectionInversionZipfSampler. 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.SharedStateDiscreteSamplerSmallMeanPoissonSampler. 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.SharedStateContinuousSamplerZigguratNormalizedGaussianSampler. 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.ExponentialZigguratSampler.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.NormalizedGaussianZigguratSampler.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. -
Uses of UniformRandomProvider in org.apache.commons.rng.sampling.shape
Methods in org.apache.commons.rng.sampling.shape with parameters of type UniformRandomProvider Modifier and Type Method Description static 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.TetrahedronSamplerTetrahedronSampler. 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 UniformRandomProvider Modifier and Type Class Description classJDKRandomWrapperWraps aRandominstance to implementUniformRandomProvider.Methods in org.apache.commons.rng.simple that return UniformRandomProvider Modifier and Type Method Description static 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 UniformRandomProvider Modifier and Type Method Description byte[]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.
-