numpy element-wise multiplication of an array and a vector,"ares = np.einsum('ijkl,k->ijkl', a, v)"