1DGECON(1) LAPACK routine (version 3.1) DGECON(1)
2
3
4
6 DGECON - the reciprocal of the condition number of a general real
7 matrix A, in either the 1-norm or the infinity-norm, using the LU fac‐
8 torization computed by DGETRF
9
11 SUBROUTINE DGECON( NORM, N, A, LDA, ANORM, RCOND, WORK, IWORK, INFO )
12
13 CHARACTER NORM
14
15 INTEGER INFO, LDA, N
16
17 DOUBLE PRECISION ANORM, RCOND
18
19 INTEGER IWORK( * )
20
21 DOUBLE PRECISION A( LDA, * ), WORK( * )
22
24 DGECON estimates the reciprocal of the condition number of a general
25 real matrix A, in either the 1-norm or the infinity-norm, using the LU
26 factorization computed by DGETRF.
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) DOUBLE PRECISION array, dimension (LDA,N)
44 The factors L and U from the factorization A = P*L*U as com‐
45 puted by DGETRF.
46
47 LDA (input) INTEGER
48 The leading dimension of the array A. LDA >= max(1,N).
49
50 ANORM (input) DOUBLE PRECISION
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) DOUBLE PRECISION
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) DOUBLE PRECISION array, dimension (4*N)
59
60 IWORK (workspace) INTEGER array, dimension (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 DGECON(1)