Google
 

Trailing-Edge - PDP-10 Archives - decuslib20-02 - decus/20-0026/sadd.doc
There are 2 other files named sadd.doc in the archive. Click here to see a list.
SUBROUTINE SADD

PURPOSE
   ADD A SCALAR TO EACH ELEMENT OF A MATRIX TO FORM A RESULTANT
   MATRIX

USAGE
   CALL SADD(A,C,R,N,M,MS)

DESCRIPTION OF PARAMETERS
   A - NAME OF INPUT MATRIX
   C - SCALAR
   R - NAME OF OUTPUT MATRIX
   N - NUMBER OF ROWS IN MATRIX A AND R
   M - NUMBER OF COLUMNS IN MATRIX A AND R
   MS  - ONE DIGIT NUMBER FOR STORAGE MODE OF MATRIX A (AND R)
	  0 - GENERAL
	  1 - SYMMETRIC
	  2 - DIAGONAL

REMARKS
   NONE

SUBROUTINES AND FUNCTION SUBPROGRAMS REQUIRED
   LOC

METHOD
   SCALAR IS ADDED TO EACH ELEMENT OF MATRIX