public class UniformDistribution extends ContinuousDistribution
Modifier and Type | Field and Description |
---|---|
double |
interval |
double |
lowerBound |
rng
Constructor and Description |
---|
UniformDistribution(double lowerBound,
double upperBound) |
UniformDistribution(double lowerBound,
double upperBound,
RandomNumberGenerator rng) |
Modifier and Type | Method and Description |
---|---|
double |
next()
Create random numbers
|
getDefaultRNG, getRandomNumberGenerator, reset
public UniformDistribution(double lowerBound, double upperBound, RandomNumberGenerator rng)
public UniformDistribution(double lowerBound, double upperBound)
public double next()
ContinuousDistribution
next
in class ContinuousDistribution