: [Numpy-discussion] efficient usage of tensordot
This is related to a question I posted earlier.
Suppose I have array A with dimensions n x m x l and array x with
dimensions m x l. Interpret this as an array of l nxm matrices and
and array of l m dimensional vectors. I wish to compute
This is related to a question I posted earlier.
Suppose I have array A with dimensions n x m x l and array x with
dimensions m x l. Interpret this as an array of l nxm matrices and
and array of l m dimensional vectors. I wish to compute the matrix-
vector product A[:,:,k] x[:,k] for each k