Operator valence: Difference between revisions

Jump to navigation Jump to search
22 bytes added ,  15:15, 30 April 2020
m
Operators category
Miraheze>Adám Brudzewsky
No edit summary
m (Operators category)
(One intermediate revision by one other user not shown)
Line 5: Line 5:
One special case is that of the [[Inner Product]] and [[Outer Product]] operators. The Inner Product is a dyadic operator <source lang=apl inline>f.g</source>, and the Outer Product is written <source lang=apl inline>∘.g</source>. Various APLs interpret the latter syntax in different ways. In [[Iverson notation]] and [[APL\360]] an outer product was described as a kind of inner product with an omitted left operand (making the Inner Product ambivalent), but later APLs such as [[Dyalog APL]] typically refer to Outer Product as a separate, monadic operator with a special syntax. [[SHARP APL]] defines <source lang=apl inline>∘</source> to be an array ([[Nil]]), so that Inner Product is a purely dyadic operator and the Outer Product is a special case with an array left operand.
One special case is that of the [[Inner Product]] and [[Outer Product]] operators. The Inner Product is a dyadic operator <source lang=apl inline>f.g</source>, and the Outer Product is written <source lang=apl inline>∘.g</source>. Various APLs interpret the latter syntax in different ways. In [[Iverson notation]] and [[APL\360]] an outer product was described as a kind of inner product with an omitted left operand (making the Inner Product ambivalent), but later APLs such as [[Dyalog APL]] typically refer to Outer Product as a separate, monadic operator with a special syntax. [[SHARP APL]] defines <source lang=apl inline>∘</source> to be an array ([[Nil]]), so that Inner Product is a purely dyadic operator and the Outer Product is a special case with an array left operand.


{{APL syntax}}
{{APL syntax}}[[Category:Operators]]

Navigation menu