Developer Reference

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

mkl_?csrsky

Converts a sparse matrix in CSR format to the skyline format and vice versa (deprecated).

Syntax

call mkl_scsrsky
(
job
,
m
,
acsr
,
ja
,
ia
,
asky
,
pointers
,
info
)
call mkl_dcsrsky
(
job
,
m
,
acsr
,
ja
,
ia
,
asky
,
pointers
,
info
)
call mkl_ccsrsky
(
job
,
m
,
acsr
,
ja
,
ia
,
asky
,
pointers
,
info
)
call mkl_zcsrsky
(
job
,
m
,
acsr
,
ja
,
ia
,
asky
,
pointers
,
info
)
Include Files
  • mkl.fi
Description
This routine is deprecated. Use the matrix manipulation routinesfrom the
Intel® MKL
Inspector-executor Sparse BLAS interface instead.
This routine converts a sparse matrix
A
stored in the compressed sparse row (CSR) format (3-array variation) to the skyline format and vice versa.
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.
job
INTEGER
Array, contains the following conversion parameters:
job
(1)
If
job
(1)
=0
, the matrix in the CSR format is converted to the skyline format;
if
job
(1)
=1
, the matrix in the skyline format is converted to the CSR format.
job
(2)
If
job
(2)
=0
, zero-based indexing for the matrix in CSR format is used;
if
job
(2)
=1
, one-based indexing for the matrix in CSR format is used.
job
(3)
If
job
(3)
=0
, zero-based indexing for the matrix in the skyline format is used;
if
job
(3)
=1
, one-based indexing for the matrix in the skyline format is used.
job
(4)
For conversion to the skyline format:
If
job
(4)
=0
, the upper part of the matrix
A
in the CSR format is converted.
If
job
(4)
=1
, the lower part of the matrix
A
in the CSR format is converted.
For conversion to the CSR format:
If
job
(4)
=0
, the matrix is converted to the upper part of the matrix
A
in the CSR format.
If
job
(4)
=1
, the matrix is converted to the lower part of the matrix
A
in the CSR format.
job
(5)
job
(5)
=
nzmax
- maximum number of the non-zero elements of the matrix
A
if
job
(1)
=0
.
job
(6)
- job indicator.
Only for conversion to the skyline format:
If
job
(6)
=0
, only arrays
pointers
is filled in for the output storage.
If
job
(6)
=1
, all output arrays
asky
and
pointers
are filled in for the output storage.
m
INTEGER
.
Dimension of the matrix
A
.
acsr
(input/output)
REAL
for
mkl_scsrsky
.
DOUBLE PRECISION
for
mkl_dcsrsky
.
COMPLEX
for
mkl_ccsrsky
.
DOUBLE COMPLEX
for
mkl_zcsrsky
.</