Google
 

Trailing-Edge - PDP-10 Archives - decuslib20-02 - decus/20-0026/adsam.doc
There are 2 other files named adsam.doc in the archive. Click here to see a list.
SAMPLE MAIN PROGRAM FOR MATRIX ADDITION - ADSAM

PURPOSE
   MATRIX ADDITION SAMPLE PROGRAM

SUBROUTINES AND FUNCTION SUBPROGRAMS REQUIRED
   MADD
   MATIN
   MXOUT
   LOC

METHOD
   TWO INPUT MATRICES ARE READ FROM THE STANDARD INPUT DEVICE.
   THEY ARE ADDED AND THE RESULTANT MATRIX IS LISTED ON
   THE STANDARD OUTPUT DEVICE. THIS CAN BE REPEATED FOR ANY
   NUMBER OF PAIRS OF MATRICES UNTIL A BLANK CARD IS
   ENCOUNTERED