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.
Summary of Contents for HP-15C
Page 1: ...HP 15C Owner s Handbook HP Part Number 00015 90001 Edition 2 4 Sep 2011 ...
Page 17: ...Part l HP 15C Fundamentals ...
Page 64: ......
Page 65: ...Part ll HP 15C Programming ...
Page 118: ...118 ...