The IMSL_INV function computes the inverse of a real or complex, square matrix.
            This routine requires an IDL Advanced Math and Stats license. For more information, contact your sales or technical support representative.
            Example
            Compute the incomplete beta function for the corresponding elements of A, B, and Z.
            RM, a, 3, 3
            
            row 0: 1 3 3
            row 1: 1 3 4
            row 2: 1 4 4
            ainv = IMSL_INV(a)
             
            
            PM, a
             
            
            1.00000    3.00000    3.00000
            1.00000    3.00000    4.00000
            1.00000    4.00000    4.00000
            PM, ainv
             
            
             4.00000   -0.00000   -3.00000
             0.00000   -1.00000    1.00000
            -1.00000    1.00000    0.00000
            PM, a # ainv
             
            
            1.00000    0.00000    0.00000
            0.00000    1.00000    0.00000
            0.00000    0.00000    1.00000
            Syntax
            Result = IMSL_INV( A, [, /DOUBLE])
            Return Value
            A two-dimensional matrix containing the inverse of the matrix A.
            Arguments
            A
            Two-dimensional matrix containing the matrix to be inverted.
            Keywords
            DOUBLE (optional)
            If present and nonzero, double precision is used.
            Errors
            Fatal Errors
            MATH_SINGULAR_MATRIX: Input matrix is singular
            Version History