I am trying to understand the Fortran code contained in: http://heath.cs.illinois.edu/courses/cs598mh/george_liu.pdf
Specifically, array variable declarations in subroutines. Here is an example:
SUBROUTINE ROOTLS (ROOT, XADJ, ADJNCY, MASK, NLVL, XLS, LS)
C
INTEGER ADJNCY(1), LS(1), MASK(1), XLS(1)
INTEGER XADJ(1), I, J, JSTOP, JSTRT, LBEGIN
I am confused by the (1)
after the name of the array for example ADJNCY(1)
and XADJ(1)
. These arrays are definitely larger than one. What does the (1)
do in these declarations?