I have to wonder why you thought you could rotate four columns by
specifying three different values for how far to rotate them?

Anyways, rotate works on items, so to rotate individual columns
differently you would also need make each of the columns be an
independent item (so the items of each column would be independent of
items of other columns during the rotation).

In other words (for example):

   1 0 1 0 |."0 1&.|: i. 3 4
4 1  6  3
8 5 10  7
0 9  2 11

I hope this helps,

-- 
Raul



On Mon, Feb 25, 2019 at 1:53 AM lindaalvord <lindaalv...@verizon.net> wrote:
>
> I expected this to rotate all columns and got aii rows.]b=:i.3 4
> 0 1 2 3
> 4 5 6 7
> 8 9 10 11
> (1|.i.3) |."0 2 b
> 4 5 6 7
> 8 9 10 11
> 0 1 2 3
>
> 8 9 10 11
> 0 1 2 3
> 4 5 6 7
>
> 0 1 2 3
> 4 5 6 7
> 8 9 10 11How can I do that?LindaSent from my Verizon, Samsung Galaxy 
> smartphone
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to