next up previous contents
Next: Array Terminology Up: Fortran 90 Previous: Numeric Intrinsic Functions

 

Arrays

Arrays (or matrices) hold a collection of different values at the same time. Individual elements are accessed by subscripting the array.

A 15 element array can be visualised as:

  figure7158
Figure 6: A One Dimensional (1D) Array

And a 5 tex2html_wrap_inline27770 3 array as:

  figure7162
Figure 7: A Two Dimensional (2D) Array

Every array has a type (REAL, INTEGER, etc) so each element holds a value of that type.

Return to corresponding overview page gif




next up previous contents
Next: Array Terminology Up: Fortran 90 Previous: Numeric Intrinsic Functions

©University of Liverpool, 1997
Wed May 28 20:20:27 BST 1997
Not for commercial use.