HP Business BASIC/XL Reference Manual - HP 3000 MPE/iX Computer Systems - Edition 1 (32715-90001)

4-: 79
matrix.
INV Inverts square matrix.
MUL Multiplies two matrices or a
vector and a matrix.
Table 4-5 through Table 4-6 give more information about the MAT =
statement.
Table 4-5 Gives the new dimensions of and value of
num_array1
for
each form of the MAT = statement.
Table 4-6 Shows how the dimensions of
num_array2
and
num_array3
determine the new dimensions of
num_array1
.
Table 4-5. Forms of MAT = Statement
---------------------------------------------------------------------------------------------
|| | |
| Form | Redimensions
num_array1
| Where
num_array1
(
i
) and
num_array2
(
i
) |
||to Dimension of: | are Corresponding Elements:
num_array1
(
i
)= |
|| | |
---------------------------------------------------------------------------------------------
|| | |
|1 |
num_array2
|
num_array2
(
i
)|
|| | |
---------------------------------------------------------------------------------------------
|| | |
| 2 | Does not redimension |
num_expr
|
|| | |
||
num_array1
||
|| | |
---------------------------------------------------------------------------------------------
|| | |
|3a |
num_array2
|
num_array2
(
i
)
op num_expr
|
|| | |
---------------------------------------------------------------------------------------------
|| | |
|3b |
num_array2
|
num_expr op num_array2
(
i
)|
|| | |
---------------------------------------------------------------------------------------------
|| | |
|4 |
num_array2
,|
num_array2
(
i
)
op num_array3
(
i
)|
|| | |
||
num_array3
||
| | (same) | |
|| | |
---------------------------------------------------------------------------------------------
|| | |
| 5 | Specified dimensions, if any | ZER: 0 |
| | | CON: 1 |
| | | IDN: 1 if it is on the top-left-to-bottom-ri|ht
| | | diagonal; 0 otherwise |
|| | |
---------------------------------------------------------------------------------------------
|| | |
|6 |
num_array2
|
scalar_or_array_function
(
num_array2
)|
|| | |
---------------------------------------------------------------------------------------------
|| | |
| 7 | See Table 4-6 | See Table 4-6 |
|| | |
|8 | | |
|| | |
---------------------------------------------------------------------------------------------