Uses of Interface
org.uncommons.maths.number.NumberGenerator
-
Packages that use NumberGenerator Package Description org.uncommons.maths.number Custom numeric data types and classes for working with java.lang.Number and its sub-classes.org.uncommons.maths.random This package provides deterministic, repeatable, pseudo-random number generators, a set of strategies for seeding them, and classes for generating values from different probability distributions. -
-
Uses of NumberGenerator in org.uncommons.maths.number
Classes in org.uncommons.maths.number that implement NumberGenerator Modifier and Type Class Description classAdjustableNumberGenerator<T extends java.lang.Number>Implementation ofNumberGeneratorthat works similarly toConstantGeneratorbut allows the returned value to be changed after instantiation.classConstantGenerator<T extends java.lang.Number>Convenience implementation ofNumberGeneratorthat always returns the same value. -
Uses of NumberGenerator in org.uncommons.maths.random
Classes in org.uncommons.maths.random that implement NumberGenerator Modifier and Type Class Description classBinomialGeneratorDiscrete random sequence that follows a binomial distribution.classContinuousUniformGeneratorContinuous, uniformly distributed random sequence.classDiscreteUniformGeneratorDiscrete, uniformly distributed random sequence.classExponentialGeneratorContinuous random sequence that follows an exponential distribution.classGaussianGeneratorNormally distributed random sequence.classPoissonGeneratorDiscrete random sequence that follows a Poisson distribution.Fields in org.uncommons.maths.random declared as NumberGenerator Modifier and Type Field Description private NumberGenerator<java.lang.Double>GaussianGenerator. meanprivate NumberGenerator<java.lang.Double>PoissonGenerator. meanprivate NumberGenerator<java.lang.Integer>BinomialGenerator. nprivate NumberGenerator<java.lang.Double>BinomialGenerator. pprivate NumberGenerator<java.lang.Double>ExponentialGenerator. rateprivate NumberGenerator<java.lang.Double>GaussianGenerator. standardDeviationConstructors in org.uncommons.maths.random with parameters of type NumberGenerator Constructor Description BinomialGenerator(NumberGenerator<java.lang.Integer> n, NumberGenerator<java.lang.Double> p, java.util.Random rng)Creates a generator of binomially-distributed values.ExponentialGenerator(NumberGenerator<java.lang.Double> rate, java.util.Random rng)Creates a generator of exponentially-distributed values from a distribution with a rate controlled by the specified generator parameter.GaussianGenerator(NumberGenerator<java.lang.Double> mean, NumberGenerator<java.lang.Double> standardDeviation, java.util.Random rng)Creates a generator of normally-distributed values.PoissonGenerator(NumberGenerator<java.lang.Double> mean, java.util.Random rng)Creates a generator of Poisson-distributed values.
-