Perhaps the relevant thing to understand here is that rotate - like most
(all?) J primitives - applies to the leading axis of an array by default.

   +/i. 2 3  NB. Reduce "2"->shape 3 result
3 5 7
   +/i. 2 3 4 NB. Reduce "2"->shape 3 4 result
12 14 16 18
20 22 24 26
28 30 32 34

   (|.+]) i. 2
1 1
   (|.+]) i. 2 3
3 5 7
3 5 7
   (|.+]) i. 2 3 4
12 14 16 18
20 22 24 26
28 30 32 34

12 14 16 18
20 22 24 26
28 30 32 34


On Thu, Sep 25, 2014 at 8:45 AM, Raul Miller <rauldmil...@gmail.com> wrote:

> I agree.
>
> I'm removing the 1 (it's just a wiki, so I can do that).
>
> But I think it needs further changes.
>
> Consider 2 _3 4 |. i. 8 8 8
>
> The whole "left" concept, I'm not sure it makes sense as part of the name.
>
> Thanks,
>
> --
> Raul
>
>
>
> On Thu, Sep 25, 2014 at 7:40 AM, Brian Schott <schott.br...@gmail.com>
> wrote:
> > I believe there is a "typo" at the following link where the caption
> "Shift
> > Left 1"  should be "Shift Left x" or just "Shift Left". I suspect the
> > latter because that agrees more with the reference link on the main NuVoc
> > page.
> >
> >
> >  http://www.jsoftware.com/jwiki/Vocabulary/bardot#dyadic
> >
> >
> >
> >
> > --
> > (B=)
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Devon McCormick, CFA
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to