Version:

Computes the inverse of a square matrix.

## Syntax

c = inv(a)

## a

Square matrix. If a is singular, or has a determinant of zero, MathScript returns an error. If the reciprocal of the infinity norm of a is less than sqrt(eps), MathScript generates a warning because the inverse might be inaccurate. Consider checking the value of the inverse using inv(a)*a.

## c

Inverse of a. c is a square matrix.