Description
The inversion function is
Gauss-Jordan substitution with full pivoting. The input matrix may be
rectangular. If the number of rows (equations) is greater then the
number of columns (unknowns), the inverted matrix represents a
least-squares fit. The input matrix is not affected.
If the input matrix is singular, a fail is returned.