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, form is A = U*D*U**H'L': Lower triangular, form is A = L*D*L**H
innThe order of the matrix A.
n>=0.inoutAArray of dimension
(lda,n). On entry, the block diagonal matrix D and the multipliers used to obtain the factor U or L as computed bychetrf. On exit, ifinfo=0, the (Hermitian) inverse of the original matrix. Ifuplo='U', the upper triangular part of the inverse is formed and the part of A below the diagonal is not referenced; ifuplo='L'the lower triangular part of the inverse is formed and the part of A above the diagonal is not referenced.inldaThe leading dimension of the array A.
lda>=max(1,n).inipivArray of dimension
n. Details of the interchanges and the block structure of D as determined bychetrf.outworkArray of dimension
n.outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal valueinfo>0: ifinfo=i,D(i,i)=0; the matrix is singular and its inverse could not be computed.
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, form is A = U*D*U**H'L': Lower triangular, form is A = L*D*L**H
innThe order of the matrix A.
n>=0.inoutAArray of dimension
(lda,n). On entry, the block diagonal matrix D and the multipliers used to obtain the factor U or L as computed byzhetrf. On exit, ifinfo=0, the (Hermitian) inverse of the original matrix. Ifuplo='U', the upper triangular part of the inverse is formed and the part of A below the diagonal is not referenced; ifuplo='L'the lower triangular part of the inverse is formed and the part of A above the diagonal is not referenced.inldaThe leading dimension of the array A.
lda>=max(1,n).inipivArray of dimension
n. Details of the interchanges and the block structure of D as determined byzhetrf.outworkArray of dimension
n.outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal valueinfo>0: ifinfo=i,D(i,i)=0; the matrix is singular and its inverse could not be computed.
void zhetri(
const char* uplo,
const INT n,
c128* restrict A,
const INT lda,
const INT* restrict ipiv,
c128* restrict work,
INT* info
);