RPN Program for Eigenvalues?



#2

Hello Math-heads,

I've been looking for an RPN program that calculates all the Eigenvalues for a generic case, NxN square matrix. Tthat is to say not limited to 3x3, or 4x4, etc.

I'd appreciate your hints if you know of such a program being available somewhere.

BTW, the program below will solve for real eigenvalues, but of course won't find complex values, nor there's a fool-proof method (depends on initial guesses, etc. It is nevertheless an interesting example of the power of the advantage matrix functions, combined with solve.

LBL "*VP"
STO 00
"IDN"
XROM "MIDN"
RCL 00
"X"
MAT*
"IDN,AA,IDN"
MAT-
"IDN"
MDET
RTN
LBL "EIGEN"
"DIM=?"
PROMPT
"AA"
MATDIM
XROM "IMR"
DIM?
"IDN"
MATDIM
E
ENTER^
50
"*VP"
SOLVE
"VP="
ARCL X
AVIEW
END


#3

PPC-TN V1N3 Oct. 1980 may help a bit. A 214 step RPN program to compute all eigenvalues of a real symmetic matrix up to 22 x 22 using Jacobi's method is listed on page 12. I believe it was submitted by Valentin Albillo.


#4

Bill, right on the money! Thanks so much.


Possibly Related Threads...
Thread Author Replies Views Last Post
  Prime: Placing more than 1 item on the RPN stack in a single program? John Colvin 4 863 11-19-2013, 08:59 AM
Last Post: Miguel Toro
  HP Prime: Recommendation for future RPN Program Mode BruceTTT 3 757 11-13-2013, 10:03 PM
Last Post: BruceTTT
  HP Prime: run a program in another program Davi Ribeiro de Oliveira 6 1,024 11-11-2013, 08:28 PM
Last Post: Davi Ribeiro de Oliveira
  [PRIME] RPN: another attempt at returning more than one value to the RPN stack Marcus von Cube, Germany 5 1,039 11-05-2013, 02:44 AM
Last Post: Marcus von Cube, Germany
  Using the Prime to solve for eigenvalues Michael de Estrada 28 3,599 10-27-2013, 07:21 AM
Last Post: Tarcisi C
  Is There A 39gII Applet or Program yet which does RPN? Jake Schwartz 6 752 10-31-2012, 04:28 PM
Last Post: Namir
  Request for HP 30b program to switch to ALG-RPN Sujith Abraham 1 400 09-27-2012, 11:00 AM
Last Post: Bruce Bergman
  HP-41C/CV/CX Eigenvalues/Vectors help mbrethen 2 491 02-06-2011, 02:41 AM
Last Post: Ángel Martin
  New Iphone & Itouch calculator - Access RPN and Active RPN Nigel Bamber 1 470 06-10-2009, 04:13 PM
Last Post: Jean-Michel
  Another calculator with RPN (Corvus 500 RPN) Saile (Brazil) 7 983 03-31-2009, 12:14 AM
Last Post: Michael de Estrada

Forum Jump: