arraystorage

The order the elements of an array are stored in.

声明

语法

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.

返回值

None. An enumeration value is not evaluated.

描述

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.

也可以看看

ArrayConstant, ArrayConstructor, ArrayItem, Array