I'm vectorizing a function in order to avoid a big loop. In the iterative version of the function as I use it in the loop, it's quite straight forward, multiplying a 1x15 vector with 15x15 matrix.
Assuming I have 100 instances and want to compute this without a loop I have 100x15 matrix and for each of these 100 rows, I have a 15x15 matrix by which the respective row has to be multiplied. So for the latter I have a three dimensional matrix - is there an operator to perform such a computation?