You are concatenating a 2x3 and a 3x2 matrices. They must be expanded to 3x3 to conform. Then filled. On Apr 22, 2014 9: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
