trusted
83
edits
m (→Differences between dialects: clarify that double-quote means Rank in J) Tags: Mobile edit Mobile web edit |
m (→Differences between dialects: fix typo) Tags: Mobile edit Mobile web edit |
||
Line 139: | Line 139: | ||
The Cartesian pairing behavior of J's Table results from each <syntaxhighlight lang=j inline>"(lu, _)</syntaxhighlight> cell-pairing being processed by <syntaxhighlight lang=j inline>u</syntaxhighlight>, which applies its own ranks to divide up the right argument into cells. | The Cartesian pairing behavior of J's Table results from each <syntaxhighlight lang=j inline>"(lu, _)</syntaxhighlight> cell-pairing being processed by <syntaxhighlight lang=j inline>u</syntaxhighlight>, which applies its own ranks to divide up the right argument into cells. | ||
However, it does not allow for creating a Cartesian pairing involving cells of the left argument specified with negative left rank (except trivially, in cases in which Table's application has no effect, e.g. <syntaxhighlight lang=j inline>u" | However, it does not allow for creating a Cartesian pairing involving cells of the left argument specified with negative left rank (except trivially, in cases in which Table's application has no effect, e.g. <syntaxhighlight lang=j inline>u"_2 _"_ _1/</syntaxhighlight>). This is because negative assigned rank in J is encoded as infinite rank; in J's terminology, negative rank is "internal rank" only. | ||
<syntaxhighlight lang=j> | <syntaxhighlight lang=j> | ||
}.+"_1 _2 b.0 NB. dyadic ranks of derived verb +"_1 _2 as seen by Table | }.+"_1 _2 b.0 NB. dyadic ranks of derived verb +"_1 _2 as seen by Table |