I would like to efficiently calculate all pairwise cross products of the rows of two matrices, A and B, which are nx3 and mx3 in size. And would ideally like to achieve this in einsum notation.
i.e. the output Matrix C, would be (n X m x 3),
where
C[0][0] = cross(n[0],m[0])
C[0][1] = cross(n[0],m[1])
...
C[1][0] = cross(n[1],m[0])
...
Due to the approach I am taking, using for loops aren't an option.
Any help would be much appreciated.