@inverse |

Syntax: @inverse(m)

Argument: square matrix or sym, m

Return: matrix or sym

Returns the inverse of a square matrix object or sym. The inverse has the property that the product of the source matrix and its inverse is the identity matrix. The inverse of a matrix returns a matrix, while the inverse of a sym returns a sym. Note that inverting a sym is much faster than inverting a matrix.

Examples:

matrix m2 = @inverse(m1)

sym s2 = @inverse(s1)

sym s3 = @inverse(@implode(m2))

See @solvesystem.