# CUDA Matrix inverse

**URL:** <https://discourse.julialang.org/t/cuda-matrix-inverse/53341>\
**Category:** GPU\
**Tags:** cuda, linearalgebra\
**Created:** [January 14, 2021, 4:23pm UTC](https://discourse.julialang.org/t/cuda-matrix-inverse/53341 "2021-01-14T16:23:11Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![RoyiAvital](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/royiavital/32/571_2.png) [@RoyiAvital](https://discourse.julialang.org/u/RoyiAvital)\
**Post date:** [January 14, 2021, 7:02pm UTC](https://discourse.julialang.org/t/cuda-matrix-inverse/53341/8 "2021-01-14T19:02:59Z")

</div>

> [@Oscar\_Smith](#):
>
> [Why Shouldn't I Invert That Matrix?](http://gregorygundersen.com/blog/2020/12/09/matrix-inversion/) shows that inverting and multiplying has about 2x the forward error and 10x the backward error of a LU based solve (in the well conditioned case) and almost infinitely worse error for ill conditioned matrices. Furthermore the empirical results are in line with the theoretical ones.

[We had that discussion already](https://discourse.julialang.org/t/result-changes-depending-on-whether-matrix-is-sparse-or-not/30669/7).

---

_[View the full topic](https://discourse.julialang.org/t/cuda-matrix-inverse/53341)._
