Eötvös Quantum Utilities  v4.9.146
Providing the Horsepowers in the Quantum Realm
Functions/Subroutines
getdiaginv Module Reference

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...
 

Detailed Description

Module to calculate the diagonal of the inverse of a real/complex sparse matrix via the PARDISO libraries.

Function/Subroutine Documentation

◆ dgetdiaginv()

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.

Parameters
[in]sizeAThe size of the matrix to be inverted.
[in]nonzerosAThe number of nonzero elements in the matrix to be inverted.
[in]aThe nonzero elements in the matrix to be inverted.
[in]iaThe row indexes of the elements in the matrix to be inverted.
[in]jaThe column indexes of the elements in the matrix to be inverted.
[out]invAThe preallocated array for the diagonal of the inverse
[out]errorThe error flag. (See https://software.intel.com/en-us/node/470284 for setails)

Definition at line 51 of file getDiagInv.F90.

◆ zgetdiaginv()

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.

Parameters
[in]sizeAThe size of the matrix to be inverted.
[in]nonzerosAThe number of nonzero elements in the matrix to be inverted.
[in]aThe nonzero elements in the matrix to be inverted.
[in]iaThe row indexes of the elements in the matrix to be inverted.
[in]jaThe column indexes of the elements in the matrix to be inverted.
[out]real_invAThe preallocated array for the real part of the partial inverse
[out]imag_invAThe preallocated array for the imaginary part of the partial inverse
[out]errorThe error flag. (See https://software.intel.com/en-us/node/470284 for setails)

Definition at line 303 of file getDiagInv.F90.