public class BinomialDistribution extends DiscreteDistribution
rng
Constructor and Description |
---|
BinomialDistribution(double mean,
double variance) |
BinomialDistribution(double mean,
double variance,
RandomNumberGenerator rng) |
BinomialDistribution(double p,
int upperBound) |
BinomialDistribution(double p,
int upperBound,
RandomNumberGenerator rng) |
Modifier and Type | Method and Description |
---|---|
int |
next()
Create random numbers
|
getDefaultRNG, getRandomNumberGenerator, reset
public BinomialDistribution(double mean, double variance, RandomNumberGenerator rng)
public BinomialDistribution(double mean, double variance)
public BinomialDistribution(double p, int upperBound, RandomNumberGenerator rng)
public BinomialDistribution(double p, int upperBound)
public int next()
DiscreteDistribution
next
in class DiscreteDistribution