HP MLIB User's Guide Vol. 2 7th Ed.
958 HP MLIB User’s Guide
DSLEVM Matrix value Input by matrix
INTEGER*8 neqns, nnzero, colstr(neqns+1), rowind(nnzero), ier
REAL*8 values(nnzero), global(150)
REAL*8 global(150)
CALL DSLEVM(colstr, rowind, values, global, ier)
INTEGER*8 neqns, nnzero, colstr(neqns+1), rowind(nnzero), ier
REAL*16 values(nnzero)
REAL*8 global(150)
CALL QSLEVM(colstr, rowind, values, global, ier)
INTEGER*8 neqns, nnzero, colstr(neqns+1), rowind(nnzero), ier
COMPLEX*8 values(nnzero)
REAL*8 global(150)
CALL CSLEVM(colstr, rowind, values, global, ier)
INTEGER*8 neqns, nnzero, colstr(neqns+1), rowind(nnzero), ier
COMPLEX*16 values(nnzero)
REAL*8 global(150)
CALL ZSLEVM(colstr, rowind, values, global, ier)
Input colstr For a symmetric matrix, colstr(j) gives the index in
rowind of the first nonzero in the lower triangular part
of column j of the matrix.
For a nonsymmetric matrix, colstr(j) gives the index in
rowind of the first nonzero in column j of the matrix.
The nonzeros for column j are found, in ascending
order, in rowind(colstr(j)), rowind(colstr(j)+1), ...,
rowind(colstr(j+1)−1).
colstr(neqns+1) must be set to one greater than the
total number of nonzeros, nnzero, listed in rowind.
rowind For a symmetric matrix (LDL’ factorization), a
column-by-column list of row indices for many or all
nonzeros in the lower triangle of the matrix, in
ascending order within each column.
For a nonsymmetric matrix (LU factorization), a
column-by-column list of row indices for many or all
nonzeros in the matrix, in ascending order within each
column.
Diagonal entries may be present as well.
values List of values corresponding in position to the indices
in rowind. These values are added to any values
already present in the matrix.