Developer Reference

  • 098
  • 03/30/2020
  • Public Content
Contents

p?trmv

Computes a distributed matrix-vector product using a triangular matrix.

Syntax

call pstrmv
(
uplo
,
trans
,
diag
,
n
,
a
,
ia
,
ja
,
desca
,
x
,
ix
,
jx
,
descx
,
incx
)
call pdtrmv
(
uplo
,
trans
,
diag
,
n
,
a
,
ia
,
ja
,
desca
,
x
,
ix
,
jx
,
descx
,
incx
)
call pctrmv
(
uplo
,
trans
,
diag
,
n
,
a
,
ia
,
ja
,
desca
,
x
,
ix
,
jx
,
descx
,
incx
)
call pztrmv
(
uplo
,
trans
,
diag
,
n
,
a
,
ia
,
ja
,
desca
,
x
,
ix
,
jx
,
descx
,
incx
)
Include Files
  • mkl_pblas.h
Description
The
p?trmv
routines perform one of the following distributed matrix-vector operations defined as
sub(
x
) := sub(
A
)*sub(
x
)
, or
sub(
x
) :=sub(
A
)'*sub(
x
)
, or
sub(
x
) := conjg(sub(
A
)')*sub(
x
)
,
where:
sub(
A
)
is a
n
-by-
n
unit, or non-unit, upper or lower triangular distributed matrix,
sub(
A
) =
A
(
ia
:
ia
+
n
-1,
ja
:
ja
+
n
-1)
,
sub(
x
)
is an
n
-element distributed vector.
sub(
x
)
denotes
X
(
ix
,
jx
:
jx
+
n
-1)
if
incx
=
m_x
, and
X
(
ix
:
ix
+
n
-1,
jx
)
if
incx
= 1,
Input Parameters
uplo
(global)
CHARACTER*1
.
Specifies whether the distributed matrix
sub(
A
)
is upper or lower triangular:
if
uplo
=
'U'
or
'u'
, then the matrix is upper triangular;
if
uplo
=
'L'
or
'l'
, then the matrix is low triangular.
trans
(global)
CHARACTER*1
.
Specifies the form of
op(sub(
A
))
used in the matrix equation:
if
transa
= '
N
'
or
'
n
'
, then
sub(
x
) := sub(
A
)*sub(
x
)
;
if
transa
= '
T
'
or
'
t
'
, then
sub(
x
) :=sub(
A
)'*sub(
x
)
;
if
transa
= '
C
'
or
'
c
'
, then
sub(
x
) := conjg(sub(
A
)')*sub(
x
)
.
diag
(global)
CHARACTER*1
.
Specifies whether the matrix
sub(