NAME

cgemv - perform one of the matrix-vector operations y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y, or y := alpha*conjg( A' )*x + beta*y


SYNOPSIS

  SUBROUTINE CGEMV( TRANSA, M, N, ALPHA, A, LDA, X, INCX, BETA, Y, 
 *      INCY)
  CHARACTER * 1 TRANSA
  COMPLEX ALPHA, BETA
  COMPLEX A(LDA,*), X(*), Y(*)
  INTEGER M, N, LDA, INCX, INCY
  SUBROUTINE CGEMV_64( TRANSA, M, N, ALPHA, A, LDA, X, INCX, BETA, Y, 
 *      INCY)
  CHARACTER * 1 TRANSA
  COMPLEX ALPHA, BETA
  COMPLEX A(LDA,*), X(*), Y(*)
  INTEGER*8 M, N, LDA, INCX, INCY

F95 INTERFACE

  SUBROUTINE GEMV( [TRANSA], [M], [N], ALPHA, A, [LDA], X, [INCX], 
 *       BETA, Y, [INCY])
  CHARACTER(LEN=1) :: TRANSA
  COMPLEX :: ALPHA, BETA
  COMPLEX, DIMENSION(:) :: X, Y
  COMPLEX, DIMENSION(:,:) :: A
  INTEGER :: M, N, LDA, INCX, INCY
  SUBROUTINE GEMV_64( [TRANSA], [M], [N], ALPHA, A, [LDA], X, [INCX], 
 *       BETA, Y, [INCY])
  CHARACTER(LEN=1) :: TRANSA
  COMPLEX :: ALPHA, BETA
  COMPLEX, DIMENSION(:) :: X, Y
  COMPLEX, DIMENSION(:,:) :: A
  INTEGER(8) :: M, N, LDA, INCX, INCY

C INTERFACE

#include <sunperf.h>

void cgemv(char transa, int m, int n, complex alpha, complex *a, int lda, complex *x, int incx, complex beta, complex *y, int incy);

void cgemv_64(char transa, long m, long n, complex alpha, complex *a, long lda, complex *x, long incx, complex beta, complex *y, long incy);


PURPOSE

cgemv performs one of the matrix-vector operations y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y, or y := alpha*conjg( A' )*x + beta*y where alpha and beta are scalars, x and y are vectors and A is an m by n matrix.


ARGUMENTS