public class BinomialDistribution extends Distribution
Constructor and Description |
---|
BinomialDistribution(int numberOfTrials,
double probabilityOfSuccess)
Create a distribution
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getNumberOfTrials() |
double |
getProbabilityOfSuccess() |
int |
hashCode() |
void |
setProbabilityOfSuccess(double probabilityOfSuccess) |
String |
toString() |
clone
public BinomialDistribution(int numberOfTrials, double probabilityOfSuccess)
numberOfTrials
- the number of trialsprobabilityOfSuccess
- the probability of successCopyright © 2020. All rights reserved.