|Download Help (Windows Only)|
Owning Class: matrixops
Requires: MathScript RT Module
c = inv(a)
Computes the inverse of a square matrix.
|a||Specifies a square matrix. If a is singular, or has a determinant of zero, LabVIEW returns an error. If the reciprocal of the infinity norm of a is less than sqrt(eps), LabVIEW generates a warning because the inverse might be inaccurate. Consider checking the value of the inverse using inv(a)*a.|
|c||Returns the inverse of a. c is a square matrix.|
Use the / and \ operators if you multiply a matrix inverse by another matrix within larger expressions. For example, use A\B instead of inv(A)*B and use B/A instead of B*inv(A).
The following table lists the support characteristics of this function.
|Supported in the LabVIEW Run-Time Engine||Yes|
|Supported on RT targets||Yes|
|Suitable for bounded execution times on RT||Not characterized|
D = [3, 2, -1; 1, 6, 3; 2, -4, 0]
D_INV = inv(D)
RESULT = D*D_INV