Array
Revision as of 21:22, 15 May 2022 by Orange quail 9 (talk | contribs)
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, matrices or 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.