Not to be pedantic, but Fortran 1-based array indices are from Fortran 66 and earlier. Fortran 77 and on include the ability to index from any arbitrary integer, including negative ones.
You can declare a 21 element array indexed from -10 like so:
real x(-10:10)
So hopefully anyone familiar with Fortran isn't hung up on 1-based indices.
You can declare a 21 element array indexed from -10 like so:
real x(-10:10)
So hopefully anyone familiar with Fortran isn't hung up on 1-based indices.