- #1
msmolen
- 6
- 0
I am trying to convert a FORTRAN version of a Canonical Correlates program listed in Multivariate Morphology - Blackith and Reyment. I've programed in FORTRAN decades ago and now I have to understand the language to rewrite the program into PERL.
a) DO 260 I = 1 , M
b) SX( I ) = SX( I ) = SX( I ) + XX( I )
c) DO 260 J = 1 , M
d) SS( I , J ) = SS( I , J ) + XX( I ) * XX( J )
e) 260 SS( J , I ) = SS( I , J )
What is the process sequence here? When the program moves into a) the first time line a) moves to line b) is this done with I = 1 (first to M) and then move directly to line c) (J = 1) for processing to d), and then move to line e) and then jump back to a) for a repeat of this process ( I = 2 , M and J = 2 , M)?
I don't have a FORTRAN compiler to figure this out.
I've never seen multiple processing events (I = 1 to M) in a loop.
a) DO 260 I = 1 , M
b) SX( I ) = SX( I ) = SX( I ) + XX( I )
c) DO 260 J = 1 , M
d) SS( I , J ) = SS( I , J ) + XX( I ) * XX( J )
e) 260 SS( J , I ) = SS( I , J )
What is the process sequence here? When the program moves into a) the first time line a) moves to line b) is this done with I = 1 (first to M) and then move directly to line c) (J = 1) for processing to d), and then move to line e) and then jump back to a) for a repeat of this process ( I = 2 , M and J = 2 , M)?
I don't have a FORTRAN compiler to figure this out.
I've never seen multiple processing events (I = 1 to M) in a loop.