Note that the original dictionary calls |. "rotate" http://www.jsoftware.com/help/dictionary/d231.htm
It's NuVoc which calls it "rotate left" http://www.jsoftware.com/jwiki/Vocabulary/bardot#dyadic I imagine the motivation here is that the rank 1 right argument case is the simplest case, and that indicating a direction can help hold onto the meaning. But you are correct that for ranks greater than 1 it's "up" and not "left". Perhaps we should edit NuVoc and call it "Rotate Left (or Up)"? That's a bit complicated. Perhaps instead it just deserves a note of explanation in the description (something more than the comment at the bottom of the current entry)?? Maybe it's best to go back to the original form of the name (not indicating direction) and instead make an argument rank note in the description? After all, when rotating on multiple rank,s, the name gets ... strange. Thanks, -- Raul On Thu, Sep 25, 2014 at 1:38 AM, Chris Wright <cawright...@gmail.com> wrote: > Hi > > Real beginner here > > a =: 1 2 3 4 > > |. a > > 4 3 2 1 NB. yep, all is well > > > > > now: > > a=: 2 3 $ i.6 > > a > > 0 1 2 > > 3 4 5 > > 1 |. a > > 3 4 5 > > 0 1 2 NB. wow! looks like "rotate up", to me > > (intermission while I find out about rank,axis and frame!) > > oh ok > > 1 0 |. a > > 3 4 5 > > 0 1 2 NB. hmm rotate 1 on the elements of first axis - so rotate > the 1 cells that form the rows and no rotation on the elements of the > second axis > > > 0 1|. a > > 1 2 0 > > 4 5 3 NB. ok - rotate 1 on elements of the second axis - so > rotate the 0 cell elements of the 1 cells that form the rows > > > 1 |. "1 a > > 1 2 0 > > 4 5 3 NB - yep > > > I guess my question is about the name "rotate left" - that's only the > "visual result" if the right operand is a 1 cell - why not call it "rotate"? > > > another possibility is that I still don't understand rank/axis/frame!!! :) > > > cheers > > -- > A/Prof Chris Wright > MBBS, FRACP, FCICM, GradDipiSc(Physics) > Academic Coordinator, Years III - V Central MBBS > Intensive Care Specialist > Faculty of Medicine, Nursing and Health Sciences, > Monash University > Clayton VIC > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm