Example usage for Java org.apache.commons.math3.random RandomDataImpl fields, constructors, methods, implement or subclass
The text is from its open source code.
RandomDataImpl() Construct a RandomDataImpl, using a default random generator as the source of randomness. | |
RandomDataImpl(RandomGenerator rand) Construct a RandomDataImpl using the supplied RandomGenerator as the source of (non-secure) random data. |
double | nextExponential(double mean) Algorithm Description: Uses the Algorithm SA (Ahrens) from p. |
double | nextGaussian(double mu, double sigma) |
int | nextInt(int lower, int upper) |
long | nextLong(long lower, long upper) |
int[] | nextPermutation(int n, int k) Uses a 2-cycle permutation shuffle. |