Multiply a NumPy matrix by a compatible vector, producing one row-wise dot product per output element.