The problem with u;.3, or 1 u\, is that the verb acts on a subarray of y
rather than on a cell of y, which gives the result higher rank than you
want:
$L:0 (,.1 1) <;.3] i.4
+-+-+-+-+
|1|1|1|1|
+-+-+-+-+
Henry Rich
On 1/7/2018 12:27 PM, Raul Miller wrote:
It finally occurred to me, months after the "rank with cyclic gerund"
discussions, that J already has a cyclic gerund definition, in u;.3
However, testing it, I get a nonce error for the gerund case:
(,.1 1) <;.3] i.4
┌─┬─┬─┬─┐
│0│1│2│3│
└─┴─┴─┴─┘
(,.1 1) +:`-:;.3] i.4
|nonce error
We even have the obvious simplification for the non-gerund case:
1 <;.3] i.4
┌─┬─┬─┬─┐
│0│1│2│3│
└─┴─┴─┴─┘
I've not investigated the source code yet, behind that nonce error,
I'm just leaving this here to give me a chance of remembering it,
later.
FYI,
---
This email has been checked for viruses by AVG.
http://www.avg.com
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm