public abstract class AbstractDiscreteDistribution extends AbstractDoubleDistribution
Modifier and Type | Method and Description |
---|---|
double |
nextDouble()
Returns a random number from the distribution; returns
(double) nextInt().
|
abstract int |
nextInt()
Returns a random number from the distribution.
|
apply, apply, clone, makeDefaultGenerator
public double nextDouble()
nextDouble
in class AbstractDoubleDistribution
public abstract int nextInt()
nextInt
in class AbstractDoubleDistribution
Jump to the Parallel Colt Homepage