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