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

324 HP MLIB User’s Guide
STRMV/DTRMV/CTRMV/ZTRMV Matrix-vector multiply
CHARACTER*1 uplo, trans, diag
INTEGER*8 n, lda, incx
REAL*8 a(lda, n), x(lenx)
CALL DTRMV(uplo, trans, diag, n, a, lda, x, incx)
CHARACTER*1 uplo, trans, diag
INTEGER*8 n, lda, incx
COMPLEX*8 a(lda, n), x(lenx)
CALL CTRMV(uplo, trans, diag, n, a, lda, x, incx)
CHARACTER*1 uplo, trans, diag
INTEGER*8 n, lda, incx
COMPLEX*16 a(lda, n), x(lenx)
CALL ZTRMV(uplo, trans, diag, n, a, lda, x, incx)
Input uplo Upper/lower triangular option for A:
’L’ or ’l’ A is lower triangular
’U’ or ’u’ A is upper triangular
The other triangle of the array a is not referenced.