Post Reply 
Non-graphing calculator supporting complex matrices?
03-01-2015, 12:31 PM
Post: #28
RE: Non-graphing calculator supporting complex matrices?
This program for the HP-15C implements one step of the Rayleigh quotient iteration:

Code:
LBL E
RESULT C
RCL MATRIX B
RCL MATRIX A
RCL MATRIX E
RCL I
*
-
RESULT D
/
RESULT B
ENTER
MATRIX 8
/
RESULT C
RCL MATRIX A
RCL MATRIX B
*
RESULT D
MATRIX 5
u RCL D
STO I
RTN

Store the matrix in A, the initial guess for the eigenvector in b, the initial guess of the eigenvalue in I and the identity matrix in E.

I assume that the index registers R0 and R1 are initialized to 1 (MATRIX 1) and recommend to work in user mode.

You can use the example in the Wikipedia article as a test-case.

Cheers
Thomas
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Non-graphing calculator supporting complex matrices? - Thomas Klemm - 03-01-2015 12:31 PM



User(s) browsing this thread: 1 Guest(s)