Array Dimensions

A dimension is the minimum number of coordinates necessary to find one element of an array. The number of dimensions that an array has is known as its rank.

Indications of dimensions

To specify an element of an array, you supply an index or subscript for each of its dimensions. The elements are adjacent along each dimension from index 0 thru the highest index for that dimension.

The tables that follow try to show the structure of arrays with different ranks. Each element in the tables shows the index values that get access to it. For example, to get access to the first element of the second row of the two-dimension array, you use indexes (1, 0).

One dimension

TODO

Two dimensions

TODO

Three dimensions

TODO

More than three dimensions

TODO

Using different dimensions

TODO