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, makeDefaultGeneratorpublic double nextDouble()
nextDouble in class AbstractDoubleDistributionpublic abstract int nextInt()
nextInt in class AbstractDoubleDistributionJump to the Parallel Colt Homepage