public class AdaptativeGaussHermiteQuadrature extends GaussHermiteQuadrature
GaussQuadrature.NumberOfPointsrescalingFactors, weights, xValues| Constructor and Description |
|---|
AdaptativeGaussHermiteQuadrature(GaussQuadrature.NumberOfPoints numberOfPoints)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getIntegralApproximation(AbstractMathematicalFunction functionToEvaluate,
java.util.List<java.lang.Integer> parameterIndices,
Matrix lowerCholeskyTriangle)
This method returns the value of a multi-dimension integral
|
protected double |
getOneDimensionIntegral(AbstractMathematicalFunction functionToEvaluate,
java.lang.Integer parameterIndex,
double standardDeviation)
This method makes it possible to integrate an AbstractStatisticalExpression through Gauss-Hermite quadrature.
|
getMultiDimensionIntegral, getRescalingFactors, getWeights, getXValuesgetOrderedNodesgetLowerBound, getUpperBound, setLowerBound, setUpperBound, setXValuesFromListOfPointspublic AdaptativeGaussHermiteQuadrature(GaussQuadrature.NumberOfPoints numberOfPoints)
numberOfPoints - the number of points the integral is based on.public double getIntegralApproximation(AbstractMathematicalFunction functionToEvaluate, java.util.List<java.lang.Integer> parameterIndices, Matrix lowerCholeskyTriangle)
getIntegralApproximation in class GaussHermiteQuadraturefunctionToEvaluate - an EvaluableFunction instance that returns DoubleparameterIndices - the indices of the parameters over which the integration is madelowerCholeskyTriangle - the lower triangle of the Cholesky factorization of the variance-covariance matrixprotected double getOneDimensionIntegral(AbstractMathematicalFunction functionToEvaluate, java.lang.Integer parameterIndex, double standardDeviation)
GaussHermiteQuadraturegetOneDimensionIntegral in class GaussHermiteQuadraturefunctionToEvaluate - an EvaluableFunction instance that returns DoubleparameterIndex - the index of the parameter over which the integration is madestandardDeviation - the standard deviation of this variable