Developer Reference

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

mkl_?diamm

Computes matrix-matrix product of a sparse matrix stored in the diagonal format with one-based indexing (deprecated).

Syntax

call mkl_sdiamm
(
transa
,
m
,
n
,
k
,
alpha
,
matdescra
,
val
,
lval
,
idiag
,
ndiag
,
b
,
ldb
,
beta
,
c
,
ldc
)
call mkl_ddiamm
(
transa
,
m
,
n
,
k
,
alpha
,
matdescra
,
val
,
lval
,
idiag
,
ndiag
,
b
,
ldb
,
beta
,
c
,
ldc
)
call mkl_cdiamm
(
transa
,
m
,
n
,
k
,
alpha
,
matdescra
,
val
,
lval
,
idiag
,
ndiag
,
b
,
ldb
,
beta
,
c
,
ldc
)
call mkl_zdiamm
(
transa
,
m
,
n
,
k
,
alpha
,
matdescra
,
val
,
lval
,
idiag
,
ndiag
,
b
,
ldb
,
beta
,
c
,
ldc
)
Include Files
  • mkl.fi
Description
This routine is deprecated. Use Use mkl_sparse_?_mmfrom the
Intel® MKL
Inspector-executor Sparse BLAS interface instead.
The
mkl_?diamm
routine performs a matrix-matrix operation defined as
C
:=
alpha
*
A
*
B
+
beta
*
C
or
C
:=
alpha
*
A
T
*
B
+
beta
*
C
,
or
C
:=
alpha
*
A
H
*
B
+
beta
*
C
,
where:
alpha
and
beta
are scalars,
B
and
C
are dense matrices,
A
is an
m
-by-
k
sparse matrix in the diagonal format,
A
T
is the transpose of
A
, and
A
H
is the conjugate transpose of
A
.
This routine supports only one-based indexing of the input arrays.
Input Parameters
Parameter descriptions are common for all implemented interfaces with the exception of data types that refer here to the FORTRAN 77 standard types. Data types specific to the different interfaces are described in the section
"Interfaces"
below.
transa
CHARACTER*1
.
Specifies the operation.
If
transa
=
'N'
or
'n'
, then
C
:=
alpha
*
A
*
B
+
beta
*
C
,
If
transa
=
'T'
or
't'
, then
C
:=
alpha
*
A
T
*
B
+
beta
*
C
,
If
transa
=
'C'
or
'c'
, then
C
:=
alpha
*
A
H
*
B
+
beta
*
C
.