
public interface Distribution
| Modifier and Type | Method and Description |
|---|---|
double |
cdf(double val)
Return the cumulative density function at the given value.
|
double |
nextRandom()
Generate a new random value
|
double |
pdf(double val)
Return the density of an existing value
|
String |
toString()
Describe the distribution
|
double nextRandom()
double pdf(double val)
val - existing valuedouble cdf(double val)
val - existing value