| 1 | initial version |
Hi,
If M1 is your first matrix (of dimension n1) and M2 is your second matrix (of dimension n2), then the answer should be:
M1.tensor_product(identity_matrix(n2)) +
identity_matrix(n1).tensor_product(M2)
Vincent
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.