HP MLIB User's Guide Vol. 2 7th Ed.
1078 HP MLIB User’s Guide
DSEVVM Matrix value input by matrix
Output ier Status response:
ier = 0 Normal return.
ier = −400 Incorrect processing path; DSEVOR
not called or eigenextraction already
begun.
ier = −401 Error in dynamic storage allocation.
ier = −402 Illegal value for either nnode or in
nodlst.
ier = −403 Illegal value for matrix designator.
ier = −404 At least one subscript pair was not
specified in structure input. No room
for value.
ier = −405 The B matrix was specified as
diagonal. Cannot add off-diagonal
nonzero value.
ier = −406 The B matrix was specified as an
identity matrix. Cannot add nonzero
value.
Notes This is the most efficient mechanism for specifying nonzero values. Normally,
DSEVVM is used in conjunction with DSEVIM. The matrix structure passed to
DSEVVM must be identical to the structure passed to DSEVIM.
Actual character arguments in a subroutine call may be longer than
corresponding dummy arguments. Therefore, readability of the CALL
statement may be improved by coding the matrix argument as ’addleft’.
Example In a small (order 6) sparse generalized eigenvalue problem, B is the following
mass matrix:
Use DSEVVM and DSEVVD to input this as B.
4.0 0.0 1.0 1.0 0.0 0.0
0.0 4.0 1.0 0.0 1.0 0.0
1.0 1.0 4.0 0.0 1.0 0.0
1.0 0.0 0.0 4.0 1.0 0.0
0.0 1.0 1.0 1.0 4.0 0.0
0.0 0.0 0.0 0.0 0.0 0.0