Single-precision in-place matrix inversion via LU.
Overwrites with . Internally runs sgetrf_ (LU with
partial pivoting) followed by sgetri_ (invert using the LU factors).
Math
References
LAPACK sgetrf_ + sgetri_.
Parameters
Afloat*Row-major matrix; replaced in place with .
nintSide length.
infoint*LAPACK status word.
0 = success; < 0 = illegal argument; > 0 = matrix is exactly singular (no inverse).