Jump to navigation Jump to search

Scalar function

72 bytes removed, 1 April
→‎User defined scalar functions: Remove incorrect information about J and dzaima/APL
== User defined scalar functions ==
In [[nested array model]] dialects with the [[Depth (operator)|Depth]] operator (<source lang=apl inline>⍥</source> or in J, ''Level at'' <source lang=j inline>L:</source> ), any function can be used as a scalar function (that is, be applied to all simple scalars) using the [[derived monadic operator]] <source lang=apl inline>perv←⍥0</source>:
[ Try it online!]
{{Works in|[[dzaima/APL]], [[Extended Dyalog APL]]}}
In dialects that support [[dfn]]s, this operator can be defined<ref>[[John Scholes]], [ perv] (Scalar pervasion). dfns workspace, 2019-02-17.</ref> as:
{{Works in|[[Dyalog APL]]}}
== External links ==

Navigation menu