|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PoissonDistribution
Interface representing the Poisson Distribution.
References:
Method Summary | |
---|---|
double |
getMean()
Get the mean for the distribution. |
double |
normalApproximateProbability(int x)
Calculates the Poisson distribution function using a normal approximation. |
void |
setMean(double p)
Deprecated. as of v2.1 |
Methods inherited from interface org.apache.commons.math.distribution.IntegerDistribution |
---|
cumulativeProbability, cumulativeProbability, inverseCumulativeProbability, probability |
Methods inherited from interface org.apache.commons.math.distribution.DiscreteDistribution |
---|
probability |
Methods inherited from interface org.apache.commons.math.distribution.Distribution |
---|
cumulativeProbability, cumulativeProbability |
Method Detail |
---|
double getMean()
@Deprecated void setMean(double p)
IllegalArgument
is thrown.
p
- the mean
java.lang.IllegalArgumentException
- if p ≤ 0double normalApproximateProbability(int x) throws MathException
x
- the upper bound, inclusive
MathException
- if an error occurs computing the normal approximation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |