I have two lists of vectors and I want to take the outer product between elements in the lists of the same index. Using either Outer or TensorProduct works for e.g. the first two indices:
a = {{a1, a2, a3}, {b1, b2, b3}}; b = {{e1, e2, e3}, {f1, f2, f3}}; MatrixForm[Outer[Times, a[[1]], b[[1]]]] MatrixForm[TensorProduct[a[[1]], b[[1]]]] MatrixForm[Outer[Times, a[[2]], b[[2]]]] MatrixForm[TensorProduct[a[[2]], b[[2]]]] I would like a command that can do this for lists of Length 1000 where the data is imported as a Table as follows and where All = 1000 :
vectorData = Import["/home/vectorData", "Table"]; a = vectorData[[All, {2, 3, 4}]]; b = vectorData[[All, {5, 6, 7}]]; I had a similar question in mind for inner products between "lists of vectors" (or tensors) but this was solved neatly with MapThread : MapThread[Dot, {a, b}]. Does anyone have a similar technique for the outer products ?