mtl5.ldlt#

mtl5.ldlt(A)#

LDL^T factorization of a symmetric matrix.

Takes no square roots, so unlike cholesky it tolerates an indefinite matrix; .diagonal() returns D, whose signs give the inertia. It does not pivot, so a zero pivot raises.

Available for float32/float64 and all ten Universal dtypes, which is what makes a Cholesky-versus-LDL^T comparison across number systems possible. The integer element types (i32/i64) are not supported.