public interface ContinuousDistribution extends Distribution
Base interface for continuous distributions.
Note: this interface will be extended in version 3.0 to include
public double density(double x)
that is, from version 3.0 forward, continuous distributions must
include implementations of probability density functions. As of version
2.1, all continuous distribution implementations included in commons-math
provide implementations of this method.
Modifier and Type | Method and Description |
---|---|
double |
inverseCumulativeProbability(double p)
For this distribution, X, this method returns x such that P(X < x) = p.
|
cumulativeProbability, cumulativeProbability
double inverseCumulativeProbability(double p) throws MathException
p
- the cumulative probability.MathException
- if the inverse cumulative probability can not be
computed due to convergence or other numerical errors.Copyright © 2010 - 2020 Adobe. All Rights Reserved