Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Misc
Class Exponential  view Exponential download Exponential.java

java.lang.Object
  extended byMisc.Probability
      extended byMisc.Exponential

public class Exponential
extends Probability


Field Summary
private  double lambda
           
 
Constructor Summary
Exponential(double lambda)
          Creates a new instance of Exponential
 
Method Summary
 int rand()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lambda

private double lambda
Constructor Detail

Exponential

public Exponential(double lambda)
Creates a new instance of Exponential

Method Detail

rand

public int rand()
Specified by:
rand in class Probability