|
SSJ V. 1.1.9. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Distribution
This interface should be implemented by classes supporting discrete and continuous distributions over the real numbers. It specifies the signatures of methods that compute the distribution function F(x), the complementary distribution function bar(F)(x), and the inverse distribution function F-1(u).
For distributions over integers, use the class
DiscreteDistributionInt.
| Method Summary | |
|---|---|
double |
barF(double x)
Returns bar(F)(x) = 1 - F(x). |
double |
cdf(double x)
Computes and returns the distribution function F(x). |
double |
inverseF(double u)
Computes and returns the inverse distribution function F-1(u), defined in. |
| Method Detail |
|---|
double cdf(double x)
x - value at which the distribution function is evaluated
double barF(double x)
x - value at which the complementary distribution function is evaluated
double inverseF(double u)
u - value in the interval (0, 1) for which the inverse
distribution function is evaluated
|
SSJ V. 1.1.9. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||