1CGECON(1) LAPACK routine (version 3.2) CGECON(1)
2
3
4
6 CGECON - estimates the reciprocal of the condition number of a general
7 complex matrix A, in either the 1-norm or the infinity-norm, using the
8 LU factorization 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. An estimate is obtained for
27 norm(inv(A)), and the reciprocal of the condition number is computed as
28 RCOND = 1 / ( norm(A) * norm(inv(A)) ).
29
31 NORM (input) CHARACTER*1
32 Specifies whether the 1-norm condition number or the infinity-
33 norm condition number is required:
34 = '1' or 'O': 1-norm;
35 = 'I': Infinity-norm.
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 factors L and U from the factorization A = P*L*U as com‐
42 puted by CGETRF.
43
44 LDA (input) INTEGER
45 The leading dimension of the array A. LDA >= max(1,N).
46
47 ANORM (input) REAL
48 If NORM = '1' or 'O', the 1-norm of the original matrix A. If
49 NORM = 'I', the infinity-norm of the original matrix A.
50
51 RCOND (output) REAL
52 The reciprocal of the condition number of the matrix A, com‐
53 puted as RCOND = 1/(norm(A) * norm(inv(A))).
54
55 WORK (workspace) COMPLEX array, dimension (2*N)
56
57 RWORK (workspace) REAL 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 CGECON(1)