HP-50g Algebraic matrix expressions
|
06-26-2020, 04:38 AM
Post: #1
|
|||
|
|||
HP-50g Algebraic matrix expressions
I usually do all my HP50 programming in RPL. And it has been a few years since I needed to do anything non-trivial.
But I have a need to use algebraic syntax for some complex expressions involving matrices, since the algebraic form is easier to verify visually for correctness. How do I refer to a single element of a matrix variable with an algebraic expression? "matrix1", "r", and "c" are all local variables in the current program fragment. I want to refer to the element in matrix1 at row r, column c. The obvious approach generates an error when I try to save from the command line: 'matrix1[r,c]'. This does not work. I have tried several obvious variations, but none of them work: 'matrix1[[r,c]]' 'matrix1[r c]' 'matrix1[[r c]]' Is what I am asking even possible with algebraic expressions? If so, what is the correct syntax? I have been unable to find any examples online of using subscripts for a matrix in an algebraic expression. Any pointers to such would be welcome! Thanks everyone! |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
HP-50g Algebraic matrix expressions - Sleazey - 06-26-2020 04:38 AM
RE: HP-50g Algebraic matrix expressions - Giuseppe Donnini - 06-26-2020, 06:17 AM
RE: HP-50g Algebraic matrix expressions - Sleazey - 06-26-2020, 06:21 AM
RE: HP-50g Algebraic matrix expressions - peacecalc - 06-26-2020, 06:31 AM
RE: HP-50g Algebraic matrix expressions - Giuseppe Donnini - 06-26-2020, 06:33 AM
RE: HP-50g Algebraic matrix expressions - peacecalc - 06-26-2020, 06:49 AM
RE: HP-50g Algebraic matrix expressions - Giuseppe Donnini - 06-26-2020, 07:32 AM
RE: HP-50g Algebraic matrix expressions - mfleming - 06-26-2020, 02:56 PM
RE: HP-50g Algebraic matrix expressions - Wes Loewer - 06-26-2020, 04:07 PM
|
User(s) browsing this thread: 1 Guest(s)