1CPPTRI(1) LAPACK routine (version 3.1) CPPTRI(1)
2
3
4
6 CPPTRI - the inverse of a complex Hermitian positive definite matrix A
7 using the Cholesky factorization A = U**H*U or A = L*L**H computed by
8 CPPTRF
9
11 SUBROUTINE CPPTRI( UPLO, N, AP, INFO )
12
13 CHARACTER UPLO
14
15 INTEGER INFO, N
16
17 COMPLEX AP( * )
18
20 CPPTRI computes the inverse of a complex Hermitian positive definite
21 matrix A using the Cholesky factorization A = U**H*U or A = L*L**H com‐
22 puted by CPPTRF.
23
24
26 UPLO (input) CHARACTER*1
27 = 'U': Upper triangular factor is stored in AP;
28 = 'L': Lower triangular factor is stored in AP.
29
30 N (input) INTEGER
31 The order of the matrix A. N >= 0.
32
33 AP (input/output) COMPLEX array, dimension (N*(N+1)/2)
34 On entry, the triangular factor U or L from the Cholesky fac‐
35 torization A = U**H*U or A = L*L**H, packed columnwise as a
36 linear array. The j-th column of U or L is stored in the array
37 AP as follows: if UPLO = 'U', AP(i + (j-1)*j/2) = U(i,j) for
38 1<=i<=j; if UPLO = 'L', AP(i + (j-1)*(2n-j)/2) = L(i,j) for
39 j<=i<=n.
40
41 On exit, the upper or lower triangle of the (Hermitian) inverse
42 of A, overwriting the input factor U or L.
43
44 INFO (output) INTEGER
45 = 0: successful exit
46 < 0: if INFO = -i, the i-th argument had an illegal value
47 > 0: if INFO = i, the (i,i) element of the factor U or L is
48 zero, and the inverse could not be computed.
49
50
51
52 LAPACK routine (version 3.1) November 2006 CPPTRI(1)