Recent content by msmolen
-
M
Fortran Fortran branching statement confusion
Thanks for your suggestion and comments. I makes me wonder if we, at the cutting edge of a language, are going to be the questions of our peers in the future. Scary. Mike- msmolen
- Post #5
- Forum: Programming and Computer Science
-
M
Fortran Fortran branching statement confusion
Folks: I have a FORTRAN program published in Multivariate Morphometrics (Blackith and Reyment - 1971). In this book they list a FORTRAN program that computes Canonical Correlates. I don't have a FORTRAN compiler and I'm trying to translate this program into PERL. The one FORTRAN book that is...- msmolen
- Thread
- Confusion Fortran
- Replies: 6
- Forum: Programming and Computer Science
-
M
Fortran Fortran DO loop sequence confusion
The confusion I think that I have with this code is the stepwise process. Does the program begin at the a) statement - a DO loop, moving to b) were the work gets done (originally I added an unintentional extra SX( I )) I should have just described b) SX( I ) = SX( I ) + XX( I ). Does the program...- msmolen
- Post #11
- Forum: Programming and Computer Science
-
M
Fortran Fortran DO loop sequence confusion
Thanks for the feedback! I didn't create an unanticipated error when I transcript the code (line b). When I put fake data into this code it appears that the correct matrix formed indicates that the first DO loop is done from a) to b) - all M of them. and then moves to the next DO loop to process...- msmolen
- Post #7
- Forum: Programming and Computer Science
-
M
Fortran Fortran DO loop sequence confusion
AlephZero - thank you for your quick reply. Sorry for the redundancy in line line b). So, is this the correct sequence of events for the code in my original post: first cycle for I = 1 , 10 line a) with I = 1 line b) with I = 1 line c) with J = 1 line d) with I = 1 , J = 1 line e)...- msmolen
- Post #3
- Forum: Programming and Computer Science
-
M
Fortran Fortran DO loop sequence confusion
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 ) =...- msmolen
- Thread
- Confusion Fortran Loop Sequence
- Replies: 12
- Forum: Programming and Computer Science