pardiso_getdiag
pardiso_getdiag
Returns diagonal elements of initial and factorized matrix.
Syntax
void
pardiso_getdiag
(
const
_MKL_DSS_HANDLE_t
pt
,
void
*
df
,
void
*
da
,
const
MKL_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.
In order to use this routine, you must set to 1 before the main
iparm
[55]pardiso
loop.Input Parameters
- pt
- Array with a size of 64. Handle to internal data structure for thePARDISO solver. The entries must be set to zero prior to the first call toIntel® oneAPI Math Kernel Librarypardiso. Unique for factorization.
- mnum
- Indicates the actual matrix for the solution phase of thePARDISO solver. With this scalar you can define the diagonal elements of the factorized matrix that you want to obtain. The value must be: 1 ≤Intel® oneAPI Math Kernel Librarymnum≤maxfct. In most applications this value is 1.
Output Parameters
- df
- Array with a dimension ofn. Contains diagonal elements of the factorized matrix after factorization.Elements ofdfcorrespond to diagonal elements of matrixLcomputed during phase 22. Because during phase 22PARDISO makes additional permutations to improve stability, it is possible that arrayIntel® oneAPI Math Kernel Librarydfis not in line with thepermarray computed during phase 11.
- da
- Array with a dimension ofn. Contains diagonal elements of the initial matrix.Elements ofdacorrespond to diagonal elements of matrixLcomputed during phase 22. Because during phase 22PARDISO makes additional permutations to improve stability, it is possible that arrayIntel® oneAPI Math Kernel Librarydais not in line with thepermarray computed during phase 11.
- error
- The error indicator.
- error
- Information
- 0
- no error
- -1
- Diagonal information not turned on beforepardisomain loop (=0).iparm[55]