public class ExpDistribution
extends java.lang.Object
| Constructor and Description |
|---|
ExpDistribution(double theta) |
| Modifier and Type | Method and Description |
|---|---|
double |
next()
Time to next random event
|
double |
no(double x) |
double |
pdf(double x)
This is the density function
|
public ExpDistribution(double theta)
theta - is the mean of this distributionpublic double pdf(double x)
x - is the eventpublic double no(double x)
x - is the eventpublic double next()