row-major-aref
(row-major-aref array index)
Returns the element of array at the given 0-based flat row-major index, independent of the array's rank -- element (i, j) of a 2x3 array is at flat index i * 3 + j. Use array-row-major-index to compute the flat index of a set of subscripts. To modify an element, use row-major-aref as a setf place: (setf (row-major-aref array k) value). Like aref, it is not exposed as a first-class function value, so call it directly.