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