INVERT
Syntax | Return Value | Arguments | Keywords | Examples | Version History | See Also
The INVERT function uses the Gaussian elimination method to compute the inverse of a square array. Errors from singular or near-singular arrays are accumulated in the optional Status argument.
Note
If you are working with complex inputs, use the LA_INVERT function instead.
Syntax
Result = INVERT( Array [, Status] [, /DOUBLE] )
Return Value
The result is a single- or double-precision array of floating or complex values.
Arguments
Array
The array to be inverted. Array must have two dimensions of equal size (i.e., a square array) and can be of any type except string. Note that the resulting array will be composed of single- or double-precision floating-point or complex values, depending on whether the DOUBLE keyword is set.
Status
A named variable to receive the status of the operation. Possible status values are:
Keywords
DOUBLE
Set this keyword to force the computation to be done in double-precision arithmetic.
Examples
IDL prints:
Version History
See Also
COND, DETERM, LA_INVERT, REVERSE, ROTATE, TRANSPOSE