[…] The SHAPE function enables you to reshape the data in a matrix. The data are read in row-major order. …