eng
row-major form <mathematics, computer science>
storage mechanism for multidimensional array in linear memory, organized such that each row is stored in consecutive locations and such that the complete rows are the stored one after the other and continuing on is a similar fashion of each additional index
Note 1 to entry:
If the indexes are
with the number of rows
and columns
, then the mapping between the multidimensional locations to the linear storage locations is given by:
Note 2 to entry:
The matrix
in row major form is stored as
. For higher dimensions, the same pattern is applied recursively:
[SOURCE:
ISO 19107:2019, 3.81]
copy
spa
forma de fila principal <matemáticas, ciencias de la computación>
mecanismo de almacenamiento de matrices multidimensionales en la memoria lineal, organizado de manera que cada fila se almacene en lugares consecutivos y que las filas completas sean almacenadas una tras otra y que continúe de forma similar en cada índice adicional
Nota 1:
NOTA 1: Si los índices son (i, j) con el número de filas "r" y columnas "c", entonces la correspondencia entre las localizaciones multidimensionales y las localizaciones de almacenamiento lineal está dada por: (fórmula)
Nota 2:
NOTA 2: La matriz (fórmula) en forma de fila principal se almacena como (fórmula) .
Para dimensiones superiores, se aplica el mismo patrón de forma recursiva.
ORIGIN: Glosario de terminos de ISO/TC211
(last updated: 2020-06-02)