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, resetpublic UniformDistribution(double lowerBound,
double upperBound,
RandomNumberGenerator rng)
public UniformDistribution(double lowerBound,
double upperBound)
public double next()
ContinuousDistributionnext in class ContinuousDistribution