### 2.2.3.3 Arrangement of Array Elements in Storage

You can think of the dimensions of an array as pages, rows, and columns. However, Fortran actually stores arrays in memory as a linear sequence of values. A one-dimensional array is stored with its first element in the first storage location and its last element in the last storage location of the sequence. A multidimensional array is stored so that the leftmost subscripts vary most rapidly. This is called the order of subscript progression. For example, Figure 2-1 shows array storage in one, two, and three dimensions.

### Figure 2-1 Array Storage

Previous Page Next Page Table of Contents