
public interface Distribution
DistributionWithRandom for distributions that also have a random
generator included.| Modifier and Type | Method and Description |
|---|---|
double |
cdf(double val)
Return the cumulative density function at the given value.
|
double |
pdf(double val)
Return the density of an existing value
|
double |
quantile(double val)
Quantile aka probit (for normal) aka inverse CDF (invcdf, cdf^-1) function.
|
String |
toString()
Describe the distribution
|
double pdf(double val)
val - existing valuedouble cdf(double val)
val - existing valuedouble quantile(double val)
val - Quantile to find