LDL decomposition #
This file proves the LDL-decomposition of matrices: Any positive definite matrix S
can be
decomposed as S = LDLแดด
where L
is a lower-triangular matrix and D
is a diagonal matrix.
Main definitions #
LDL.lower
is the lower triangular matrixL
.LDL.lowerInv
is the inverse of the lower triangular matrixL
.LDL.diag
is the diagonal matrixD
.
Main result #
LDL.lower_conj_diag
states that any positive definite matrix can be decomposed asLDLแดด
.
TODO #
- Prove that
LDL.lower
is lower triangular fromLDL.lowerInv_triangular
.
The inverse of the lower triangular matrix L
of the LDL-decomposition. It is obtained by
applying Gram-Schmidt-Orthogonalization w.r.t. the inner product induced by Sแต
on the standard
basis vectors Pi.basisFun
.
Equations
- LDL.lowerInv hS = gramSchmidt ๐ โ(Pi.basisFun ๐ n)
Instances For
Equations
- One or more equations did not get rendered due to their size.
The entries of the diagonal matrix D
of the LDL decomposition.
Equations
- LDL.diagEntries hS i = โช(WithLp.equiv 2 (n โ ๐)).symm (star (LDL.lowerInv hS i)), (WithLp.equiv 2 (n โ ๐)).symm (Matrix.mulVec S (star (LDL.lowerInv hS i)))โซ_๐
Instances For
The diagonal matrix D
of the LDL decomposition.
Equations
- LDL.diag hS = Matrix.diagonal (LDL.diagEntries hS)
Instances For
Inverse statement of LDL decomposition: we can conjugate a positive definite matrix by some lower triangular matrix and get a diagonal matrix.
The lower triangular matrix L
of the LDL decomposition.
Equations
- LDL.lower hS = (LDL.lowerInv hS)โปยน
Instances For
LDL decomposition: any positive definite matrix S
can be
decomposed as S = LDLแดด
where L
is a lower-triangular matrix and D
is a diagonal matrix.