FORTRAN 77 NestedDO Loops
Example
The values of i and k for each pass are:
i k 1 1 1 2 1 3 end of pass one for i 2 1 2 2 2 3 end of pass two for i 3 1 3 2 3 3 end of pass three for i