1CGECON(1) LAPACK routine (version 3.1) CGECON(1)
2
3
4
6 CGECON - the reciprocal of the condition number of a general complex
7 matrix A, in either the 1-norm or the infinity-norm, using the LU fac‐
8 torization computed by CGETRF
9
11 SUBROUTINE CGECON( NORM, N, A, LDA, ANORM, RCOND, WORK, RWORK, INFO )
12
13 CHARACTER NORM
14
15 INTEGER INFO, LDA, N
16
17 REAL ANORM, RCOND
18
19 REAL RWORK( * )
20
21 COMPLEX A( LDA, * ), WORK( * )
22
24 CGECON estimates the reciprocal of the condition number of a general
25 complex matrix A, in either the 1-norm or the infinity-norm, using the
26 LU factorization computed by CGETRF.
27
28 An estimate is obtained for norm(inv(A)), and the reciprocal of the
29 condition number is computed as
30 RCOND = 1 / ( norm(A) * norm(inv(A)) ).
31
32
34 NORM (input) CHARACTER*1
35 Specifies whether the 1-norm condition number or the infinity-
36 norm condition number is required:
37 = '1' or 'O': 1-norm;
38 = 'I': Infinity-norm.
39
40 N (input) INTEGER
41 The order of the matrix A. N >= 0.
42
43 A (input) COMPLEX array, dimension (LDA,N)
44 The factors L and U from the factorization A = P*L*U as com‐
45 puted by CGETRF.
46
47 LDA (input) INTEGER
48 The leading dimension of the array A. LDA >= max(1,N).
49
50 ANORM (input) REAL
51 If NORM = '1' or 'O', the 1-norm of the original matrix A. If
52 NORM = 'I', the infinity-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/(norm(A) * norm(inv(A))).
57
58 WORK (workspace) COMPLEX array, dimension (2*N)
59
60 RWORK (workspace) REAL array, dimension (2*N)
61
62 INFO (output) INTEGER
63 = 0: successful exit
64 < 0: if INFO = -i, the i-th argument had an illegal value
65
66
67
68 LAPACK routine (version 3.1) November 2006 CGECON(1)