inv

sisl.linalg.inv(a, overwrite_a=False)[source]

Inverts a matrix

Parameters:

a : (N, N) array_like

the matrix to be inverted.

overwrite_a : bool, optional

whether we are allowed to overwrite the matrix a

Returns:

x : (N, N) ndarray

The inverted matrix