(r90&.>)^:(i.3) < mat +-----+---+-----+ |0 1 2|3 0|5 4 3| |3 4 5|4 1|2 1 0| | |5 2| | +-----+---+-----+
--Kip Murray Sent from my iPad > On Apr 22, 2014, at 10:20 AM, "Francesco Pedulla'" <[email protected]> wrote: > > 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 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
