Trailing-Edge
-
PDP-10 Archives
-
decuslib10-02
-
43,50145/dcla.doc
There are 2 other files named dcla.doc in the archive. Click here to see a list.
SUBROUTINE DCLA
PURPOSE
SET EACH DIAGONAL ELEMENT OF A MATRIX EQUAL TO A SCALAR
USAGE
CALL DCLA (A,C,N,MS)
DESCRIPTION OF PARAMETERS
A - NAME OF INPUT MATRIX
C - SCALAR
N - NUMBER OF ROWS AND COLUMNS IN MATRIX A
MS - ONE DIGIT NUMBER FOR STORAGE MODE OF MATRIX A
0 - GENERAL
1 - SYMMETRIC
2 - DIAGONAL
REMARKS
INPUT MATRIX MUST BE A SQUARE MATRIX
SUBROUTINES AND FUNCTION SUBPROGRAMS REQUIRED
LOC
METHOD
EACH ELEMENT ON DIAGONAL OF MATRIX IS REPLACED BY SCALAR C