10 Matrix Operations
MAT result vector = CSUM operand matrix
Each element in the result vector is the sum of the corresponding column of the operand matrix.
For example:
| 2 5 7 | Matrix A = | 9 8 1 | MAT B = CSUM A Vector B = | 11 13 8 |The result vector is redimensioned.
MAT result vector = RSUM operand matrix
Each element in the result vector is the sum of the corresponding row of the operand matrix.
For example:
| 2 4 6 8 | Matrix A = | 1 3 5 7 | MAT C = RSUM A | 20 | Vector C = | 16 |The result vector is redimensioned.