Frame agreement: Difference between revisions
Jump to navigation
Jump to search
(→Model: add asymmetries table) |
m (→Model) |
||
Line 155: | Line 155: | ||
The <syntaxhighlight lang=apl inline>c←r{⍺≥0:⍺⌊⍵ ⋄ ⍵≤∣⍺:0⌈⍺+⍵ ⋄ ⍺+⍵}¨pp ⍝ cell ranks</syntaxhighlight> line of <syntaxhighlight lang=apl inline>_FA_</syntaxhighlight> addresses various asymmetries in computing cell rank. The table below shows the cell ranks corresponding to pairs of operand and argument ranks. | The <syntaxhighlight lang=apl inline>c←r{⍺≥0:⍺⌊⍵ ⋄ ⍵≤∣⍺:0⌈⍺+⍵ ⋄ ⍺+⍵}¨pp ⍝ cell ranks</syntaxhighlight> line of <syntaxhighlight lang=apl inline>_FA_</syntaxhighlight> addresses various asymmetries in computing cell rank. The table below shows the cell ranks corresponding to pairs of operand and argument ranks. | ||
{|class=wikitable | {|class=wikitable | ||
! operand rank !! argument rank !! cell rank | ! operand rank !! argument rank !! resultant cell rank | ||
|- | |- | ||
| <syntaxhighlight lang=apl inline>¯5</syntaxhighlight> || <syntaxhighlight lang=apl inline>3</syntaxhighlight> || <syntaxhighlight lang=apl inline>0</syntaxhighlight> | | <syntaxhighlight lang=apl inline>¯5</syntaxhighlight> || <syntaxhighlight lang=apl inline>3</syntaxhighlight> || <syntaxhighlight lang=apl inline>0</syntaxhighlight> | ||
Line 170: | Line 170: | ||
|} | |} | ||
The next table demonstrates the relations (in tacit code) among the operand ranks and corresponding argument ranks, given what the cell rank should be. | The next table demonstrates the relations (in [[tacit]] code) among the operand ranks and corresponding argument ranks, given what the cell rank should be. | ||
{|class=wikitable | {|class=wikitable | ||
! operand rank (o) !! relation between o and a !! argument rank (a) !! resultant cell rank | ! operand rank (o) !! relation between o and a !! argument rank (a) !! resultant cell rank |