source files: [cx]lsp.[ch]
This operator returns the row-major-index for the particular array element being operated on. That is, no matter what shape the array really is, row-major-index treats the array as being one-dimensional, and returns the index J if we are operating on the Jth element. If the array truly is one-dimensional, (row-major-index) is equivalent to (index 0) (which see).