Matrix Inversions

You can obtain the inverse of an n × n non-singular matrix using function imsl.linalg.lu_inv().

There is no need to compute the inverse of a matrix if the purpose is to solve one or more systems of linear equations. Even with multiple right-hand sides, solving a system of linear equations by computing the inverse and performing matrix multiplication is usually more expensive than the method discussed in Multiple Right-Hand Sides.