Monadic function: Difference between revisions

Jump to navigation Jump to search
79 bytes added ,  19:33, 11 December 2019
no edit summary
Miraheze>Adám Brudzewsky
No edit summary
No edit summary
(One intermediate revision by one other user not shown)
Line 12: Line 12:
</source>
</source>
The functions <source lang=apl inline>f</source>, <source lang=apl inline>×⍨</source> ([[Times]] [[Commute]]), and <source lang=apl inline>⍳</source> ([[Iota]]) are each monadic functions: a named [[dfn]], a [[derived function]], and a [[primitive]], respectively. Evaluating them first produces the [[Index|indices]] up to 5, then multiplies each index by itself to square it, then [[catenate]]s the resulting list to its [[reverse]].
The functions <source lang=apl inline>f</source>, <source lang=apl inline>×⍨</source> ([[Times]] [[Commute]]), and <source lang=apl inline>⍳</source> ([[Iota]]) are each monadic functions: a named [[dfn]], a [[derived function]], and a [[primitive]], respectively. Evaluating them first produces the [[Index|indices]] up to 5, then multiplies each index by itself to square it, then [[catenate]]s the resulting list to its [[reverse]].
== External links ==
* [http://wiki.nars2000.org/index.php/Monadic NARS2000]
{{APL syntax}}
{{APL syntax}}

Navigation menu