Yes: (2 3;0 1) |: i.2 3 4 5 0 80 6 86 12 92 18 98
Run axes 2 and 3 together and move to the front, and run axes 0 and 1 together. i.e. z[i;j] = y[j;j;i;i] See also: http://www.jsoftware.com/jwiki/Essays/Transpose ----- Original Message ----- From: June Kim <[EMAIL PROTECTED]> Date: Friday, January 5, 2007 6:17 pm Subject: [Jprogramming] Dyadic Transpose > from Dictionary: > > <quote> > x|:y moves axes x to the tail end. If x is boxed, the axes in each box > are run together to produce a single axis: > > y=: 3 4$'abcdefghijkl' > y;(1 0|:y);(0|:y);((<0 1)|:y) > </quote> > > Are there any legal(or meaningful) cases that the x consists of more > than one boxes? > > That is, (a;b;c) |: y ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
