Triangular matrix-vector multiply

F_STRMV/F_DTRMV/F_CTRMV/F_ZTRMV

 

INTEGER*4

DIAG, INCX, LDA, N, TRANS, UPLO

 

COMPLEX*16

ALPHA

 

COMPLEX*16

A( LDA, * ), X( * )

 

SUBROUTINE F_ZTRMV (UPLO, TRANS, DIAG, N, ALPHA, A, LDA, X,

 

INCX)

 

 

VECLIB8

 

 

INTEGER*8

DIAG, INCX, LDA, N, TRANS, UPLO

 

REAL*4

ALPHA

 

REAL*4

A( LDA, * ), X( * )

 

SUBROUTINE F_STRMV (UPLO, TRANS, DIAG, N, ALPHA, A, LDA, X,

 

INCX)

 

 

INTEGER*8

DIAG, INCX, LDA, N, TRANS, UPLO

 

REAL*8

ALPHA

 

REAL*8

A( LDA, * ), X( * )

 

SUBROUTINE F_DTRMV (UPLO, TRANS, DIAG, N, ALPHA, A, LDA, X,

 

INCX)

 

 

INTEGER*8

DIAG, INCX, LDA, N, TRANS, UPLO

 

COMPLEX*8

ALPHA

 

COMPLEX*8

A( LDA, * ), X( * )

 

SUBROUTINE F_CTRMV (UPLO, TRANS, DIAG, N, ALPHA, A, LDA, X,

 

INCX)

 

 

INTEGER*8

DIAG, INCX, LDA, N, TRANS, UPLO

 

COMPLEX*16

ALPHA

 

COMPLEX*16

A( LDA, * ), X( * )

 

SUBROUTINE F_ZTRMV (UPLO, TRANS, DIAG, N, ALPHA, A, LDA, X,

 

INCX)

 

Input

UPLO

Specifies whether a triangular matrix is upper or lower

 

 

triangular. Use either BLAS_UPPER or BLAS_LOWER.

 

TRANS

Specifies whether to apply the matrix (A), its transpose

 

 

(AT), or its conjugate transpose (A*). Use one of the

 

 

following:

 

 

BLAS_NO_TRANS

 

 

BLAS_TRANS

 

 

BLAS_CONJ_TRANS

 

DIAG

Specifies whether the triangular matrix has

 

 

unit-diagonal or not. Use one of the following:

 

 

BLAS_UNIT_DIAG or BLAS_NON_UNIT_DIAG.

Chapter 3 Basic Matrix Operations 409