ABSTRACT

The variables and constants we have used so far have all been scalars, single values. Many engineering and scientific calculations also involve vectors and matrices, which are rectangular arrays of numbers. For representing vectors and matrices, FORTRAN provides a data structure called the array. An array is an ordered list of scalar elements, each of which can be referred to by its location in the array. Arrays follow the usual variable naming rules.