The Cholesky factorization
Library · Source module
The Cholesky factorization
NLAlib.IsCholesky A L says that \mathbf{A} = \mathbf{L}\mathbf{L}^{\mathsf{H}} with \mathbf{L} lower triangular with positive diagonal. A matrix has a Cholesky factorization exactly when it is positive definite, and the factor is unique. A positive semidefinite matrix has a factorization with nonnegative diagonal, and after a symmetric permutation one whose nonzero columns are the first \operatorname{rank} \mathbf{A}.
Main definitions
* NLAlib.IsCholesky: the factorization predicate. * NLAlib.choleskyLower: the factor computed by elimination, for a matrix indexed by Fin n. * NLAlib.choleskyPivotPerm: the greedy symmetric permutation for diagonal pivoting.
Main results
* NLAlib.IsCholesky.posDef, NLAlib.IsCholesky.unique. * NLAlib.exists_isCholesky_iff_posDef, Matrix.PosDef.existsUnique_isCholesky. * Matrix.PosDef.isCholesky_choleskyLower: elimination computes the factorization. * Matrix.IsHermitian.choleskyLower_apply_self, Matrix.IsHermitian.choleskyLower_apply_self_pos_iff: the diagonal of the computed factor. * Matrix.PosSemidef.exists_perm_eq_mul_conjTranspose: the pivoted factorization.
Declarations
- Matrix.IsHermitian.choleskyLower_apply_self
- Matrix.IsHermitian.choleskyLower_apply_self_nonneg
- Matrix.IsHermitian.choleskyLower_apply_self_pos_iff
- Matrix.IsHermitian.forall_choleskyLower_apply_self_pos_iff
- Matrix.PosDef.existsUnique_isCholesky
- Matrix.PosDef.isCholesky_choleskyLower
- Matrix.PosSemidef.choleskyLower_choleskyPivotPerm_apply_eq_zero_of_rank_le
- Matrix.PosSemidef.choleskyLower_choleskyPivotPerm_apply_self_pos_iff
- Matrix.PosSemidef.eq_choleskyLower_mul_conjTranspose
- Matrix.PosSemidef.exists_eq_mul_conjTranspose_of_isLowerTriangular
- Matrix.PosSemidef.exists_perm_eq_mul_conjTranspose
- NLAlib.IsCholesky
- NLAlib.IsCholesky.det_eq_prod
- NLAlib.IsCholesky.isUnit_det
- NLAlib.IsCholesky.mulVec_eq_iff
- NLAlib.IsCholesky.posDef
- NLAlib.IsCholesky.unique
- NLAlib.choleskyLower
- NLAlib.choleskyPivotPerm
- NLAlib.exists_isCholesky_iff_posDef
- NLAlib.isLowerTriangular_choleskyLower
- NLAlib.re_gaussState_choleskyPivotPerm_le