Category : Miscellaneous Language Source Code
Archive   : MATBYU.ZIP
Filename : MADD.FOR

 
Output of file : MADD.FOR contained in archive : MATBYU.ZIP
C=======================================================================
C...THIS SUBROUTINE ADDS TWO MATRICES.
C=======================================================================

SUBROUTINE MADD (B,C,A,N,M)

C...ARGUMENTS
INTEGER N,M
DOUBLE PRECISION A(N,*),B(N,*),C(N,*)

C...LOCAL VARIABLES
INTEGER I,J

C-----------------------------------------------------------------------

C...ADD THE MATRICES

DO 1 I=1,N
DO 2 J=1,M
A(I,J)=B(I,J)+C(I,J)
2 CONTINUE
1 CONTINUE

RETURN

C-----------------------------------------------------------------------

END


  3 Responses to “Category : Miscellaneous Language Source Code
Archive   : MATBYU.ZIP
Filename : MADD.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/