# Tensor Product of Two Matrices coming from Algebra Representations

 0 Is there a command in sage to compute the tensor product of two Matrices coming from Algebra representations? In groups, x(v tensor w) = xv tensor xw, and the sage command Matrix1.tensor_product(Matrix2) appears to give the matrix corresponding to this. But in an algebra x(v tensor w) = xv tensor w + v tensor xw. How can I compute the corresponding matrix here? asked May 03 '11 ChrisBerg 1 ● 1 ● 1 vdelecroix 811 ● 4 ● 11 ● 26

 1 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 posted Aug 03 '12 vdelecroix 811 ● 4 ● 11 ● 26

[hide preview]