Developer Reference

  • 2020.2
  • 07/15/2020
  • Public Content
Contents

?gemv

Computes a matrix-vector product using a general matrix.

Syntax

call sgemv
(
trans
,
m
,
n
,
alpha
,
a
,
lda
,
x
,
incx
,
beta
,
y
,
incy
)
call dgemv
(
trans
,
m
,
n
,
alpha
,
a
,
lda
,
x
,
incx
,
beta
,
y
,
incy
)
call cgemv
(
trans
,
m
,
n
,
alpha
,
a
,
lda
,
x
,
incx
,
beta
,
y
,
incy
)
call zgemv
(
trans
,
m
,
n
,
alpha
,
a
,
lda
,
x
,
incx
,
beta
,
y
,
incy
)
call scgemv
(
trans
,
m
,
n
,
alpha
,
a
,
lda
,
x
,
incx
,
beta
,
y
,
incy
)
call dzgemv
(
trans
,
m
,
n
,
alpha
,
a
,
lda
,
x
,
incx
,
beta
,
y
,
incy
)
call gemv
(
a
,
x
,
y
[
,
alpha
]
[
,
beta
]
[
,
trans
]
)
Include Files
  • mkl.fi
    ,
    blas.f90
Description
The
?gemv
routines perform a matrix-vector operation defined as:
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,
A
is an
m
-by-
n
matrix.