| org.apache.commons.math.distribution.DiscreteDistribution
DiscreteDistribution | public interface DiscreteDistribution extends Distribution(Code) | | Base interface for discrete distributions.
version: $Revision: 155427 $ $Date: 2005-02-26 06:11:52 -0700 (Sat, 26 Feb 2005) $ |
Method Summary | |
double | probability(double x) For a random variable X whose values are distributed according
to this distribution, this method returns P(X = x). |
probability | double probability(double x)(Code) | | For a random variable X whose values are distributed according
to this distribution, this method returns P(X = x). In other words, this
method represents the probability mass function, or PMF for the distribution.
Parameters: x - the value at which the probability mass function is evaluated. the value of the probability mass function at x |
|
|