indexlist
Indexlist is a term used in computing to describe a sequence of indices that refer to elements in another list or array. An indexlist is typically an array or list of integers, though some languages support non-numeric index keys. It is used to select, reorder, or subset data, enabling operations such as gathering (extracting elements at the specified positions) and scattering (placing elements into positions indicated by the indexlist).
In one-dimensional contexts, an indexlist like [2, 4, 0] applied to [a, b, c, d, e] with
Implementation and considerations vary by language. Valid indices are required; duplicates are typically allowed; out-of-range indices
Applications of indexlists include data extraction, feature reordering in datasets, construction of permutation maps, and aligning
See also: permutation, fancy indexing, gather/scatter, indexing by arrays.