# transpose of vector matrix NR=int(input('enter no. of rows:-')) NC=int(input('enter no. of columns:-')) entries= list(map(float,input().split())) A=np.array(entries ...
import sympy as sp import numpy as np def foo(): e = sp.MatrixSymbol('e',3,3) E = sp.Matrix(e) T = sp.tensorproduct(E, E) return T res1 = foo() E_num = np.array([[1,2 ...