For 2 matrices,
M1 ((+&# {. [) ,. ([EMAIL PROTECTED]&# {. ])) M2
Henry Rich
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Leigh
> J. Halliwell
> Sent: Thursday, June 22, 2006 2:33 PM
> To: [email protected]
> Subject: [Jprogramming] Block-Diagonal Matrices
>
> Dear J Forum:
> I have two matrices M1 and M2. How do I create a matrix that is
> block-diagonal in them (zero elsewhere)? Thanks.
> Sincerely,
> Leigh
>
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm