Resources

Does GAUSS have a function to calculate the Kronecker product?

0

I have looked through the GAUSS command reference, but cannot find a function to calculate the Kronecker product of two matrices. Is there a function for this?

asked August 30, 2012
aptech
227

1 Answer

0

In GAUSS you can calculate the Kronecker product with the .*. operator like this:

A = rndn(3, 3);
B = eye(3);
C = A .*. B;

Now ‘C’ will be the Kronecker product of ‘A’ and ‘B’.

aptech
227