public interface DistributionApproximation
Modifier and Type | Method and Description |
---|---|
double[] |
evaluate()
Gets and array of density values.
|
double |
getDensityAt(int index)
Gets an elements from the array of density values.
|
double |
getMaximum() |
double |
getMean() |
double |
getMinimum() |
int |
getNumberOfPoints()
Number of evaluation points (and corresponding number of density values) in this approximation.
|
double |
getPointAt(int index)
Gets an element from the array of evaluation points.
|
double[] |
getPoints()
Gets an array of evaluation points.
|
double |
getStandardDeviation() |
void |
setDensityAt(int index,
double density) |
void |
setPointAt(int index,
double point) |
double[] |
standardize(boolean keepPoints) |
double[] getPoints()
double[] evaluate()
double getPointAt(int index)
index
- array index of evaluation points.double getDensityAt(int index)
index
- array index of density value.int getNumberOfPoints()
void setPointAt(int index, double point)
void setDensityAt(int index, double density)
double getMinimum()
double getMaximum()
double getMean()
double getStandardDeviation()
double[] standardize(boolean keepPoints)