title: Python Multiply Matrix by Vector of Matrices
body: <p>Does anybody know of a way (preferably using numpy or something similar) to multiply a matrix by a vector of matrices and obtain the desired product shown below? Basically the idea is to follow the normal rules of matrix multplication of a matrix and a vector, only the elements of the vector are matrices themselves and not numbers.<a href="https://i.stack.imgur.com/kqLEN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kqLEN.png" alt="enter image description here" /></a></p>