public abstract class AbstractDiscreteDistribution extends AbstractDistribution
serialVersionUID
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 AbstractDistribution
public abstract int nextInt()
nextInt
in class AbstractDistribution
Jas4pp 1.5 © Java Analysis Studio for Particle Physics