| org.apache.commons.math.distribution.BinomialDistribution
All known Subclasses: org.apache.commons.math.distribution.BinomialDistributionImpl,
getNumberOfTrials | int getNumberOfTrials()(Code) | | Access the number of trials for this distribution.
the number of trials. |
getProbabilityOfSuccess | double getProbabilityOfSuccess()(Code) | | Access the probability of success for this distribution.
the probability of success. |
setNumberOfTrials | void setNumberOfTrials(int trials)(Code) | | Change the number of trials for this distribution.
Parameters: trials - the new number of trials. |
setProbabilityOfSuccess | void setProbabilityOfSuccess(double p)(Code) | | Change the probability of success for this distribution.
Parameters: p - the new probability of success. |
|
|