# Pseudoinverse x Factorization in a repeated linear solve: when to use which?

**URL:** <https://discourse.julialang.org/t/pseudoinverse-x-factorization-in-a-repeated-linear-solve-when-to-use-which/120972>\
**Category:** General Usage\
**Tags:** linearalgebra\
**Created:** [October 6, 2024, 1:52pm UTC](https://discourse.julialang.org/t/pseudoinverse-x-factorization-in-a-repeated-linear-solve-when-to-use-which/120972 "2024-10-06T13:52:55Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Post date:** [October 6, 2024, 9:41pm UTC](https://discourse.julialang.org/t/pseudoinverse-x-factorization-in-a-repeated-linear-solve-when-to-use-which/120972/7 "2024-10-06T21:41:34Z")

</div>

> [@mstewart](#):
>
> I still like to warn people away from explicit inversion unless they really want to worry about the details.

Agreed. Explicit matrix inversion (or pseudo-inversion) is only a good idea under relatively rare circumstances, even [just from a performance perspective](https://discourse.julialang.org/t/why-re-use-factorization-a-rather-than-inv-a/113234/5).

---

_[View the full topic](https://discourse.julialang.org/t/pseudoinverse-x-factorization-in-a-repeated-linear-solve-when-to-use-which/120972)._
