beautypg.com

Arithmetic operations – HP 15c User Manual

Page 153

background image

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 lB in User mode) is

17

9

7

5

3

1

B

.

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.

.

and

17

9

7

5

3

1

9

5

4

3

2

1









B

A

Keystrokes

Display

´< C

Designates C as result matrix.

l> B

b

2

3 Recalls descriptor of matrix B.

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

l> A

A

2

3 Recalls descriptor of matrix A into

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