[VA] SRC #015 - HP-15C & clones: Big NxN Matrix Inverse & Determinant
|
08-12-2023, 12:45 PM
(This post was last modified: 11-30-2023 03:28 AM by Werner.)
Post: #7
|
|||
|
|||
RE: [VA] SRC #015 - HP-15C & clones: Big NxN Matrix Inverse & Determinant
I saw this and promptly ordered a 15CE, which I wasn't planning to do ;-)
(I'd request a commission, Valentin) It arrived 4 days ago, and I have been able to try out Valentin's routine, and get acquainted with the 15C's matrix functions and programming. I have been able to shave off two lines and 4 bytes of his code, just realizing that the intermediate matrix E could be used throughout, no need for the STO MATRIX instructions: 27 lines, 29 bytes: 001 LBL E 002 RCL MATRIX A 003 RCL MATRIX B 004 RCL MATRIX C 005 RCL MATRIX A 006 RESULT A 007 1/x 008 RESULT E 009 x 010 RCL MATRIX B 011 RESULT D 012 MATRIX 6 013 1/x 014 RESULT C 015 x 016 RESULT B 017 x 018 CHS 019 RCL MATRIX E 020 RESULT A 021 MATRIX 6 022 RCL MATRIX D 023 RCL MATRIX E 024 RESULT C 025 x 026 CHS 027 RTN Cheers, Werner 41CV†,42S,48GX,49G,DM42,DM41X,17BII,15CE,DM15L,12C,16CE |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)