Eötvös Quantum Utilities
v4.9.146
Providing the Horsepowers in the Quantum Realm
|
Module to calculate the diagonal of the inverse of a real/complex sparse matrix via the PARDISO libraries. More...
Functions/Subroutines | |
subroutine | dgetdiaginv (sizeA, nonzerosA, a, ia, ja, invA, error) |
Get the diagonal part of the inverse of double valued real matrices. More... | |
subroutine | zgetdiaginv (sizeA, nonzerosA, a, ia, ja, real_invA, imag_invA, error) |
Get the diagonal part of the inverse of double valued complex matrices. More... | |
Module to calculate the diagonal of the inverse of a real/complex sparse matrix via the PARDISO libraries.
subroutine getdiaginv::dgetdiaginv | ( | integer*4 | sizeA, |
integer*4 | nonzerosA, | ||
real*8, dimension(nonzerosa), target | a, | ||
integer*4, dimension(sizea+1), target | ia, | ||
integer*4, dimension(nonzerosa), target | ja, | ||
real*8, dimension(sizea) | invA, | ||
integer*4 | error | ||
) |
Get the diagonal part of the inverse of double valued real matrices.
[in] | sizeA | The size of the matrix to be inverted. |
[in] | nonzerosA | The number of nonzero elements in the matrix to be inverted. |
[in] | a | The nonzero elements in the matrix to be inverted. |
[in] | ia | The row indexes of the elements in the matrix to be inverted. |
[in] | ja | The column indexes of the elements in the matrix to be inverted. |
[out] | invA | The preallocated array for the diagonal of the inverse |
[out] | error | The error flag. (See https://software.intel.com/en-us/node/470284 for setails) |
Definition at line 51 of file getDiagInv.F90.
subroutine getdiaginv::zgetdiaginv | ( | integer*4 | sizeA, |
integer*4 | nonzerosA, | ||
complex*16, dimension(nonzerosa), target | a, | ||
integer*4, dimension(sizea+1), target | ia, | ||
integer*4, dimension(nonzerosa), target | ja, | ||
real*8, dimension(sizea) | real_invA, | ||
real*8, dimension(sizea) | imag_invA, | ||
integer*4 | error | ||
) |
Get the diagonal part of the inverse of double valued complex matrices.
[in] | sizeA | The size of the matrix to be inverted. |
[in] | nonzerosA | The number of nonzero elements in the matrix to be inverted. |
[in] | a | The nonzero elements in the matrix to be inverted. |
[in] | ia | The row indexes of the elements in the matrix to be inverted. |
[in] | ja | The column indexes of the elements in the matrix to be inverted. |
[out] | real_invA | The preallocated array for the real part of the partial inverse |
[out] | imag_invA | The preallocated array for the imaginary part of the partial inverse |
[out] | error | The error flag. (See https://software.intel.com/en-us/node/470284 for setails) |
Definition at line 303 of file getDiagInv.F90.