Post Reply 
userRPL MAP command observations
03-13-2023, 07:05 PM
Post: #2
RE: userRPL MAP command observations
I did not know that MAP affected flags. Which ones?

MAP is also slow, even compared to DOLIST which isn't very fast. Here is a fast replacement for MAP using ListExt commands. It works for matrices or vectors but not for lists. It does not change the type of the array. The function can be a program, a list or a null-tagged object.

Code:

\<< SWAP OBJ\-> DUP \-> s
  \<< LPROD \->LIST SWAP LXEQ s \->ARRY
  \>>
\>>
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
userRPL MAP command observations - pier4r - 03-13-2023, 10:49 AM
RE: userRPL MAP command observations - John Keith - 03-13-2023 07:05 PM



User(s) browsing this thread: 1 Guest(s)