HP 3000 Manuals

DINVERT [ Compiler Library/XL Reference Manual ] MPE/iX 5.0 Documentation


Compiler Library/XL Reference Manual

DINVERT 

DINVERT inverts a square matrix containing longreal numbers; the
resulting inverse is stored over the input matrix.

Declaration 

        TYPE longreal_matx=ARRAY[1..N, 1..N] OF longreal;

        PROCEDURE DINVERT(n:SHORTINT; ANYVAR a:LONGREAL_matx;
                          VAR d:SHORTINT); EXTERNAL;

Attributes 

Parameters:               n is an integer for the order of the matrix; a
                          is a longreal identifier of the matrix for d,
                          an integer identifier.

Result:                   DINVERT replaces the input matrix.  d is equal
                          to 1 if the matrix is non-singular or 0 if the
                          matrix is singular and no inverse exists.

HP FORTRAN 77/XL:         Callable as a system intrinsic:

                                    CALL DINVERT(n, a, d)

Error:                    None.



MPE/iX 5.0 Documentation