Hello everybody,
I am using J801 under Ubuntu. Here is a behaviour I do not understand:

   mat=:i.2 3
   r90=:|."1@:|:"2
   r90^:0 mat
0 1 2
3 4 5
   r90^:1 mat
3 0
4 1
5 2
   r90^:2 mat
5 4 3
2 1 0

So far, so good. But:

   r90^:(i.3) mat
0 1 2
3 4 5
0 0 0

3 0 0
4 1 0
5 2 0

5 4 3
2 1 0
0 0 0

Why the additional row of zeros?

Thanks for any hint,

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

Reply via email to