Page 10-14
For example, the following command in ALG mode for the list {1,2,3,4}:
In RPN mode, enter {1,2,3,4} ` V NDERMONDE.
Function HILBERT
Function HILBERT creates the Hilbert matrix corresponding to a dimension n. By
definition, the n×n Hilbert matrix is H
n
= [h
jk
]
n×n
, so that
The Hilbert matrix has application in numerical curve fitting by the method of
linear squares.
A program to build a matrix out of a number of lists
In this section we provide a couple of UserRPL programs to build a matrix out of
a number of lists of objects. The lists may represent columns of the matrix
(program @CRMC) or rows of the matrix (program @CRMR). The programs are
entered with the calculator set to RPN mode, and the instructions for the
keystrokes are given for system flag 117 set to SOFT menus. This section is
intended for you to practice accessing programming functions in the calculator.
The programs are listed below showing, in the left-hand side, the keystrokes
necessary to enter the program steps, and, in the right-hand side, the characters
⎥
⎥
⎥
⎥
⎥
⎥
⎦
⎤
⎢
⎢
⎢
⎢
⎢
⎢
⎣
⎡
−
−
−
−
12
1
3
2
33
1
2
2
22
1
1
2
11
1
1
1
1
n
nnn
n
n
n
xxx
xxx
xxx
xxx
L
MOMMM
L
L
L
1
1
−+
=
kj
h
jk