Structural Informatics Group (SIG) logo
Home | Projects | Demos | Downloads | Publications | Local Info | About Us | New site
Go to the first, previous, next, last section, table of contents.

row-major-index

source files: [cx]lsp.[ch]

SYNTAX

(row-major-index)

DESCRIPTION

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).


Go to the first, previous, next, last section, table of contents.