Dyadic function: Difference between revisions

Jump to navigation Jump to search
No change in size ,  11:33, 15 November 2019
no edit summary
Miraheze>Marshall
(Created page with ":''For operators with two operands, see Dyadic operator.'' A '''dyadic function''' is a function with two arguments, one on the left and one on the right. It...")
 
Miraheze>Marshall
No edit summary
Line 1: Line 1:
:''For [[operator]]s with two operands, see [[Dyadic operator]].''
:''For [[operator]]s with two operands, see [[Dyadic operator]].''


A '''dyadic function''' is a [[function]] with two [[argument]]s, one on the left and one on the right. It is one of three possible function [[valences]]; the other two are [[monadic]] and [[niladic]]. The term '''infix function''' or infix operator is used outside of APL to describe APL's dyadic function syntax.
A '''dyadic function''' is a [[function]] with two [[argument]]s, one on the left and one on the right. It is one of three possible function [[valence]]s; the other two are [[monadic]] and [[niladic]]. The term '''infix function''' or infix operator is used outside of APL to describe APL's dyadic function syntax.


In APL, a single function can be both monadic and dyadic; such a function is called [[ambivalent]] or sometimes variadic. Function pages on the APL Wiki usually only describe one valence of an ambivalent function because the connection between the two may not be consistent across languages. In this case the function is described as dyadic even though it may only be half of an ambivalent function.
In APL, a single function can be both monadic and dyadic; such a function is called [[ambivalent]] or sometimes variadic. Function pages on the APL Wiki usually only describe one valence of an ambivalent function because the connection between the two may not be consistent across languages. In this case the function is described as dyadic even though it may only be half of an ambivalent function.
Anonymous user

Navigation menu