Trailing-Edge
-
PDP-10 Archives
-
decuslib20-02
-
decus/20-0026/cadd.doc
There are 2 other files named cadd.doc in the archive. Click here to see a list.
SUBROUTINE CADD
PURPOSE
ADD COLUMN OF ONE MATRIX TO COLUMN OF ANOTHER MATRIX
USAGE
CALL CADD(A,ICA,R,ICR,N,M,MS,L)
DESCRIPTION OF PARAMETERS
A - NAME OF INPUT MATRIX
ICA - COLUMN IN MATRIX A TO BE ADDED TO COLUMN ICR OF R
R - NAME OF OUTPUT MATRIX
ICR - COLUMN IN MATRIX R WHERE SUMMATION IS DEVELOPED
N - NUMBER OF ROWS IN A AND R
M - NUMBER OF COLUMNS IN A
MS - ONE DIGIT NUMBER FOR STORAGE MODE OF MATRIX A
0 - GENERAL
1 - SYMMETRIC
2 - DIAGONAL
L - NUMBER OF COLUMNS IN R
REMARKS
MATRIX R MUST BE A GENERAL MATRIX
MATRIX R CANNOT BE IN THE SAME LOCATION AS MATRIX A UNLESS
A IS GENERAL
SUBROUTINES AND FUNCTION SUBPROGRAMS REQUIRED
LOC
METHOD
EACH ELEMENT OF COLUMN ICA OF MATRIX A IS ADDED TO
CORRESPONDING ELEMENT OF COLUMN ICR OF MATRIX R