# LDLt factorization for full matrices

**URL:** <https://discourse.julialang.org/t/ldlt-factorization-for-full-matrices/75356>\
**Category:** Numerics\
**Tags:** question, linearalgebra\
**Created:** [January 28, 2022, 12:09pm UTC](https://discourse.julialang.org/t/ldlt-factorization-for-full-matrices/75356 "2022-01-28T12:09:26Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![MikaelSlevinsky](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mikaelslevinsky/32/38545_2.png) [@MikaelSlevinsky](https://discourse.julialang.org/u/MikaelSlevinsky)\
**Post date:** [January 28, 2022, 4:48pm UTC](https://discourse.julialang.org/t/ldlt-factorization-for-full-matrices/75356/6 "2022-01-28T16:48:16Z")

</div>

If you don’t care about stability\*, just run `lu` without pivoting and extract the diagonal `D` from the diagonal of `U`. If it’s symmetric (and no pivoting is used), then `U = DL'`.

\*This is probably why such a method doesn’t exist in `LinearAlgebra`.

---

_[View the full topic](https://discourse.julialang.org/t/ldlt-factorization-for-full-matrices/75356)._
