matrix.I
numpy.matrix.I
-
matrix.I
-
Returns the (multiplicative) inverse of invertible
self
.Parameters: None
Returns: ret : matrix object
If
self
is non-singular,ret
is such thatret * self
==self * ret
==np.matrix(np.eye(self[0,:].size)
all returnTrue
.Raises: numpy.linalg.LinAlgError: Singular matrix