1DGTCON(1) LAPACK routine (version 3.1) DGTCON(1)
2
3
4
6 DGTCON - the reciprocal of the condition number of a real tridiagonal
7 matrix A using the LU factorization as computed by DGTTRF
8
10 SUBROUTINE DGTCON( NORM, N, DL, D, DU, DU2, IPIV, ANORM, RCOND, WORK,
11 IWORK, INFO )
12
13 CHARACTER NORM
14
15 INTEGER INFO, N
16
17 DOUBLE PRECISION ANORM, RCOND
18
19 INTEGER IPIV( * ), IWORK( * )
20
21 DOUBLE PRECISION D( * ), DL( * ), DU( * ), DU2( * ), WORK(
22 * )
23
25 DGTCON estimates the reciprocal of the condition number of a real
26 tridiagonal matrix A using the LU factorization as computed by DGTTRF.
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 NORM (input) CHARACTER*1
34 Specifies whether the 1-norm condition number or the infinity-
35 norm condition number is required:
36 = '1' or 'O': 1-norm;
37 = 'I': Infinity-norm.
38
39 N (input) INTEGER
40 The order of the matrix A. N >= 0.
41
42 DL (input) DOUBLE PRECISION array, dimension (N-1)
43 The (n-1) multipliers that define the matrix L from the LU fac‐
44 torization of A as computed by DGTTRF.
45
46 D (input) DOUBLE PRECISION array, dimension (N)
47 The n diagonal elements of the upper triangular matrix U from
48 the LU factorization of A.
49
50 DU (input) DOUBLE PRECISION array, dimension (N-1)
51 The (n-1) elements of the first superdiagonal of U.
52
53 DU2 (input) DOUBLE PRECISION array, dimension (N-2)
54 The (n-2) elements of the second superdiagonal of U.
55
56 IPIV (input) INTEGER array, dimension (N)
57 The pivot indices; for 1 <= i <= n, row i of the matrix was
58 interchanged with row IPIV(i). IPIV(i) will always be either i
59 or i+1; IPIV(i) = i indicates a row interchange was not
60 required.
61
62 ANORM (input) DOUBLE PRECISION
63 If NORM = '1' or 'O', the 1-norm of the original matrix A. If
64 NORM = 'I', the infinity-norm of the original matrix A.
65
66 RCOND (output) DOUBLE PRECISION
67 The reciprocal of the condition number of the matrix A, com‐
68 puted as RCOND = 1/(ANORM * AINVNM), where AINVNM is an esti‐
69 mate of the 1-norm of inv(A) computed in this routine.
70
71 WORK (workspace) DOUBLE PRECISION array, dimension (2*N)
72
73 IWORK (workspace) INTEGER array, dimension (N)
74
75 INFO (output) INTEGER
76 = 0: successful exit
77 < 0: if INFO = -i, the i-th argument had an illegal value
78
79
80
81 LAPACK routine (version 3.1) November 2006 DGTCON(1)