Quantcast
Channel: Math.NET Numerics
Viewing all articles
Browse latest Browse all 971

New Post: Matrix Inversion does not give an error?

$
0
0
m.Inverse() is essentially the same as m.LU().Inverse() for a square matrix. The LU decomposition also provides the determinant - is it zero as it should be for a singular matrix, or is it NaN as well?
var lu = m.LU();
bool isInvertible = lu.Determinant != 0d;
var inverse = lu.Inverse();

Viewing all articles
Browse latest Browse all 971

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>