arraystorage

The order the elements of an array are stored in.

Declaration

Sintaxe

arraystorage = RowMajor | ColMajor

Values

Value

Meaning

RowMajor

the last subscript varies fastest, as in C and NumPy.

ColMajor

the first subscript varies fastest, as in Fortran.

Valores de retorno

None. An enumeration value is not evaluated.

Descrição

Fortran arrays are ColMajor. The value is carried on ArrayConstant, ArrayConstructor and ArrayItem so that data coming from a frontend with the other convention keeps its own order rather than being silently transposed.

Veja Também

ArrayConstant, ArrayConstructor, ArrayItem, Array