Tensor Product of Two Matrices coming from Algebra Representations

i like this post (click again to cancel)
0
i dont like this post (click again to cancel)

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 gravatar image ChrisBerg
1 1 1

updated Aug 03 '12

vdelecroix gravatar image vdelecroix
811 4 11 26
i like this answer (click again to cancel)
1
i dont like this answer (click again to cancel)

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

link

posted Aug 03 '12

vdelecroix gravatar image vdelecroix
811 4 11 26

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]

Question tools

Tags:

Stats:

Asked: May 03 '11

Seen: 269 times

Last updated: Aug 03 '12

powered by ASKBOT version 0.7.22
Copyright Sage, 2010. Some rights reserved under creative commons license.