1ZLATDF(1) LAPACK auxiliary routine (version 3.1) ZLATDF(1)
2
3
4
6 ZLATDF - the contribution to the reciprocal Dif-estimate by solving for
7 x in Z * x = b, where b is chosen such that the norm of x is as large
8 as possible
9
11 SUBROUTINE ZLATDF( IJOB, N, Z, LDZ, RHS, RDSUM, RDSCAL, IPIV, JPIV )
12
13 INTEGER IJOB, LDZ, N
14
15 DOUBLE PRECISION RDSCAL, RDSUM
16
17 INTEGER IPIV( * ), JPIV( * )
18
19 COMPLEX*16 RHS( * ), Z( LDZ, * )
20
22 ZLATDF computes the contribution to the reciprocal Dif-estimate by
23 solving for x in Z * x = b, where b is chosen such that the norm of x
24 is as large as possible. It is assumed that LU decomposition of Z has
25 been computed by ZGETC2. On entry RHS = f holds the contribution from
26 earlier solved sub-systems, and on return RHS = x.
27
28 The factorization of Z returned by ZGETC2 has the form
29 Z = P * L * U * Q, where P and Q are permutation matrices. L is lower
30 triangular with unit diagonal elements and U is upper triangular.
31
32
34 IJOB (input) INTEGER
35 IJOB = 2: First compute an approximative null-vector e of Z
36 using ZGECON, e is normalized and solve for Zx = +-e - f with
37 the sign giving the greater value of 2-norm(x). About 5 times
38 as expensive as Default. IJOB .ne. 2: Local look ahead stratā
39 egy where all entries of the r.h.s. b is choosen as either +1
40 or -1. Default.
41
42 N (input) INTEGER
43 The number of columns of the matrix Z.
44
45 Z (input) DOUBLE PRECISION array, dimension (LDZ, N)
46 On entry, the LU part of the factorization of the n-by-n matrix
47 Z computed by ZGETC2: Z = P * L * U * Q
48
49 LDZ (input) INTEGER
50 The leading dimension of the array Z. LDA >= max(1, N).
51
52 RHS (input/output) DOUBLE PRECISION array, dimension (N).
53 On entry, RHS contains contributions from other subsystems. On
54 exit, RHS contains the solution of the subsystem with entries
55 according to the value of IJOB (see above).
56
57 RDSUM (input/output) DOUBLE PRECISION
58 On entry, the sum of squares of computed contributions to the
59 Dif-estimate under computation by ZTGSYL, where the scaling
60 factor RDSCAL (see below) has been factored out. On exit, the
61 corresponding sum of squares updated with the contributions
62 from the current sub-system. If TRANS = 'T' RDSUM is not
63 touched. NOTE: RDSUM only makes sense when ZTGSY2 is called by
64 CTGSYL.
65
66 RDSCAL (input/output) DOUBLE PRECISION
67 On entry, scaling factor used to prevent overflow in RDSUM. On
68 exit, RDSCAL is updated w.r.t. the current contributions in
69 RDSUM. If TRANS = 'T', RDSCAL is not touched. NOTE: RDSCAL
70 only makes sense when ZTGSY2 is called by ZTGSYL.
71
72 IPIV (input) INTEGER array, dimension (N).
73 The pivot indices; for 1 <= i <= N, row i of the matrix has
74 been interchanged with row IPIV(i).
75
76 JPIV (input) INTEGER array, dimension (N).
77 The pivot indices; for 1 <= j <= N, column j of the matrix has
78 been interchanged with column JPIV(j).
79
81 Based on contributions by
82 Bo Kagstrom and Peter Poromaa, Department of Computing Science,
83 Umea University, S-901 87 Umea, Sweden.
84
85 This routine is a further developed implementation of algorithm BSOLVE
86 in [1] using complete pivoting in the LU factorization.
87
88 [1] Bo Kagstrom and Lars Westin,
89 Generalized Schur Methods with Condition Estimators for
90 Solving the Generalized Sylvester Equation, IEEE Transactions
91 on Automatic Control, Vol. 34, No. 7, July 1989, pp 745-751.
92
93 [2] Peter Poromaa,
94 On Efficient and Robust Estimators for the Separation
95 between two Regular Matrix Pairs with Applications in
96 Condition Estimation. Report UMINF-95.05, Department of
97 Computing Science, Umea University, S-901 87 Umea, Sweden,
98 1995.
99
100
101
102
103 LAPACK auxiliary routine (versionNo3v.e1m)ber 2006 ZLATDF(1)