Function matrixMultiplyList

matrixMultiplyList(A, V) multiplies each vector $v_1, \ldots, v_k$ in the list $V$ by the given $n \times n$ matrix $A$.