Using the matrix algebra batch command