NLA-lib Explorer

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