[Jprogramming] rank with tesselation
Henry Rich
henryhrich at gmail.com
Fri Jun 2 12:19:52 UTC 2017
tess&(cp;._3"2)&.(2 0 1&|:)i.7 10 3
33 34 35
42 43 44
51 52 53
123 124 125
132 133 134
141 142 143
Henry Rich
On 6/2/2017 7:52 AM, Brian Schott wrote:
> Yes, no. (That's one of my favorite things to say of late.)
> I do understand that "x|:y moves axes x to the tail end," and values of x
> cannot exceed the rank of y.
> But in one of my cases, 2 0 1&|: , tess was not curried with the cut
> conjunction, so I could not see the relevance of your comment:
>
> This was my example.
>
> tess cp;._3"2&.(2 0 1&|:)i.7 10 3
> |index error
> | tess cp;._3"2&.(2 0 1&|:)i.7 10 3
>
>
> This was your example and in yours the transpose is working on tess, which
> seemed to be irrelevant to my example's tess, but maybe not to j's
> interpreter?
>
> 2 0 1&|: tess
> |index error
> | 2 0 1&|:tess
>
> So, I'm saying "yes, no".
>
> Thanks
>
>
> On Fri, Jun 2, 2017 at 7:37 AM, Raul Miller <rauldmiller at gmail.com> wrote:
>
>> Maybe time to review http://www.jsoftware.com/help/dictionary/d232.htm?
>>
>> "x|:y moves axes x to the tail end."
>>
>> Or were you asking a different question?
>>
>> Thanks,
>>
>> --
>> Raul
>>
>>
>>
>>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
---
This email has been checked for viruses by AVG.
http://www.avg.com
More information about the Programming
mailing list