Package org.hipparchus.linear
Class CholeskyDecomposer
java.lang.Object
org.hipparchus.linear.CholeskyDecomposer
- All Implemented Interfaces:
MatrixDecomposer
Matrix decomposer using Cholseky decomposition.
- Since:
- 1.3
-
Constructor Summary
ConstructorDescriptionCholeskyDecomposer
(double relativeSymmetryThreshold, double absolutePositivityThreshold) Creates a Cholesky decomposer with specify threshold for several matrices. -
Method Summary
Modifier and TypeMethodDescriptionGet a solver for finding the A × X = B solution in least square sense.
-
Constructor Details
-
CholeskyDecomposer
public CholeskyDecomposer(double relativeSymmetryThreshold, double absolutePositivityThreshold) Creates a Cholesky decomposer with specify threshold for several matrices.- Parameters:
relativeSymmetryThreshold
- threshold above which off-diagonal elements are considered too different and matrix not symmetricabsolutePositivityThreshold
- threshold below which diagonal elements are considered null and matrix not positive definite
-
-
Method Details
-
decompose
Get a solver for finding the A × X = B solution in least square sense.- Specified by:
decompose
in interfaceMatrixDecomposer
- Parameters:
a
- coefficient matrix A to decompose- Returns:
- a solver
-