public interface Distribution
Modifier and Type | Method and Description |
---|---|
double |
cumulativeProbability(double x)
For a random variable X whose values are distributed according
to this distribution, this method returns P(X ≤ x).
|
double |
cumulativeProbability(double x0,
double x1)
For a random variable X whose values are distributed according
to this distribution, this method returns P(x0 ≤ X ≤ x1).
|
double cumulativeProbability(double x) throws MathException
x
- the value at which the distribution function is evaluated.x
MathException
- if the cumulative probability can not be
computed due to convergence or other numerical errors.double cumulativeProbability(double x0, double x1) throws MathException
x0
- the (inclusive) lower boundx1
- the (inclusive) upper boundx0
and x1
,
including the endpointsMathException
- if the cumulative probability can not be
computed due to convergence or other numerical errors.java.lang.IllegalArgumentException
- if x0 > x1
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"