column-major order

views updated

column-major order One way of mapping the elements of a two-dimensional array onto a vector, e.g. for representation in memory. If a two-dimensional array, A, with m rows and n columns is mapped in column-major order onto a vector b with m × n elements then aij = bk where k = m(j – 1) + i

See also row-major order.

About this article

column-major order

Updated About encyclopedia.com content Print Article