1CHECON(1) LAPACK routine (version 3.2) CHECON(1)
2
3
4
6 CHECON - estimates the reciprocal of the condition number of a complex
7 Hermitian matrix A using the factorization A = U*D*U**H or A = L*D*L**H
8 computed 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. An estimate is obtained for norm(inv(A)), and the
27 reciprocal of the condition number is computed as RCOND = 1 / (ANORM *
28 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 A (input) COMPLEX array, dimension (LDA,N)
41 The block diagonal matrix D and the multipliers used to obtain
42 the factor U or L as computed by CHETRF.
43
44 LDA (input) INTEGER
45 The leading dimension of the array A. LDA >= max(1,N).
46
47 IPIV (input) INTEGER array, dimension (N)
48 Details of the interchanges and the block structure of D as
49 determined by CHETRF.
50
51 ANORM (input) REAL
52 The 1-norm of the original matrix A.
53
54 RCOND (output) REAL
55 The reciprocal of the condition number of the matrix A, com‐
56 puted as RCOND = 1/(ANORM * AINVNM), where AINVNM is an esti‐
57 mate of the 1-norm of inv(A) computed in this routine.
58
59 WORK (workspace) COMPLEX array, dimension (2*N)
60
61 INFO (output) INTEGER
62 = 0: successful exit
63 < 0: if INFO = -i, the i-th argument had an illegal value
64
65
66
67 LAPACK routine (version 3.2) November 2008 CHECON(1)