Developer Reference

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

?trmm

Computes a matrix-matrix product where one input matrix is triangular.

Syntax

call strmm
(
side
,
uplo
,
transa
,
diag
,
m
,
n
,
alpha
,
a
,
lda
,
b
,
ldb
)
call dtrmm
(
side
,
uplo
,
transa
,
diag
,
m
,
n
,
alpha
,
a
,
lda
,
b
,
ldb
)
call ctrmm
(
side
,
uplo
,
transa
,
diag
,
m
,
n
,
alpha
,
a
,
lda
,
b
,
ldb
)
call ztrmm
(
side
,
uplo
,
transa
,
diag
,
m
,
n
,
alpha
,
a
,
lda
,
b
,
ldb
)
call trmm
(
a
,
b
[
,
side
]
[
,
uplo
]
[
,
transa
]
[
,
diag
]
[
,
alpha
]
)
Include Files
  • mkl.fi
    ,
    blas.f90
Description
The
?trmm
routines compute a scalar-matrix-matrix product
with one triangular matrix
. The operation is defined as
B
:=
alpha
*op(
A
)*
B
or
B
:=
alpha
*B
*op(
A
)
where:
alpha
is a scalar,
B
is an
m
-by-
n
matrix,
A
is a unit, or non-unit, upper or lower triangular matrix
op(
A
)
is one of
op(
A
)
=
A
, or
op(A) =
A
'
, or
op(
A
) = conjg(
A
')
.
Input Parameters
side
CHARACTER*1
.
Specifies whether
op(
A
)
appears on the left or right of
B
in the operation:
if
side
= 'L'
or
'l'
, then
B
:=
alpha
*op(
A
)*
B
;
if
side
= 'R'
or
'r'
, then
B
:=
alpha
*
B
*op(
A
)
.
uplo
CHARACTER*1
.
Specifies whether the matrix
A
is upper or lower triangular.
uplo
=
'U'
or
'u'
if
uplo
=
'L'
or
'l'
, then the matrix is low triangular.
transa
CHARACTER*1
.
Specifies the form of
op(
A
)
used in the matrix multiplication:
if
transa
= 'N'
or
'n'
, then
op(
A
) =
A
;
if
transa
= 'T'
or
't'
, then
op(
A
) =
A
'
;
if