Playing with J for C and got to "Apply On Specified Partitions: Dyad u;.1
and u;.2". Replaced the < with +/ and it didn't sum the rows. After looking
at the result a little more closely I discovered that each cell contained a
table instead of a row.
   (0 1 1;1 0 0 1) <;.1 i. 3 4
+------+--+
|4 5 6 |7 |
+------+--+
|8 9 10|11|
+------+--+
   (0 1 1;1 0 0 1) (<@$);.1 i. 3 4
+---+---+
|1 3|1 1|
+---+---+
|1 3|1 1|
+---+---+

I can't figure out why.

Also, in the Dictionary for Cut it describes the rank as "_ 1/2 _". What
does the "1/2" mean? Needless to say, I still have a long way go to fully
understand Cut.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to