Array

Revision as of 01:45, 5 November 2020 by Duck master (talk | contribs) (created page w/ basic summary)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

In many programming languages (like C++ and Swift, for example), an array is a data structure that stores multiple pieces of data in a specific order.

Usage

Arrays are mutable and can be appended to, deleted from, searched, and concatenated efficiently; however, especially in statically typed programming languages, an array can only hold entries of the same datatype. By storing arrays within arrays, matricesor other multidimensional data structures can be simulated.

Analogues

The analogue in Python of the array is the list. The analogue in R of the array is the vector.

See also

This article is a stub. Help us out by expanding it.