public class LaplacianApproximation extends AdaptativeGaussHermiteQuadrature
GaussQuadrature.NumberOfPoints
rescalingFactors, weights, xValues
Constructor and Description |
---|
LaplacianApproximation()
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
|
java.util.List<java.lang.Double> |
getWeights()
This method returns the weights associated to the numerical integration.
|
java.util.List<java.lang.Double> |
getXValues()
This method returns the x values for the numerical integration.
|
getOneDimensionIntegral
getMultiDimensionIntegral, getRescalingFactors
getOrderedNodes
getLowerBound, getUpperBound, setLowerBound, setUpperBound, setXValuesFromListOfPoints
public java.util.List<java.lang.Double> getWeights()
NumericalIntegrationMethod
getWeights
in class GaussHermiteQuadrature
public java.util.List<java.lang.Double> getXValues()
NumericalIntegrationMethod
getXValues
in class GaussHermiteQuadrature
public double getIntegralApproximation(AbstractMathematicalFunction functionToEvaluate, java.util.List<java.lang.Integer> parameterIndices, Matrix lowerCholeskyTriangle)
getIntegralApproximation
in class AdaptativeGaussHermiteQuadrature
functionToEvaluate
- 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 matrix