HP MLIB User's Guide Vol. 1 7th Ed.

500 HP MLIB User’s Guide
SDIAMM/DDIAMM/CDIAMM/ZDIAMM Diagonal matrix-matrix multiply
lda Leading dimension of val, must be greater or equal to
min (m,k).
idiag( ) Integer array of length ndiag consisting of the
corresponding diagonal offsets of the nonzero diagonals
of A in val. Lower triangular diagonals have negative
offsets, the main diagonal has offset 0, and upper
triangular diagonals have positive offset.
ndiag Number of nonzero diagonals in A.
b( ) Rectangular array with leading dimension ldb.
ldb Leading dimension of b.
beta Scalar parameter.
c( ) Rectangular arrary with leading dimension ldc.
ldc Leading dimension of c.
work( ) Scratch array of length lwork. Not used.
lwork Length of work array.