> [EMAIL PROTECTED] On Behalf Of Miller, Raul D
> 
> Jose Mario Quintana wrote:
> >    (bd -: diag)B
> > 0
> 
> Yes, I assumed square matrices when I wrote diag.
> 
> Change it to
>   diag=: ;@({."1&.>~ +/\@:([EMAIL PROTECTED]:@$@>))

This one is short and fast, a winner in my book!  I did not realize that
raze could do that, thanks a lot.

> 
> and it will work with non-square.
> 
> --
> Raul
> 
> ----------------------------------------------------------------------
> 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