Developer Reference

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

?trsm

Solves a triangular matrix equation.

Syntax

call strsm
(
side
,
uplo
,
transa
,
diag
,
m
,
n
,
alpha
,
a
,
lda
,
b
,
ldb
)
call dtrsm
(
side
,
uplo
,
transa
,
diag
,
m
,
n
,
alpha
,
a
,
lda
,
b
,
ldb
)
call ctrsm
(
side
,
uplo
,
transa
,
diag
,
m
,
n
,
alpha
,
a
,
lda
,
b
,
ldb
)
call ztrsm
(
side
,
uplo
,
transa
,
diag
,
m
,
n
,
alpha
,
a
,
lda
,
b
,
ldb
)
call trsm
(
a
,
b
[
,
side
]
[
,
uplo
]
[
,
transa
]
[
,
diag
]
[
,
alpha
]
)
Include Files
  • mkl.fi
    ,
    blas.f90
Description
The
?trsm
routines solve one of the following matrix equations:
op(
A
)*
X
=
alpha
*
B
,
or
X
*op(
A
) =
alpha
*
B
,
where:
alpha
is a scalar,
X
and
B
are
m
-by-
n
matrices,
A
is a
unit, or non-unit, upper or lower
triangular matrix, and
op(
A
)
is one of
op(
A
) =
A
, or
op(
A
) =
A
'
, or
op(
A
) = conjg(
A
')
.
The matrix
B
is overwritten by the solution matrix
X
.
Input Parameters
side
CHARACTER*1
.
Specifies whether
op(
A
)
appears on the left or right of
X
in the equation:
if
side
= 'L'
or
'l'
, then
op(
A
)*
X
=
alpha
*
B
;
if
side
= 'R'
or
'r'
, then
X
*op(
A
) =
alpha
*
B
.
uplo