public class SemiDefinitePositiveCholeskyDecomposition extends Object
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.
| Modifier and Type | Field and Description |
|---|---|
static double |
POSITIVITY_THRESHOLD
Default threshold below which elements are not considered positive.
|
| Constructor and Description |
|---|
SemiDefinitePositiveCholeskyDecomposition(RealMatrix matrix)
Calculates the Cholesky decomposition of the given matrix.
|
SemiDefinitePositiveCholeskyDecomposition(RealMatrix matrix,
double positivityThreshold)
Calculates the Cholesky decomposition of the given matrix.
|
| Modifier and Type | Method and Description |
|---|---|
RealMatrix |
getL()
Returns the matrix L of the decomposition.
|
RealMatrix |
getLT()
Returns the transpose of the matrix L of the decomposition.
|
public static final double POSITIVITY_THRESHOLD
public SemiDefinitePositiveCholeskyDecomposition(RealMatrix matrix)
matrix - the matrix to decomposeMathIllegalArgumentException - if the matrix is not square.SemiDefinitePositiveCholeskyDecomposition(RealMatrix, double),
POSITIVITY_THRESHOLDpublic SemiDefinitePositiveCholeskyDecomposition(RealMatrix matrix, double positivityThreshold)
matrix - the matrix to decomposepositivityThreshold - threshold below which elements are not considered positiveMathIllegalArgumentException - if the matrix is not square.public RealMatrix getL()
L is an lower-triangular matrix
public RealMatrix getLT()
LT is an upper-triangular matrix
Copyright © 2016-2022 CS GROUP. All rights reserved.