1CHPCON(1) LAPACK routine (version 3.2) CHPCON(1)
2
3
4
6 CHPCON - estimates the reciprocal of the condition number of a complex
7 Hermitian packed matrix A using the factorization A = U*D*U**H or A =
8 L*D*L**H computed by CHPTRF
9
11 SUBROUTINE CHPCON( UPLO, N, AP, IPIV, ANORM, RCOND, WORK, INFO )
12
13 CHARACTER UPLO
14
15 INTEGER INFO, N
16
17 REAL ANORM, RCOND
18
19 INTEGER IPIV( * )
20
21 COMPLEX AP( * ), WORK( * )
22
24 CHPCON estimates the reciprocal of the condition number of a complex
25 Hermitian packed matrix A using the factorization A = U*D*U**H or A =
26 L*D*L**H computed by CHPTRF. An estimate is obtained for norm(inv(A)),
27 and the reciprocal of the condition number is computed as RCOND = 1 /
28 (ANORM * norm(inv(A))).
29
31 UPLO (input) CHARACTER*1
32 Specifies whether the details of the factorization are stored
33 as an upper or lower triangular matrix. = 'U': Upper triangu‐
34 lar, form is A = U*D*U**H;
35 = 'L': Lower triangular, form is A = L*D*L**H.
36
37 N (input) INTEGER
38 The order of the matrix A. N >= 0.
39
40 AP (input) COMPLEX array, dimension (N*(N+1)/2)
41 The block diagonal matrix D and the multipliers used to obtain
42 the factor U or L as computed by CHPTRF, stored as a packed
43 triangular matrix.
44
45 IPIV (input) INTEGER array, dimension (N)
46 Details of the interchanges and the block structure of D as
47 determined by CHPTRF.
48
49 ANORM (input) REAL
50 The 1-norm of the original matrix A.
51
52 RCOND (output) REAL
53 The reciprocal of the condition number of the matrix A, com‐
54 puted as RCOND = 1/(ANORM * AINVNM), where AINVNM is an esti‐
55 mate of the 1-norm of inv(A) computed in this routine.
56
57 WORK (workspace) COMPLEX array, dimension (2*N)
58
59 INFO (output) INTEGER
60 = 0: successful exit
61 < 0: if INFO = -i, the i-th argument had an illegal value
62
63
64
65 LAPACK routine (version 3.2) November 2008 CHPCON(1)