Jose Mario Quintana wrote:
>    (bd -: diag)B
> 0

Yes, I assumed square matrices when I wrote diag.

Change it to
  diag=: ;@({."1&.>~ +/\@:([EMAIL PROTECTED]:@$@>))

and it will work with non-square.

-- 
Raul

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

Reply via email to