Google
 

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

PURPOSE
   SUBTRACT A SCALAR FROM EACH ELEMENT OF A MATRIX TO FORM A
   RESULTANT MATRIX

USAGE
   CALL SSUB(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 SUBTRACTED FROM EACH EACH ELEMENT OF MATRIX