matrix.inverse

Syntax

vr = matrix.inverse(v)

Get the matrix inverse. v must be convertible to a square matrix.

Returns:vr - Matrix or tensor pointer depending on the type of v. If v is a tensor (matrix or array), then the return is a tensor (matrix), respectively.
Arguments:v - array, matrix, or tensor pointer that must correspond to a square matrix