Section 12: Calculating with Matrices 153

Keystrokes

Display

 

 

1 -

b

2

3 Subtracts 1 from the elements of

matrix B and stores those values in the same elements of B.

The result (which you can view using lBin User mode) is

1

3

5

B = ⎢

9

.

⎣⎢7

17⎦⎥

Arithmetic Operations

With matrix descriptors in both the X- and Y-registers, pressing +or

-calculates the sum or difference of the matrices.

Pressing

Calculates*

 

 

+

Y + X

-

Y - X

*Result is stored in result matrix. Result matrix may be X or Y

Example: Calculate C = B - A, where A and B are defined in the previous example.

1

2

3

1

3

5

A =

 

and B =

 

.

4

5

9

7

9

17

Keystrokes Display

´<C

l>B b 2 3l>A A 2 3

Designates C as result matrix.

Recalls descriptor of matrix B. (This step can be skipped if descriptor is already in X-register.)

Recalls descriptor of matrix A into X-register, moving descriptor of matrix B to Y-register.