Add: Difference between revisions

Jump to navigation Jump to search
Line 17: Line 17:


Since adding a number to itself is equivalent to doubling that number, we can express the ''double'' function as <source lang=apl inline>+⍨</source>.
Since adding a number to itself is equivalent to doubling that number, we can express the ''double'' function as <source lang=apl inline>+⍨</source>.
=== Reduction ===
[[Reduction]] with Add gives the sum of the whole list.


== Scalar mapping ==
== Scalar mapping ==
Retrieved from ‘https://aplwiki.com/wiki/Add