expanding list to objects
|
06-19-2016, 07:05 PM
Post: #5
|
|||
|
|||
RE: expanding list to objects
Helo
I am not an expert. In my opinion HP prime with RPN is not the best mode to program. In HOME or CAS you have direct functions to manipulate lists, such as: ROTATE({1,2,3},1) will give {2,3,1} ROTATE({1,2,3},-1) will give {3,1,2} or you can get a part of the list and then manipulate and put it again in place: mid({1,0,-3,4},2,3) will give {0,-3} you can rotate this to {-3,0} and the put in place REPLACE({1,0,-3,4},2,{-3,0}) to obtain {1,-3,0,4} etc. by the way if somebody knows a command to eliminate repetitions in a list tell me {1,2,2,3} to give {1,2,3} |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)