public class UniformDistribution extends Distribution
Constructor and Description |
---|
UniformDistribution(double lower,
double upper)
Create a uniform real distribution using the given lower and upper
bounds.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
double |
getLower() |
double |
getUpper() |
int |
hashCode() |
void |
setLower(double lower) |
void |
setUpper(double upper) |
String |
toString() |
clone
public UniformDistribution(double lower, double upper) throws org.apache.commons.math3.exception.NumberIsTooLargeException
lower
- Lower bound of this distribution (inclusive).upper
- Upper bound of this distribution (exclusive).org.apache.commons.math3.exception.NumberIsTooLargeException
- if lower >= upper
.Copyright © 2016. All Rights Reserved.