public interface DiscreteDistribution extends Distribution
Modifier and Type | Method and Description |
---|---|
double |
probability(double x)
For a random variable X whose values are distributed according
to this distribution, this method returns P(X = x).
|
cumulativeProbability, cumulativeProbability
double probability(double x)
x
- the value at which the probability mass function is evaluated.Copyright © 2010 - 2020 Adobe. All Rights Reserved