Use a matrix multiplication