Developer Reference

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

mkl_?csrsv

Solves a system of linear equations for a sparse matrix in the CSR format (deprecated).

Syntax

call mkl_scsrsv
(
transa
,
m
,
alpha
,
matdescra
,
val
,
indx
,
pntrb
,
pntre
,
x
,
y
)
call mkl_dcsrsv
(
transa
,
m
,
alpha
,
matdescra
,
val
,
indx
,
pntrb
,
pntre
,
x
,
y
)
call mkl_ccsrsv
(
transa
,
m
,
alpha
,
matdescra
,
val
,
indx
,
pntrb
,
pntre
,
x
,
y
)
call mkl_zcsrsv
(
transa
,
m
,
alpha
,
matdescra
,
val
,
indx
,
pntrb
,
pntre
,
x
,
y
)
Include Files
  • mkl.fi
Description
This routine is deprecated. Use mkl_sparse_?_trsvfrom the
Intel® MKL
Inspector-executor Sparse BLAS interface instead.
The
mkl_?csrsv
routine solves a system of linear equations with matrix-vector operations for a sparse matrix in the CSR format:
y
:=
alpha
*inv(
A
)*
x
or
y
:=
alpha
*inv(
A
T
)*
x
,
where:
alpha
is scalar,
x
and
y
are vectors,
A
is a sparse upper or lower triangular matrix with unit or non-unit main diagonal,
A
T
is the transpose of
A
.
This routine supports a CSR format both with one-based indexing and zero-based indexing.
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 system of linear equations.
If
transa
=
'N'
or
'n'
, then
y
:=
alpha
*inv(
A
)*
x
If
transa
=
'T'
or
't'
or
'C'
or
'c'
, then
y
:=
alpha
*inv(
A
T
)*
x
,
m
INTEGER
.
Number of columns of the matrix
A
.
alpha
REAL
for
mkl_scsrsv
.
DOUBLE PRECISION
for
mkl_dcsrsv
.
COMPLEX
for
mkl_ccsrsv
.
DOUBLE COMPLEX
for
mkl_zcsrsv
.
Specifies the scalar
alpha
.
matdescra
CHARACTER
.
Array of six elements, specifies properties of the matrix used for operation. Only first four array elements are used, their possible values are given in
Table “Possible Values of the Parameter
matdescra
(
descra
)”
. Possible combinations of element values of this parameter are given in
Table “Possible Combinations of Element Values of the Parameter
matdescra
.
val
REAL
for
mkl_scsrsv
.
DOUBLE PRECISION
for
mkl_dcsrsv
.
COMPLEX
for
mkl_ccsrsv
.
DOUBLE COMPLEX
for
mkl_zcsrsv
.
Array containing non-zero elements of the matrix
A
.
For one-based indexing its length is
pntre
(m) -