Mixed function: Difference between revisions

Jump to navigation Jump to search
18 bytes added ,  22:16, 10 September 2022
m
Text replacement - "<source" to "<syntaxhighlight"
m (Text replacement - "</source>" to "</syntaxhighlight>")
Tags: Mobile edit Mobile web edit
m (Text replacement - "<source" to "<syntaxhighlight")
 
Line 1: Line 1:
A '''mixed function''' is one of a class of [[primitive function]]s that consider their entire [[argument]]s rather than treating each [[element]] at a time. The exact parts of an argument that is considered as a unit, varies per function, rather than adhering to a general rule. Hence the name "mixed" as in a "mixed bag" of functions. This is opposed to [[scalar function]]s which are defined in terms of operations on [[simple scalar]]s.
A '''mixed function''' is one of a class of [[primitive function]]s that consider their entire [[argument]]s rather than treating each [[element]] at a time. The exact parts of an argument that is considered as a unit, varies per function, rather than adhering to a general rule. Hence the name "mixed" as in a "mixed bag" of functions. This is opposed to [[scalar function]]s which are defined in terms of operations on [[simple scalar]]s.


For example, while [[Equal]] (<source lang=apl inline>=</syntaxhighlight>) is a scalar function in that it compares (corresponding) elements, [[Match]] (<source lang=apl inline>≡</syntaxhighlight>) gives a single result which indicates if the arguments, as wholes, are identical.
For example, while [[Equal]] (<syntaxhighlight lang=apl inline>=</syntaxhighlight>) is a scalar function in that it compares (corresponding) elements, [[Match]] (<syntaxhighlight lang=apl inline>≡</syntaxhighlight>) gives a single result which indicates if the arguments, as wholes, are identical.


== External links ==
== External links ==

Navigation menu