Hi,
I'm trying to convert some Fortran Code into Java.
Unfortunately the following Loop kind of blows my mind.
Could someone please explain in simple terms what is going on in this code?
I do understand that it is an embedded loop (111) in another loop (110).
But what I don't understand is at which time one loop completes a cycle and switches to the other loop...
Thanks!
I'm trying to convert some Fortran Code into Java.
Unfortunately the following Loop kind of blows my mind.
Could someone please explain in simple terms what is going on in this code?
Code:
DO 110 I=1,IWINDO
DO 111 J=1,IWINDO
A(J)=H(I0+I,J0+J)
111 CONTINUE
CALL INITSP(A,IWINDO,R,Q)
HC(I)=SPLINE(RJ-J0+1.,A,IWINDO,R)
110 CONTINUE
CALL INITSP(HC,IWINDO,R,Q)
VALINT=SPLINE(RI-I0+1.,HC,IWINDO,R)
But what I don't understand is at which time one loop completes a cycle and switches to the other loop...
Thanks!