F_SGEMV/F_DGEMV/F_CGEMV/F_ZGEMV

General matrix-vector multiply

 

INTEGER*8

INCX, INCY, LDA, M, N, TRANS

 

REAL*4

ALPHA, BETA

 

REAL*4

A( LDA, * ), X( * ), Y( * )

 

SUBROUTINE F_SGEMV (TRANS, M, N, ALPHA, A, LDA, X, INCX, BETA,

 

Y, INCY)

 

 

INTEGER*8

INCX, INCY, LDA, M, N, TRANS

 

REAL*8

ALPHA, BETA

 

REAL*8

A( LDA, * ), X( * ), Y( * )

 

SUBROUTINE F_DGEMV (TRANS, M, N, ALPHA, A, LDA, X, INCX,

 

BETA, Y, INCY)

 

 

INTEGER*8

INCX, INCY, LDA, M, N, TRANS

 

COMPLEX*8

ALPHA, BETA

 

COMPLEX*8

A( LDA, * ), X( * ), Y( * )

 

SUBROUTINE F_CGEMV (TRANS, M, N, ALPHA, A, LDA, X, INCX,

 

BETA, Y, INCY)

 

 

INTEGER*8

INCX, INCY, LDA, M, N, TRANS

 

COMPLEX*16

ALPHA, BETA

 

COMPLEX*16

A( LDA, * ), X( * ), Y( * )

 

SUBROUTINE F_ZGEMV (TRANS, M, N, ALPHA, A, LDA, X, INCX, BETA,

 

Y, INCY)

 

Input

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.

 

M

Number of rows in matrix A, m > 0. If m 0 , the

 

 

subprograms do not reference A, X, or Y.

 

N

Number of columns in matrix A, n > 0. If n 0 , the

 

 

subprograms do not reference A, X, or Y.

 

ALPHA

The scalar ALPHA. If beta = 1 and alpha = 0, this

 

 

routine returns immediately.

 

A

REAL or COMPLEX array, dimension (LDA, N).

 

LDA

Leading dimension of array A. If lda < 1 or lda < m, an

 

 

error condition is generated.

 

X

REAL or COMPLEX array, minimum length

 

 

(N - 1) x incx + 1.

 

INCX

Increment for the array x. A vector x having component

 

 

xi, i = 1,..., n, is stored in an array X() with increment

366HP MLIB User’s Guide