Theorem (LDLT factorisation of SPD matrix)
$A\in \R^{n\times n}$ is symmetric positive definite iff it admits a factorisation $A=LDL^T$ where $L$ is lower unitriangular and $D$ is diagonal with positive entries.
Moreover the factorisation is unique.
$A\in \R^{n\times n}$ is symmetric positive definite iff it admits a factorisation $A=LDL^T$ where $L$ is lower unitriangular and $D$ is diagonal with positive entries.
Moreover the factorisation is unique.