Compact routines can only be called for groups of matrices that have the same dimensions, leading dimension, and storage format. For example, the routine
, which calculates the LU factorization of a group of
matrices without pivoting, can only be called for a group of matrices with the same number of rows (
) and the same number of columns (
). All of the matrices must also be stored in arrays with the same leading dimension, and all must be stored in the same storage format (column-major or row-major).