Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Matrix Looping

Status
Not open for further replies.

Panavia

Technical User
Nov 14, 2010
15
0
0
DE
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?
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)
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!
 
Nevermind, I found it myself.
Didn't see the obvious...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top