RogueWave

Previous topic

imsl.linalg.lu_cond

Next topic

imsl.linalg.lu_factor

imsl.linalg.lu_inv

lu_inv(a)

Compute the inverse of a matrix.

Parameters:

a : (N,N) array_like

Square matrix to be inverted.

Returns:

(N,N) ndarray

The inverse of the matrix a.

Notes

This function creates a temporary LU() instance and calls method LU.inv() on that instance.