Package org.hipparchus.linear
Class SemiDefinitePositiveCholeskyDecomposition
java.lang.Object
org.hipparchus.linear.SemiDefinitePositiveCholeskyDecomposition
Calculates the Cholesky decomposition of a positive semidefinite matrix.
The classic Cholesky decomposition (CholeskyDecomposition
) applies to real
symmetric positive-definite matrix. This class extends the Cholesky decomposition to
positive semidefinite matrix. The main application is for estimation based on the
Unscented Kalman Filter.
- Since:
- 2.2
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final double
Default threshold below which elements are not considered positive. -
Constructor Summary
ConstructorsConstructorDescriptionCalculates the Cholesky decomposition of the given matrix.SemiDefinitePositiveCholeskyDecomposition
(RealMatrix matrix, double positivityThreshold) Calculates the Cholesky decomposition of the given matrix. -
Method Summary
-
Field Details
-
Constructor Details
-
SemiDefinitePositiveCholeskyDecomposition
Calculates the Cholesky decomposition of the given matrix.- Parameters:
matrix
- the matrix to decompose- Throws:
MathIllegalArgumentException
- if the matrix is not square.- See Also:
-
SemiDefinitePositiveCholeskyDecomposition
Calculates the Cholesky decomposition of the given matrix.- Parameters:
matrix
- the matrix to decomposepositivityThreshold
- threshold below which elements are not considered positive- Throws:
MathIllegalArgumentException
- if the matrix is not square.
-
-
Method Details