|
|
◆ zpotri()
| void zpotri |
( |
char |
uplo, |
|
|
int |
n, |
|
|
int |
lda, |
|
|
doublecomplex |
a[], |
|
|
int * |
info |
|
) |
| |
Inverse of a Hermitian positive definite matrix
- Purpose
- This routine computes the inverse of a Hermitian positive definite matrix A using the Cholesky factorization A = U^H*U or A = L*L^H computed by zpotrf.
- Parameters
-
| [in] | uplo | = 'U': Upper triangular factor U is stored in a[][].
= 'L': Lower triangular factor L is stored in a[][]. |
| [in] | n | Order of the matrix A. (n >= 0) (If n = 0, returns without computation) |
| [in] | lda | Leading dimension of the two dimensional array a[][]. (lda >= max(1, n)) |
| [in,out] | a[][] | Array a[la][lda] (la >= n)
[in] The triangular factor U or L from the Cholesky factorization A = U^H*U or A = L*L^H, as computed by zpotrf.
[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)
= -3: The argument lda had an illegal value (lda < max(1, n))
= i > 0: The i-th diagonal element of the factor U or L is zero, and the inverse could not be computed. |
- Reference
- LAPACK
|