1ZHPTRI(1)                LAPACK routine (version 3.2)                ZHPTRI(1)
2
3
4

NAME

6       ZHPTRI  - computes the inverse of a complex Hermitian indefinite matrix
7       A in packed storage using  the  factorization  A  =  U*D*U**H  or  A  =
8       L*D*L**H computed by ZHPTRF
9

SYNOPSIS

11       SUBROUTINE ZHPTRI( UPLO, N, AP, IPIV, WORK, INFO )
12
13           CHARACTER      UPLO
14
15           INTEGER        INFO, N
16
17           INTEGER        IPIV( * )
18
19           COMPLEX*16     AP( * ), WORK( * )
20

PURPOSE

22       ZHPTRI  computes the inverse of a complex Hermitian indefinite matrix A
23       in packed storage using the factorization A = U*D*U**H or A =  L*D*L**H
24       computed by ZHPTRF.
25

ARGUMENTS

27       UPLO    (input) CHARACTER*1
28               Specifies  whether  the details of the factorization are stored
29               as an upper or lower triangular matrix.  = 'U':  Upper triangu‐
30               lar, form is A = U*D*U**H;
31               = 'L':  Lower triangular, form is A = L*D*L**H.
32
33       N       (input) INTEGER
34               The order of the matrix A.  N >= 0.
35
36       AP      (input/output) COMPLEX*16 array, dimension (N*(N+1)/2)
37               On  entry, the block diagonal matrix D and the multipliers used
38               to obtain the factor U or L as computed by ZHPTRF, stored as  a
39               packed  triangular  matrix.  On exit, if INFO = 0, the (Hermit‐
40               ian) inverse of the original matrix, stored as a packed  trian‐
41               gular  matrix. The j-th column of inv(A) is stored in the array
42               AP as follows: if UPLO = 'U', AP(i + (j-1)*j/2)  =  inv(A)(i,j)
43               for   1<=i<=j;   if  UPLO  =  'L',  AP(i  +  (j-1)*(2n-j)/2)  =
44               inv(A)(i,j) for j<=i<=n.
45
46       IPIV    (input) INTEGER array, dimension (N)
47               Details of the interchanges and the block  structure  of  D  as
48               determined by ZHPTRF.
49
50       WORK    (workspace) COMPLEX*16 array, dimension (N)
51
52       INFO    (output) INTEGER
53               = 0: successful exit
54               < 0: if INFO = -i, the i-th argument had an illegal value
55               >  0:  if  INFO = i, D(i,i) = 0; the matrix is singular and its
56               inverse could not be computed.
57
58
59
60 LAPACK routine (version 3.2)    November 2008                       ZHPTRI(1)
Impressum