1SLARRJ(1) LAPACK auxiliary routine (version 3.1) SLARRJ(1)
2
3
4
6 SLARRJ - initial eigenvalue approximations of T, SLARRJ does bisection
7 to refine the eigenvalues of T,
8
10 SUBROUTINE SLARRJ( N, D, E2, IFIRST, ILAST, RTOL, OFFSET, W, WERR,
11 WORK, IWORK, PIVMIN, SPDIAM, INFO )
12
13 INTEGER IFIRST, ILAST, INFO, N, OFFSET
14
15 REAL PIVMIN, RTOL, SPDIAM
16
17 INTEGER IWORK( * )
18
19 REAL D( * ), E2( * ), W( * ), WERR( * ), WORK( * )
20
22 Given the initial eigenvalue approximations of T, SLARRJ does bisec‐
23 tion to refine the eigenvalues of T, W( IFIRST-OFFSET ) through W(
24 ILAST-OFFSET ), to more accuracy. Initial guesses for these eigenvalues
25 are input in W, the corresponding estimate of the error in these
26 guesses in WERR. During bisection, intervals [left, right] are main‐
27 tained by storing their mid-points and semi-widths in the arrays W and
28 WERR respectively.
29
30
32 N (input) INTEGER
33 The order of the matrix.
34
35 D (input) REAL array, dimension (N)
36 The N diagonal elements of T.
37
38 E2 (input) REAL array, dimension (N-1)
39 The Squares of the (N-1) subdiagonal elements of T.
40
41 IFIRST (input) INTEGER
42 The index of the first eigenvalue to be computed.
43
44 ILAST (input) INTEGER
45 The index of the last eigenvalue to be computed.
46
47 RTOL (input) REAL
48 Tolerance for the convergence of the bisection intervals. An
49 interval [LEFT,RIGHT] has converged if RIGHT-
50 LEFT.LT.RTOL*MAX(|LEFT|,|RIGHT|).
51
52 OFFSET (input) INTEGER
53 Offset for the arrays W and WERR, i.e., the IFIRST-OFFSET
54 through ILAST-OFFSET elements of these arrays are to be used.
55
56 W (input/output) REAL array, dimension (N)
57 On input, W( IFIRST-OFFSET ) through W( ILAST-OFFSET ) are
58 estimates of the eigenvalues of L D L^T indexed IFIRST through
59 ILAST. On output, these estimates are refined.
60
61 WERR (input/output) REAL array, dimension (N)
62 On input, WERR( IFIRST-OFFSET ) through WERR( ILAST-OFFSET )
63 are the errors in the estimates of the corresponding elements
64 in W. On output, these errors are refined.
65
66 WORK (workspace) REAL array, dimension (2*N)
67 Workspace.
68
69 IWORK (workspace) INTEGER array, dimension (2*N)
70 Workspace.
71
72 PIVMIN (input) DOUBLE PRECISION
73 The minimum pivot in the Sturm sequence for T.
74
75 SPDIAM (input) DOUBLE PRECISION
76 The spectral diameter of T.
77
78 INFO (output) INTEGER
79 Error flag.
80
82 Based on contributions by
83 Beresford Parlett, University of California, Berkeley, USA
84 Jim Demmel, University of California, Berkeley, USA
85 Inderjit Dhillon, University of Texas, Austin, USA
86 Osni Marques, LBNL/NERSC, USA
87 Christof Voemel, University of California, Berkeley, USA
88
89
90
91
92 LAPACK auxiliary routine (versionNo3v.e1m)ber 2006 SLARRJ(1)