Output of file : YENBOB.FOR contained in archive : FORTRN77.ZIP
SUBROUTINE YENBOB(A,IROW,ICOL)
C
C PURPOSE...YENBOB FINDS THE SOLUTION OF A SYSTEM OF N EQUATIONS IN
C N UNKNOWNS.
C
DIMENSION A(1)
ICOL1 = ICOL + 1
DO 107 K = 1,ICOL
INDEX1 = (K-1)*IROW + K
A(INDEX1) = 1./A(INDEX1)
DO 102 J = 1,ICOL1
IF(J-K) 3,102,3
3 INDEX2 = (J-1)*IROW + K
A(INDEX2) = A(INDEX2)*A(INDEX1)
102 CONTINUE
DO 115 I = 1,ICOL
IF (I-K) 20,115,20
20 INDEX3 = (K-1)*IROW + I
DO 114 J = 1,ICOL1
IF(J-K) 21,114,21
21 INDEX2 = (J-1)*IROW + I
INDEX4 = (J - 1)*IROW + K
A(INDEX2) = A(INDEX2) - A(INDEX4)*A(INDEX3)
114 CONTINUE
115 CONTINUE
DO 107 I = 1,ICOL
IF(I-K) 22,107,22
22 INDEX2 = (K-1)*IROW + I
A(INDEX2) = -A(INDEX2)*A(INDEX1)
107 CONTINUE
RETURN
END



### 3 Responses to “Category : Miscellaneous Language Source CodeArchive   : FORTRN77.ZIPFilename : YENBOB.FOR”

1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/