Programming challenges: processing vectors and matrices
|
12-31-2022, 06:02 PM
(This post was last modified: 12-31-2022 06:08 PM by John Keith.)
Post: #22
|
|||
|
|||
RE: Programming challenges: processing vectors and matrices
This simple program will reverse a vector and it is at least as fast as AXL REVLIST AXL. It does not change a type 3 or 4 array to a type 29 array as AXL does. It will work on any RPL calculator.
To reverse the elements of a matrix, one would need to change the 1 GET in line 2 to OBJ\-> DROP *. Changing 1 GET to 1 + \PILIST would allow the program to work with either vectors or matrices but would restrict it to the 48G or newer. Code:
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)