Section 12: Calculating with Matrices 151
Example: Calculate the transpose of matrix B. Matrix B was set in
preceding examples to
B =
1 2 3
4 5 9
Keystrokes Display
l > B
b 2 3
Displays descriptor
of 2 × 3 matrix B.
´ > 4
b 3 2
Descriptor of 3 × 2
transpose.
Matrix B (which you can view using l B in User mode) is now
B =
1 4
2 5
3 9
Scalar Operations
Scalar operations perform arithmetic operations between a scalar (that
is, a number) and each element of a matrix. The scalar and the descriptor
of the matrix must be placed in the X- and Y-registers—in either order.
(Note that the register position will affect the outcome of the - and ÷
functions.) The resulting values are stored in the corresponding elements
of the result matrix.
The possible operations are shown in the following table.