
10 Matrix Operations
MAT result array = function (operand array)
The function must be a single argument system function like ABS or SQR. User defined functions are not allowed.
For example, the following program line assigns the square root of each element in array A to the corresponding element in array B:
100 MAT B=SQR(A)
SUM operand array
The following two sequences are equivalent:
10 M A(10,10)=SUM A 10 FOR J=1 TO 10
20 I=SUM A 20 FOR K=1 TO 10
30 I=I+A(J,K)
40 NEXT K
50 NEXT J
ROW operand array
COL operand array