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.


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.


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

See also


Invalid username
Login to AoPS