Thank you. I guess I was unsure whether v"2 somehow started at the third
rank or if it used the last two ranks. Experimentation seemed to indicate
that it used the last two, but I was worried that there was some side
effect I didn't get that caused it to seem to do that.
So thanks for the info, I
actually, no. Rank 0 verbs try to match their nouns across the first
dimensions of those nouns.
So, for example:
A=: (5#2)#:i.5
B=: (5#2)#:i.2 5
$A
5 5
$B
2 5 5
A=B
|length error
| A=B
A="2 B
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
1 1 0 1 0
1 1 0 0 0
1 1 0 1 0
I suspect ="2 and *."2 are the same as that without rank conjunction
because = and *. are rank 0
On Feb 28, 2018 2:18 PM, "Nick S" wrote:
Someone please tell me if I understand this:
If I have a list of 5x5 tables, that is, a thing with a shape of n 5 5
where n is anything from 1 to 30, That is
Yes that is correct; u"n M always divides up into cells formed by grouping the
last n dimensions together. Another way to see it is that elements of the array
M who have the same (#$M) - n first indices are grouped together.
A variant on u"n M is "(-n), which is roughly equivalent to u"((#$M)-n)
Someone please tell me if I understand this:
If I have a list of 5x5 tables, that is, a thing with a shape of n 5 5
where n is anything from 1 to 30, That is, the shape of the table might be
(5 5 or 2 5 5 or 3 5 5 etc.) and I want to compare it against a single 5x5
thing in 5x5 groups, the proper