XLPack 7.0
XLPack Numerical Library (C API) Reference Manual
Loading...
Searching...
No Matches

◆ zpptri()

void zpptri ( char  uplo,
int  n,
doublecomplex  ap[],
int *  info 
)

Inverse of a Hermitian positive definite matrix in packed form

Purpose
This routine computes the inverse of a Hermitian positive definite matrix A in packed form using the Cholesky factorization A = U^H*U or A = L*L^H computed by zpptrf.
Parameters
[in]uplo= 'U': Upper triangular factor U is stored in ap[].
= 'L': Lower triangular factor L is stored in ap[].
[in]nOrder of the matrix A. (n >= 0) (If n = 0, returns without computation)
[in,out]ap[]Array ap[lap] (lap >= n(n + 1)/2)
[in] The triangular factor U or L in packed form from the Cholesky factorization A = U^H*U or A = L*L^H, as computed by zpptrf.
[out] If info = 0, the upper or lower triangle of the (Hermitian) inverse of A, overwriting the input factor U or L.
[out]info= 0: Successful exit
= -1: The argument uplo had an illegal value (uplo != 'U' nor 'L')
= -2: The argument n had an illegal value (n < 0)
= i > 0: The i-th diagonal element of the factor U or L is zero, and the inverse could not be computed.
Reference
LAPACK