public final class UniformDistributionApproximation extends AbstractDistributionApproximation
max, min, normal, numberOfPoints, points, range, step, weights
Constructor and Description |
---|
UniformDistributionApproximation(double min,
double max,
int numberOfPoints)
Create a uniform distribution with a specified number of evaluation points between the min and max values.
|
Modifier and Type | Method and Description |
---|---|
void |
setDensityAt(int index,
double value) |
void |
setPointAt(int index,
double value) |
java.lang.String |
toString() |
evaluate, getDensityAt, getMaximum, getMean, getMinimum, getNumberOfPoints, getPointAt, getPoints, getStandardDeviation, getVariance, setNormalPointsAndWeights, setUniformPointsAndWeights, standardize
public UniformDistributionApproximation(double min, double max, int numberOfPoints)
min
- minimum value of the distribution.max
- maximum value of the distribution.numberOfPoints
- number of points in the distribution.