Difference between revisions of "Array data structure"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(etc)
Line 1: Line 1:
 
In [[computer science]], an '''array data structure'''  (or simply an '''array''') is a data structure consisting of a collection of elements (values or variables), each identified by at least one array index or key.
 
In [[computer science]], an '''array data structure'''  (or simply an '''array''') is a data structure consisting of a collection of elements (values or variables), each identified by at least one array index or key.
 +
 +
== Description ==
  
 
An array is stored so that the position of each element can be computed from its index tuple by a mathematical formula.
 
An array is stored so that the position of each element can be computed from its index tuple by a mathematical formula.
Line 8: Line 10:
  
 
* [[Array data type]]
 
* [[Array data type]]
 +
* [[Data structure]]
 +
* [[Data type]]
  
 
== External links ==
 
== External links ==
  
 
* [https://en.wikipedia.org/wiki/Array_data_structure Array data structure] @ Wikipedia
 
* [https://en.wikipedia.org/wiki/Array_data_structure Array data structure] @ Wikipedia

Revision as of 07:38, 1 September 2015

In computer science, an array data structure (or simply an array) is a data structure consisting of a collection of elements (values or variables), each identified by at least one array index or key.

Description

An array is stored so that the position of each element can be computed from its index tuple by a mathematical formula.

The simplest type of data structure is a linear array, also called one-dimensional array.

See also

External links