Intel® oneAPI Math Kernel Library Developer Reference - C
It is seldom necessary to compute an explicit inverse of a matrix. In particular, do not attempt to solve a system of equations Ax = b by first computing A-1 and then forming the matrix-vector product x = A-1b. Call a solver routine instead (see Routines for Solving Systems of Linear Equations); this is more efficient and more accurate.
However, matrix inversion routines are provided for the rare occasions when an explicit inverse matrix is needed.