Developer Reference for Intel® oneAPI Math Kernel Library for C
pardiso_getdiag
Returns diagonal elements of initial and factorized matrix.
Syntax
voidpardiso_getdiag ( const_MKL_DSS_HANDLE_tpt , void*df , void*da , constMKL_INT*mnum , MKL_INT*error );
Include Files
mkl.h
Description
This routine returns the diagonal elements of the initial and factorized matrix for a real or Hermitian matrix.
If iparm(24)iparm[23] is set to 10 (an improved two-level factorization algorithm for nonsymmetric matrices), Intel® oneAPI Math Kernel Library PARDISO will automatically use the classic algorithm for factorization.
Input Parameters
- pt
-
INTEGER*8 Array with a size of 64. Handle to internal data structure for the Intel® oneAPI Math Kernel Library (oneMKL) PARDISO solver. The entries must be set to zero prior to the first call to pardiso . Unique for factorization.
- mnum
-
INTEGER Indicates the actual matrix for the solution phase of the Intel® oneAPI Math Kernel Library (oneMKL) PARDISO solver. With this scalar you can define the diagonal elements of the factorized matrix that you want to obtain. The value must be: 1 ≤ mnum ≤ maxfct . In most applications this value is 1.
Output Parameters
- df
-
DOUBLE PRECISION - for real types of matrices and for double precision Intel® oneAPI Math Kernel Library (oneMKL) PARDISO ( iparm(28) =0) REAL - for real types of matrices and for single precision Intel® oneAPI Math Kernel Library (oneMKL) PARDISO ( iparm(28) =1) DOUBLE COMPLEX - for complex types of matrices and for double precision Intel® oneAPI Math Kernel Library (oneMKL) PARDISO ( iparm(28) =0) COMPLEX - for complex types of matrices and for single precision Intel® oneAPI Math Kernel Library (oneMKL) PARDISO ( iparm(28) =1) Array with a dimension of n . Contains diagonal elements of the factorized matrix after factorization.
- da
-
DOUBLE PRECISION - for real types of matrices and for double precision Intel® oneAPI Math Kernel Library (oneMKL) PARDISO ( iparm(28) =0) REAL - for real types of matrices and for single precision Intel® oneAPI Math Kernel Library (oneMKL) PARDISO ( iparm(28) =1) DOUBLE COMPLEX - for complex types of matrices and for double precision Intel® oneAPI Math Kernel Library (oneMKL) PARDISO ( iparm(28) =0) COMPLEX - for complex types of matrices and for single precision Intel® oneAPI Math Kernel Library (oneMKL) PARDISO ( iparm(28) =1) Array with a dimension of n . Contains diagonal elements of the initial matrix.
- error
-
INTEGER The error indicator.