|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BinomialDistribution
The Binomial Distribution.
References:
Method Summary | |
---|---|
int |
getNumberOfTrials()
Access the number of trials for this distribution. |
double |
getProbabilityOfSuccess()
Access the probability of success for this distribution. |
void |
setNumberOfTrials(int trials)
Change the number of trials for this distribution. |
void |
setProbabilityOfSuccess(double p)
Change the probability of success for this distribution. |
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 |
---|
int getNumberOfTrials()
double getProbabilityOfSuccess()
void setNumberOfTrials(int trials)
trials
- the new number of trials.void setProbabilityOfSuccess(double p)
p
- the new probability of success.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |