index_test


index_test, an Octave code which calls index(), which converts the index of a multidimensional array entry into the corresponding index of a one dimensional vector, using either row or column major indexing, with zero or unit base.

Licensing:

The computer code and data files described and made available on this web page are distributed under the MIT license

Related Data and Programs:

index, an Octave code which converts an M-dimensional vector index to a one-dimensional vector index; it can handle zero and one based indexing schemes, as well as column major and row major conventions.

Source Code:


Last revised on 07 May 2023.