Microsoft Store
 

Array


 

In computer programming, an array, also known as a vector or list, is one of the simplest data structures. Arrays hold equally-sized data elements, generally of the same data type. Individual elements are accessed by index using a consecutive range of integers, as opposed to an associative array. Some arrays are multi-dimensional, meaning they are indexed by a fixed number of integers, for example by a tuple of four integers. Generally, one- and two-dimensional arrays are the most common.

Related Topics:
Computer programming - Data structure - Element - Data type - Integer - Associative array - Tuple

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

Most programming languages have arrays as a built-in data type. Some programming languages (such as APL, Fortran, and J) generalize the available operations and functions to work transparently over arrays as well as scalars, providing a higher-level manipulation than most other languages, which require loops over all the individual members of the arrays.

Related Topics:
Programming language - APL - Fortran - J

~ ~ ~ ~ ~ ~ ~ ~ ~ ~