HP49-HP50 : when {list of repeated solutions} —> {list with no rep. sol}
|
12-23-2022, 09:53 AM
(This post was last modified: 12-23-2022 01:35 PM by Gjermund Skailand.)
Post: #12
|
|||
|
|||
RE: HP49-HP50 : when {list of repeated solutions} —> {list with no rep. sol}
For sys-rpl I think the entry
apndvarlst or ^AppendList or possibly ˆCOMPRIMext might be what you are looking for other suggestion would be to calculate checksums for each array, make a list of lists << OBJ-> -> N << 1 N FOR I DUP BYTES DROP SWAP 2 ->LIST N ROLLD >> N ->LIST SORT @ or use LSORT with list of lists user rpl SORT will use the first element as sorting index. then a second step to scan through and remove lists with same checksum. Maybe this is may be faster and less memory intensive than converting to strings br Gjermund |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)