Download  Print this page

HP -28S Manual Page 266

Advanced scientific calculator.
Hide thumbs

Advertisement

~GET
(Get an Element of
~COV)
Given
p
and
q,
each indicating either the first or second
position
in
~PAR
extract the rs element from
~COv,
where rand s are the cor-
responding first or second
elements
in
~PAR.
~GET
is called by
~X2, ~Y2,
and
~XY
with the following arguments.
• For
~X2,
P
• For
~Y2,
P
• For
~XY,
P
1 and
q
2 and
q
1 and
q
Arguments
2:
1
or
2
1 :
1
or
2
Program
:COI.}
:PAF.:
DUP
5
F~OLL
GET
::;~·lAP
4 F.:OLL
GET
2 "LIST
GET
I
ENTER
I
CJ
LGET
I
STO
I
1.
2.
2.
Results
2:
1 :
rs element of 2:COV
Comments
Begin the program.
Put the covariance matrix on the
stack.
Put the list of statistics param-
eters on the stack.
Make a copy.
Move
p
to level 1.
Get r, the
pth
element in
~PAR.
Move
~PAR
to level 1.
Move
q
to level 1.
Get s, the qth element in
~PAR.
Put { r, s } on the stack.
Get the rs element from
~COv.
End the program.
Put the program on the stack.
Store the program as
~GET.
28: Programming Examples
265

Advertisement

Table of Contents

   Also See for HP HP-28S

   Related Manuals for HP HP-28S

Comments to this Manuals

Symbols: 0
Latest comments: