| Modifier and Type | Method and Description |
|---|---|
double |
quantile(double prob)
Compute the value of the quantile function at the given probability.
|
double |
rand()
Generate a random value from the distribution.
|
double rand()
double quantile(double prob)
prob - the probability that the random variable X ≤ q, where q is the quantile value.