Uses of Interface
org.apache.commons.rng.UniformRandomProvider
-
Packages that use UniformRandomProvider Package Description org.apache.commons.math4.distribution Implementations of common discrete and continuous distributions.org.apache.commons.math4.random Random Data Generationorg.apache.commons.math4.stat.inference Classes providing hypothesis testing.org.apache.commons.math4.stat.ranking Classes providing rank transformations.org.apache.commons.rng Randomness providers APIorg.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 randomnessorg.apache.commons.rng.core.source64 Concrete algorithms forlong-based sources of randomnessorg.apache.commons.rng.sampling Samplersorg.apache.commons.rng.sampling.distribution Distribution samplersorg.apache.commons.rng.simple Randomness providersorg.apache.commons.statistics.distribution Implementations of common discrete and continuous distributions. -
-
Uses of UniformRandomProvider in org.apache.commons.math4.distribution
-
Uses of UniformRandomProvider in org.apache.commons.math4.random
Methods in org.apache.commons.math4.random that return UniformRandomProvider Modifier and Type Method Description static UniformRandomProviderRandomUtils. asUniformRandomProvider(java.util.Random rng)Wraps aRandominstance.Methods in org.apache.commons.math4.random with parameters of type UniformRandomProvider Modifier and Type Method Description static RandomUtils.DataGeneratorRandomUtils. createDataGenerator(UniformRandomProvider rng)Constructors in org.apache.commons.math4.random with parameters of type UniformRandomProvider Constructor Description GaussianRandomGenerator(UniformRandomProvider generator)Creates a new generator.StableRandomGenerator(UniformRandomProvider generator, double alpha, double beta)Create a new generator.UniformRandomGenerator(UniformRandomProvider generator)Creates a new generator. -
Uses of UniformRandomProvider in org.apache.commons.math4.stat.inference
Methods in org.apache.commons.math4.stat.inference with parameters of type UniformRandomProvider Modifier and Type Method Description doubleKolmogorovSmirnovTest. bootstrap(double[] x, double[] y, int iterations, boolean strict, UniformRandomProvider rng)Estimates the p-value of a two-sample Kolmogorov-Smirnov test evaluating the null hypothesis thatxandyare samples drawn from the same probability distribution.static doubleInferenceTestUtils. monteCarloP(double d, int n, int m, boolean strict, int iterations, UniformRandomProvider rng)doubleKolmogorovSmirnovTest. monteCarloP(double d, int n, int m, boolean strict, int iterations, UniformRandomProvider rng)Uses Monte Carlo simulation to approximate \(P(D_{n,m} > d)\) where \(D_{n,m}\) is the 2-sample Kolmogorov-Smirnov statistic. -
Uses of UniformRandomProvider in org.apache.commons.math4.stat.ranking
Constructors in org.apache.commons.math4.stat.ranking with parameters of type UniformRandomProvider Constructor Description NaturalRanking(NaNStrategy nanStrategy, UniformRandomProvider randomGenerator)Create a NaturalRanking with the given NaNStrategy, TiesStrategy.RANDOM and the given source of random data.NaturalRanking(UniformRandomProvider randomGenerator)Create a NaturalRanking with TiesStrategy.RANDOM and the given random generator as the source of random data. -
Uses of UniformRandomProvider in org.apache.commons.rng
Subinterfaces of UniformRandomProvider in org.apache.commons.rng Modifier and Type Interface Description interfaceRestorableUniformRandomProviderApplies to generators whose internal state can be saved and restored. -
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.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.classKISSRandomPort from Marsaglia's "KISS" algorithm.classMersenneTwisterThis class implements a powerful pseudo-random number generator developed by Makoto Matsumoto and Takuji Nishimura during 1996-1997.classMultiplyWithCarry256Port from Marsaglia's "Multiply-With-Carry" algorithm.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.classXoShiRo128StarStarA fast all-purpose 32-bit generator. -
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 classLongProviderBase class for all implementations that provide along-based source randomness.classMersenneTwister64This class provides the 64-bits version of the originally 32-bitsMersenne Twister.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.classXoRoShiRo128PlusA fast 64-bit generator suitable fordoublegeneration.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.classXoShiRo256StarStarA fast all-purpose 64-bit generator.classXoShiRo512PlusA fast 64-bit generator suitable fordoublegeneration.classXoShiRo512StarStarA fast all-purpose generator. -
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 static <T> java.util.List<T>ListSampler. sample(UniformRandomProvider rng, java.util.List<T> collection, int k)Generates a list of sizekwhose entries are selected randomly, without repetition, from the items in the givencollection.static <T> voidListSampler. shuffle(UniformRandomProvider rng, java.util.List<T> list)Shuffles the entries of the given array.static <T> voidListSampler. shuffle(UniformRandomProvider rng, java.util.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.Constructors in org.apache.commons.rng.sampling with parameters of type UniformRandomProvider Constructor Description CollectionSampler(UniformRandomProvider rng, java.util.Collection<T> collection)Creates a sampler.CombinationSampler(UniformRandomProvider rng, int n, int k)Creates a generator of combinations.DiscreteProbabilityCollectionSampler(UniformRandomProvider rng, java.util.List<T> collection, double[] probabilities)Creates a sampler.DiscreteProbabilityCollectionSampler(UniformRandomProvider rng, java.util.Map<T,java.lang.Double> collection)Creates a sampler.PermutationSampler(UniformRandomProvider rng, int n, int k)Creates a generator of permutations.UnitSphereSampler(int dimension, UniformRandomProvider rng) -
Uses of UniformRandomProvider in org.apache.commons.rng.sampling.distribution
Methods in org.apache.commons.rng.sampling.distribution with parameters of type UniformRandomProvider Modifier and Type Method Description DiscreteSamplerPoissonSamplerCache. createPoissonSampler(UniformRandomProvider rng, double mean)Creates a new Poisson sampler. -
Uses of UniformRandomProvider in org.apache.commons.rng.simple
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 does not allow access to the "save/restore" functionality.Methods in org.apache.commons.rng.simple with parameters of type UniformRandomProvider Modifier and Type Method Description static UniformRandomProviderRandomSource. unrestorable(UniformRandomProvider delegate)Wraps the givendelegategenerator in a new instance that does not allow access to the "save/restore" functionality. -
Uses of UniformRandomProvider in org.apache.commons.statistics.distribution
-