mat

Matrix elements are in row-major order.