2,962
edits
m (2 revisions imported: Migrate from miraheze) |
m (Operators category) |
||
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]] |