Developer Reference

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

?gemmt

Computes a matrix-matrix product with general matrices but updates only the upper or lower triangular part of the result matrix.

Syntax

call sgemmt
(
uplo
,
transa
,
transb
,
n
,
k
,
alpha
,
a
,
lda
,
b
,
ldb
,
beta
,
c
,
ldc
)
call dgemmt
(
uplo
,
transa
,
transb
,
n
,
k
,
alpha
,
a
,
lda
,
b
,
ldb
,
beta
,
c
,
ldc
)
call cgemmt
(
uplo
,
transa
,
transb
,
n
,
k
,
alpha
,
a
,
lda
,
b
,
ldb
,
beta
,
c
,
ldc
)
call zgemmt
(
uplo
,
transa
,
transb
,
n
,
k
,
alpha
,
a
,
lda
,
b
,
ldb
,
beta
,
c
,
ldc
)
call gemmt
(
a
,
b
,
c
[
,
uplo
] [
,
transa
] [
,
transb
] [
,
alpha
] [
,
beta
]
)
Include Files
  • mkl.fi
    ,
    blas.f90
Description
The
?gemmt
routines compute a scalar-matrix-matrix product with general matrices and add the result to the upper or lower part of a scalar-matrix product. These routines are similar to the
?gemm
routines, but they only access and update a triangular part of the square result matrix (see Application Notes below).
The operation is defined as
C
:=
alpha
*op(
A
)*op(
B
) +
beta
*
C
,
where:
op(
X
)
is one of
op(
X
) =
X
, or
op(
X
) =
X
T
, or
op(
X
) =
X
H
,
alpha
and
beta
are scalars,
A
,
B
and
C
are matrices:
op(
A
)
is an
n
-by-
k
matrix,
op(
B
)
is a
k
-by-
n
matrix,
C
is an
n
-by-
n
upper or lower triangular matrix.
Input Parameters
uplo
CHARACTER*1
.
Specifies whether the upper or lower triangular part of the array
c
is used. If
uplo
=