Section 12: Calculating with Matrices 151

Example: Calculate the transpose of matrix B. Matrix B was set in preceding examples to

 

 

⎡1

2

3⎤

 

 

 

B =

 

.

 

 

 

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 lBin User mode) is now

⎡1 4⎤ B = 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.