Array data type

From Wiki @ Karl Jones dot com
Revision as of 06:40, 1 September 2015 by Karl Jones (Talk | contribs) (See also)

Jump to: navigation, search

In computer science, an array type is a data type that is meant to describe a collection of elements (values or variables), each selected by one or more indices (identifying keys) that can be computed at run time by the program.

Description

Such a collection is usually called an array variable, array value, or simply array.

By analogy with the mathematical concepts of vector and matrix, array types with one and two indices are often called vector type and matrix type, respectively.

Language support for array types may include certain built-in array data types, some syntactic constructions (array type constructors) that the programmer may use to define such types and declare array variables, and special notation for indexing array elements.

See also

External links