×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Matrix Looping

Matrix Looping

Matrix Looping

(OP)
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 --> Fortran

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!

RE: Matrix Looping

(OP)
Nevermind, I found it myself.
Didn't see the obvious...

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close