Let's say I have a 2x2 matrix (with symbols) called 'A'. Now, if do
B = sympy.tensorproduct(A,A) print(sympy.shape(B))
which is a 4 rank tensor.
However, what I want back is a 2 rank 4x4 matrix. How can I do that?
I tried reading documentations for sympy and found out about reshape. But it didn't work for me. The one difference I could note was that in the examples the matrices were very simple or only had numbers. While the matrix I am trying has some exponentials of time (a variable/symbol).