F_STPMV/F_DTPMV/F_CTPMV/F_ZTPMV

Triangular packed matrix-vector multiply

 

INTEGER*8

DIAG, INCX, N, TRANS, UPLO

 

REAL*4

ALPHA

 

REAL*4

AP( * ), X( * )

 

SUBROUTINE F_STPMV (UPLO, TRANS, DIAG, N, ALPHA, AP, X, INCX)

 

INTEGER*8

DIAG, INCX, N, TRANS, UPLO

 

REAL*8

ALPHA

 

REAL*8

AP( * ), X( * )

 

SUBROUTINE F_DTPMV (UPLO, TRANS, DIAG, N, ALPHA, AP, X, INCX)

 

INTEGER*8

DIAG, INCX, N, TRANS, UPLO

 

COMPLEX*8

ALPHA

 

COMPLEX*8

AP( * ), X( * )

 

SUBROUTINE F_CTPMV (UPLO, TRANS, DIAG, N, ALPHA, AP, X, INCX)

 

INTEGER*8

DIAG, INCX, N, TRANS, UPLO

 

COMPLEX*16

ALPHA

 

COMPLEX*16

AP( * ), X( * )

 

SUBROUTINE F_ZTPMV (UPLO, TRANS, DIAG, N, ALPHA, AP, 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.

 

N

Number of rows and columns in matrix A, and

 

 

elements of vector X. n > 0. If n 0 , the subprograms

 

 

do not reference A or X.

 

ALPHA

The scalar ALPHA.

 

AP

Array containing the upper or lower triangle, as

 

 

specified by uplo of an n-by-nreal symmetric or

 

 

complex Hermitian matrix A, stored by columns in

 

 

packed form.

 

X

REAL or COMPLEX array, minimum length

 

 

(N - 1) x incx + 1.

404HP MLIB User’s Guide