hetri#
Functions
-
void chetri(const char *uplo, const INT n, c64 *restrict A, const INT lda, const INT *restrict ipiv, c64 *restrict work, INT *info)#
CHETRI computes the inverse of a complex Hermitian indefinite matrix A using the factorization A = U*D*U**H or A = L*D*L**H computed by CHETRF.
Parameters
inuplo= ‘U’: Upper triangular, A = U*D*U**H = ‘L’: Lower triangular, A = L*D*L**H
innThe order of the matrix A. n >= 0.
inoutAComplex*16 array, dimension (lda, n). On entry, the factored matrix from CHETRF. On exit, the (Hermitian) inverse of the original matrix.
inldaThe leading dimension of A. lda >= max(1, n).
inipivInteger array, dimension (n). The pivot indices from CHETRF.
outworkComplex*16 array, dimension (n).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
> 0: if info = i, D(i,i) = 0; the matrix is singular.
void chetri(
const char* uplo,
const INT n,
c64* restrict A,
const INT lda,
const INT* restrict ipiv,
c64* restrict work,
INT* info
);
Functions
-
void zhetri(const char *uplo, const INT n, c128 *restrict A, const INT lda, const INT *restrict ipiv, c128 *restrict work, INT *info)#
ZHETRI computes the inverse of a complex Hermitian indefinite matrix A using the factorization A = U*D*U**H or A = L*D*L**H computed by ZHETRF.
Parameters
inuplo= ‘U’: Upper triangular, A = U*D*U**H = ‘L’: Lower triangular, A = L*D*L**H
innThe order of the matrix A. n >= 0.
inoutAComplex*16 array, dimension (lda, n). On entry, the factored matrix from ZHETRF. On exit, the (Hermitian) inverse of the original matrix.
inldaThe leading dimension of A. lda >= max(1, n).
inipivInteger array, dimension (n). The pivot indices from ZHETRF.
outworkComplex*16 array, dimension (n).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
> 0: if info = i, D(i,i) = 0; the matrix is singular.
void zhetri(
const char* uplo,
const INT n,
c128* restrict A,
const INT lda,
const INT* restrict ipiv,
c128* restrict work,
INT* info
);