Parallel Colt 0.7.2

cern.jet.random.tdouble
Class AbstractDiscreteDistribution

java.lang.Object
  extended by cern.colt.PersistentObject
      extended by cern.jet.random.tdouble.AbstractDoubleDistribution
          extended by cern.jet.random.tdouble.AbstractDiscreteDistribution
All Implemented Interfaces:
DoubleFunction, IntFunction, Serializable, Cloneable
Direct Known Subclasses:
Binomial, EmpiricalWalker, HyperGeometric, NegativeBinomial, Poisson, PoissonSlow, Zeta

public abstract class AbstractDiscreteDistribution
extends AbstractDoubleDistribution

Abstract base class for all discrete distributions.

Version:
1.0, 09/24/99
Author:
wolfgang.hoschek@cern.ch
See Also:
Serialized Form

Field Summary
 
Fields inherited from class cern.colt.PersistentObject
serialVersionUID
 
Method Summary
 double nextDouble()
          Returns a random number from the distribution; returns (double) nextInt().
abstract  int nextInt()
          Returns a random number from the distribution.
 
Methods inherited from class cern.jet.random.tdouble.AbstractDoubleDistribution
apply, apply, clone, makeDefaultGenerator
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

nextDouble

public double nextDouble()
Returns a random number from the distribution; returns (double) nextInt().

Specified by:
nextDouble in class AbstractDoubleDistribution

nextInt

public abstract int nextInt()
Returns a random number from the distribution.

Overrides:
nextInt in class AbstractDoubleDistribution

Parallel Colt 0.7.2

Jump to the Parallel Colt Homepage