Developer Reference

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

?gbmv

Computes a matrix-vector product with a general band matrix.

Syntax

call sgbmv
(
trans
,
m
,
n
,
kl
,
ku
,
alpha
,
a
,
lda
,
x
,
incx
,
beta
,
y
,
incy
)
call dgbmv
(
trans
,
m
,
n
,
kl
,
ku
,
alpha
,
a
,
lda
,
x
,
incx
,
beta
,
y
,
incy
)
call cgbmv
(
trans
,
m
,
n
,
kl
,
ku
,
alpha
,
a
,
lda
,
x
,
incx
,
beta
,
y
,
incy
)
call zgbmv
(
trans
,
m
,
n
,
kl
,
ku
,
alpha
,
a
,
lda
,
x
,
incx
,
beta
,
y
,
incy
)
call gbmv
(
a
,
x
,
y
[
,
kl
]
[
,
m
]
[
,
alpha
]
[
,
beta
]
[
,
trans
]
)
Include Files
  • mkl.fi
    ,
    blas.f90
Description
The
?gbmv
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
band matrix, with
kl
sub-diagonals and
ku
super-diagonals.
Input Parameters
trans
CHARACTER*1
.
Specifies the operation:
If
trans
= 'N'
or
'n'
, then
y
:=
alpha
*
A
*
x
+
beta
*
y
If
trans
= 'T'
or
't'
, then
y
:=
alpha
*
A
'*
x
+
beta
*
y
If
trans
= 'C'
or
'c'
, then
y
:=
alpha
*conjg(
A
')*
x
+
beta
*
y
m
INTEGER
.
Specifies the number of rows of the matrix
A
.
The value of
m
must be at least zero.
n
INTEGER
.
Specifies the number of columns of the matrix
A
.
The value of