Commute: Difference between revisions
Jump to navigation
Jump to search
(Add a bad example...) |
No edit summary |
||
Line 17: | Line 17: | ||
* [http://help.dyalog.com/latest/index.htm#Language/Primitive%20Operators/Commute.htm Dyalog] | * [http://help.dyalog.com/latest/index.htm#Language/Primitive%20Operators/Commute.htm Dyalog] | ||
{{APL built-ins}} | {{APL built-ins}} |
Revision as of 07:00, 26 April 2020
⍨
|
Commute (⍨
) is a primitive monadic operator that takes a function on its left and returns a new function with swapped arguments.
Examples
Subtract one from every item of the input array.
1 -⍨ 1 2 3
External links
Lessons
Documentation