T - Type of the parameters of the distributionpublic interface ProbabilityDistribution<T>
| Modifier and Type | Method and Description |
|---|---|
double |
getCDF(T x)
Returns the cumulative distribution function for a value
|
double |
getInverseCDF(T p)
Given a probability, return the value that returns this cdf
|
double |
getPDF(T x)
Return the probability density function for a value
|
double |
nextRandom() |
double nextRandom()
double getPDF(T x)
x - The value, not nulldouble getCDF(T x)
x - The value, not nulldouble getInverseCDF(T p)
p - The probability, not null. $0 \geq p \geq 1$Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.