HP 3000 Manuals

DET [ HP Business BASIC/XL Reference Manual ] MPE/iX 5.0 Documentation


HP Business BASIC/XL Reference Manual

DET 

The DET function returns the determinant of a square numeric matrix.  If
the matrix is DECIMAL or SHORT DECIMAL, HP Business BASIC/XL converts it
to REAL before computing the determinant.  The result is of the default
numeric type.

Syntax 

DET(num_sq_matrix)

Parameters 

num_sq_matrix    A two dimensional numeric array with the same number of
                 rows as columns.

Examples 

OPTION BASE 1 is assumed.

     A(2,2): 1 2   D(3,3): 1 0 1  E(2,2): 8 3
             4 5           3 5 7          4 7
                           9 0 9

     DET(A) = -3
     DET(D) = 0
     DET(E) = 44



MPE/iX 5.0 Documentation