[R] kronecker sum

Lara Poplarski
Sun, 05 Jun 2011 13:36:18 -0000

Dear All,

Could someone please suggest how to find the Kronecker sum of two 2x2
matrices,
i.e. given two matrices:

-A  A
a  -a

and

-B   B
b  -b

I need:

 -A-B    A       B      0
 a     -a-B     0      B
 b        0     -A-b  A
 0        b       a    -a-b

Many thanks,
Lara

	[[alternative HTML version deleted]]