Class PoissonDistribution
java.lang.Object
org.monarchinitiative.lirical.core.likelihoodratio.poisson.PoissonDistribution
This class and the other classes in this package were adapted and mainly copied from the
Apache Math package. There were two goals of the adaptation -- to allow double values
(apache just allows integers) and to avoid having to import the entire Apache package
into LIRICAL.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getMean()
Get the mean for the distribution.double
probability
(double x)
-
Constructor Details
-
PoissonDistribution
public PoissonDistribution(double mean)
-
-
Method Details
-
getMean
public double getMean()Get the mean for the distribution.- Returns:
- the mean for the distribution.
-
probability
public double probability(double x)
-