@Deprecated public final class UserSuppliedDistributionApproximation extends AbstractDistributionApproximation
max, min, normal, numberOfPoints, points, range, step, weights
Constructor and Description |
---|
UserSuppliedDistributionApproximation()
Deprecated.
Creates the distribution approximation with no evaluation points or density values.
|
UserSuppliedDistributionApproximation(double[] points,
double[] density)
Deprecated.
Create the distribution approximation with an array of evaluation points and an array of density values
provided by the user.
|
Modifier and Type | Method and Description |
---|---|
void |
increment(double point)
Deprecated.
An evaluation points.
|
void |
increment(double point,
double density)
Deprecated.
Increment the array of evaluation points and weights with the provided values.
|
void |
setDensityAt(int index,
double value)
Deprecated.
|
void |
setPointAt(int index,
double value)
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
evaluate, getDensityAt, getMaximum, getMean, getMinimum, getNumberOfPoints, getPointAt, getPoints, getStandardDeviation, getVariance, setNormalPointsAndWeights, setUniformPointsAndWeights, standardize
public UserSuppliedDistributionApproximation(double[] points, double[] density)
points
- array of evaluation points.density
- array of density values.public UserSuppliedDistributionApproximation()
increment(double)
or increment(double)
;public void increment(double point, double density)
point
- an evaluation point.density
- a density value.public void increment(double point)
point
- public void setDensityAt(int index, double value)
public void setPointAt(int index, double value)
public java.lang.String toString()
toString
in class java.lang.Object