Example usage for Java org.apache.commons.math.random RandomGenerator fields, constructors, methods, implement or subclass
The text is from its open source code.
double | nextDouble() Returns the next pseudorandom, uniformly distributed double value between 0.0 and 1.0 from this random number generator's sequence. |
int | nextInt(int n) Returns a pseudorandom, uniformly distributed int value between 0 (inclusive) and the specified value (exclusive), drawn from this random number generator's sequence. |
void | setSeed(int seed) Sets the seed of the underlying random number generator using an int seed. |
void | setSeed(int[] seed) Sets the seed of the underlying random number generator using an int array seed. |
void | setSeed(long seed) Sets the seed of the underlying random number generator using a long seed. |