In:

 Another example:

    (_1 4 5; 1 0 ; 2) |: y

 Axis 2 is moved to the back;
 axes 1 and 0 are run together and moved to be
 in front of that (the effect would have been
 the same for 0 1 instead of 1 0);
 axes _1, 4, and 5 are run together and moved
 to be in front of that;
 and any remaining axes are moved to be in
 front of that.

I was explaining how it works to someone who
professes to be confused, and also relating 
it to the description in the dictionary:

 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:

Also, your description left out the "running axes
together" part.



----- Original Message -----
From: Norman Thomson <[EMAIL PROTECTED]>
Date: Sunday, January 7, 2007 2:04 pm
Subject: Re: [Jprogramming] Dyadic Transpose

> Programming forum <[email protected]> writes:
> >Another example:
> >
> >   (_1 4 5; 1 0 ; 2) |: y
> >
> >Axis 2 is moved to the back;
>  etc.
>
> Roger, 
> Isn't the rule simpler than this?  New axis order is:
>       any axes not named in left arg in original order , axes in order 
> given by
> boxes.
> 
> Norman Thomson


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to