Developer Reference

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

p?trsm

Solves a distributed matrix equation (one matrix operand is triangular).

Syntax

call pstrsm
(
side
,
uplo
,
transa
,
diag
,
m
,
n
,
alpha
,
a
,
ia
,
ja
,
desca
,
b
,
ib
,
jb
,
descb
)
call pdtrsm
(
side
,
uplo
,
transa
,
diag
,
m
,
n
,
alpha
,
a
,
ia
,
ja
,
desca
,
b
,
ib
,
jb
,
descb
)
call pctrsm
(
side
,
uplo
,
transa
,
diag
,
m
,
n
,
alpha
,
a
,
ia
,
ja
,
desca
,
b
,
ib
,
jb
,
descb
)
call pztrsm
(
side
,
uplo
,
transa
,
diag
,
m
,
n
,
alpha
,
a
,
ia
,
ja
,
desca
,
b
,
ib
,
jb
,
descb
)
Include Files
  • mkl_pblas.h
Description
The
p?trsm
routines solve one of the following distributed matrix equations:
op(sub(
A
))*
X
=
alpha
*sub(
B
),
or
X
*op(sub(
A
)) =
alpha
*sub(
B
),
where:
alpha
is a scalar,
X
and
sub(
B
)
are
m
-by-
n
distributed matrices,
sub(
B
)=
B
(
ib
:
ib
+
m
-1,
jb
:
jb
+
n
-1)
;
A
is a unit, or non-unit, upper or lower triangular distributed matrix,
sub(
A
)=
A
(
ia
:
ia
+
m
-1,
ja
:
ja
+
m
-1)
, if
side
= '
L
'
or
'
l
'
, and
sub(
A
)=
A
(
ia
:
ia
+
n
-1,
ja
:
ja
+
n
-1)
, if
side
= '
R
'
or
'
r
'
;
op(sub(
A
))
is one of
op(sub(
A
)) = sub(
A
)
, or
op(sub(
A
)) = sub(
A
)'
, or
op(sub(
A
)) = conjg(sub(
A
)')
.
The distributed matrix