HP MLIB User's Guide Vol. 2 7th Ed.
Chapter 13 Sparse Linear Equations 943
Return diagonal elements of matrix in its current form DSLERD
permuted order determined by the
reordering algorithm.
global Global communications array for this problem. This
array must be passed, untouched by the user, to
successive subroutines in this package.
Output diag Array of diagonal elements of the current form of the
sparse matrix.
ier Status response:
ier = 0 Normal return.
ier = −800 Incorrect processing path; matrix
value input not completed. Diagonal
values are not returned.
ier = −801 Invalid value for job.
ier = −802 Matrix is nonsymmetric.
Notes Actual character arguments in a subroutine call may be longer than the
corresponding dummy arguments. Therefore, readability of the CALL
statement may be improved, for example, by coding the job argument as
’Original Order’ for ’O’, or ’Permuted Order’ for ’P’.