root / src / lapack / double / dlasq4.f @ 3
Historique | Voir | Annoter | Télécharger (9,54 ko)
| 1 | 1 | pfleura2 | SUBROUTINE DLASQ4( I0, N0, Z, PP, N0IN, DMIN, DMIN1, DMIN2, DN, |
|---|---|---|---|
| 2 | 1 | pfleura2 | $ DN1, DN2, TAU, TTYPE, G ) |
| 3 | 1 | pfleura2 | * |
| 4 | 1 | pfleura2 | * -- LAPACK routine (version 3.2) -- |
| 5 | 1 | pfleura2 | * |
| 6 | 1 | pfleura2 | * -- Contributed by Osni Marques of the Lawrence Berkeley National -- |
| 7 | 1 | pfleura2 | * -- Laboratory and Beresford Parlett of the Univ. of California at -- |
| 8 | 1 | pfleura2 | * -- Berkeley -- |
| 9 | 1 | pfleura2 | * -- November 2008 -- |
| 10 | 1 | pfleura2 | * |
| 11 | 1 | pfleura2 | * -- LAPACK is a software package provided by Univ. of Tennessee, -- |
| 12 | 1 | pfleura2 | * -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- |
| 13 | 1 | pfleura2 | * |
| 14 | 1 | pfleura2 | * .. Scalar Arguments .. |
| 15 | 1 | pfleura2 | INTEGER I0, N0, N0IN, PP, TTYPE |
| 16 | 1 | pfleura2 | DOUBLE PRECISION DMIN, DMIN1, DMIN2, DN, DN1, DN2, G, TAU |
| 17 | 1 | pfleura2 | * .. |
| 18 | 1 | pfleura2 | * .. Array Arguments .. |
| 19 | 1 | pfleura2 | DOUBLE PRECISION Z( * ) |
| 20 | 1 | pfleura2 | * .. |
| 21 | 1 | pfleura2 | * |
| 22 | 1 | pfleura2 | * Purpose |
| 23 | 1 | pfleura2 | * ======= |
| 24 | 1 | pfleura2 | * |
| 25 | 1 | pfleura2 | * DLASQ4 computes an approximation TAU to the smallest eigenvalue |
| 26 | 1 | pfleura2 | * using values of d from the previous transform. |
| 27 | 1 | pfleura2 | * |
| 28 | 1 | pfleura2 | * I0 (input) INTEGER |
| 29 | 1 | pfleura2 | * First index. |
| 30 | 1 | pfleura2 | * |
| 31 | 1 | pfleura2 | * N0 (input) INTEGER |
| 32 | 1 | pfleura2 | * Last index. |
| 33 | 1 | pfleura2 | * |
| 34 | 1 | pfleura2 | * Z (input) DOUBLE PRECISION array, dimension ( 4*N ) |
| 35 | 1 | pfleura2 | * Z holds the qd array. |
| 36 | 1 | pfleura2 | * |
| 37 | 1 | pfleura2 | * PP (input) INTEGER |
| 38 | 1 | pfleura2 | * PP=0 for ping, PP=1 for pong. |
| 39 | 1 | pfleura2 | * |
| 40 | 1 | pfleura2 | * NOIN (input) INTEGER |
| 41 | 1 | pfleura2 | * The value of N0 at start of EIGTEST. |
| 42 | 1 | pfleura2 | * |
| 43 | 1 | pfleura2 | * DMIN (input) DOUBLE PRECISION |
| 44 | 1 | pfleura2 | * Minimum value of d. |
| 45 | 1 | pfleura2 | * |
| 46 | 1 | pfleura2 | * DMIN1 (input) DOUBLE PRECISION |
| 47 | 1 | pfleura2 | * Minimum value of d, excluding D( N0 ). |
| 48 | 1 | pfleura2 | * |
| 49 | 1 | pfleura2 | * DMIN2 (input) DOUBLE PRECISION |
| 50 | 1 | pfleura2 | * Minimum value of d, excluding D( N0 ) and D( N0-1 ). |
| 51 | 1 | pfleura2 | * |
| 52 | 1 | pfleura2 | * DN (input) DOUBLE PRECISION |
| 53 | 1 | pfleura2 | * d(N) |
| 54 | 1 | pfleura2 | * |
| 55 | 1 | pfleura2 | * DN1 (input) DOUBLE PRECISION |
| 56 | 1 | pfleura2 | * d(N-1) |
| 57 | 1 | pfleura2 | * |
| 58 | 1 | pfleura2 | * DN2 (input) DOUBLE PRECISION |
| 59 | 1 | pfleura2 | * d(N-2) |
| 60 | 1 | pfleura2 | * |
| 61 | 1 | pfleura2 | * TAU (output) DOUBLE PRECISION |
| 62 | 1 | pfleura2 | * This is the shift. |
| 63 | 1 | pfleura2 | * |
| 64 | 1 | pfleura2 | * TTYPE (output) INTEGER |
| 65 | 1 | pfleura2 | * Shift type. |
| 66 | 1 | pfleura2 | * |
| 67 | 1 | pfleura2 | * G (input/output) REAL |
| 68 | 1 | pfleura2 | * G is passed as an argument in order to save its value between |
| 69 | 1 | pfleura2 | * calls to DLASQ4. |
| 70 | 1 | pfleura2 | * |
| 71 | 1 | pfleura2 | * Further Details |
| 72 | 1 | pfleura2 | * =============== |
| 73 | 1 | pfleura2 | * CNST1 = 9/16 |
| 74 | 1 | pfleura2 | * |
| 75 | 1 | pfleura2 | * ===================================================================== |
| 76 | 1 | pfleura2 | * |
| 77 | 1 | pfleura2 | * .. Parameters .. |
| 78 | 1 | pfleura2 | DOUBLE PRECISION CNST1, CNST2, CNST3 |
| 79 | 1 | pfleura2 | PARAMETER ( CNST1 = 0.5630D0, CNST2 = 1.010D0, |
| 80 | 1 | pfleura2 | $ CNST3 = 1.050D0 ) |
| 81 | 1 | pfleura2 | DOUBLE PRECISION QURTR, THIRD, HALF, ZERO, ONE, TWO, HUNDRD |
| 82 | 1 | pfleura2 | PARAMETER ( QURTR = 0.250D0, THIRD = 0.3330D0, |
| 83 | 1 | pfleura2 | $ HALF = 0.50D0, ZERO = 0.0D0, ONE = 1.0D0, |
| 84 | 1 | pfleura2 | $ TWO = 2.0D0, HUNDRD = 100.0D0 ) |
| 85 | 1 | pfleura2 | * .. |
| 86 | 1 | pfleura2 | * .. Local Scalars .. |
| 87 | 1 | pfleura2 | INTEGER I4, NN, NP |
| 88 | 1 | pfleura2 | DOUBLE PRECISION A2, B1, B2, GAM, GAP1, GAP2, S |
| 89 | 1 | pfleura2 | * .. |
| 90 | 1 | pfleura2 | * .. Intrinsic Functions .. |
| 91 | 1 | pfleura2 | INTRINSIC MAX, MIN, SQRT |
| 92 | 1 | pfleura2 | * .. |
| 93 | 1 | pfleura2 | * .. Executable Statements .. |
| 94 | 1 | pfleura2 | * |
| 95 | 1 | pfleura2 | * A negative DMIN forces the shift to take that absolute value |
| 96 | 1 | pfleura2 | * TTYPE records the type of shift. |
| 97 | 1 | pfleura2 | * |
| 98 | 1 | pfleura2 | IF( DMIN.LE.ZERO ) THEN |
| 99 | 1 | pfleura2 | TAU = -DMIN |
| 100 | 1 | pfleura2 | TTYPE = -1 |
| 101 | 1 | pfleura2 | RETURN |
| 102 | 1 | pfleura2 | END IF |
| 103 | 1 | pfleura2 | * |
| 104 | 1 | pfleura2 | NN = 4*N0 + PP |
| 105 | 1 | pfleura2 | IF( N0IN.EQ.N0 ) THEN |
| 106 | 1 | pfleura2 | * |
| 107 | 1 | pfleura2 | * No eigenvalues deflated. |
| 108 | 1 | pfleura2 | * |
| 109 | 1 | pfleura2 | IF( DMIN.EQ.DN .OR. DMIN.EQ.DN1 ) THEN |
| 110 | 1 | pfleura2 | * |
| 111 | 1 | pfleura2 | B1 = SQRT( Z( NN-3 ) )*SQRT( Z( NN-5 ) ) |
| 112 | 1 | pfleura2 | B2 = SQRT( Z( NN-7 ) )*SQRT( Z( NN-9 ) ) |
| 113 | 1 | pfleura2 | A2 = Z( NN-7 ) + Z( NN-5 ) |
| 114 | 1 | pfleura2 | * |
| 115 | 1 | pfleura2 | * Cases 2 and 3. |
| 116 | 1 | pfleura2 | * |
| 117 | 1 | pfleura2 | IF( DMIN.EQ.DN .AND. DMIN1.EQ.DN1 ) THEN |
| 118 | 1 | pfleura2 | GAP2 = DMIN2 - A2 - DMIN2*QURTR |
| 119 | 1 | pfleura2 | IF( GAP2.GT.ZERO .AND. GAP2.GT.B2 ) THEN |
| 120 | 1 | pfleura2 | GAP1 = A2 - DN - ( B2 / GAP2 )*B2 |
| 121 | 1 | pfleura2 | ELSE |
| 122 | 1 | pfleura2 | GAP1 = A2 - DN - ( B1+B2 ) |
| 123 | 1 | pfleura2 | END IF |
| 124 | 1 | pfleura2 | IF( GAP1.GT.ZERO .AND. GAP1.GT.B1 ) THEN |
| 125 | 1 | pfleura2 | S = MAX( DN-( B1 / GAP1 )*B1, HALF*DMIN ) |
| 126 | 1 | pfleura2 | TTYPE = -2 |
| 127 | 1 | pfleura2 | ELSE |
| 128 | 1 | pfleura2 | S = ZERO |
| 129 | 1 | pfleura2 | IF( DN.GT.B1 ) |
| 130 | 1 | pfleura2 | $ S = DN - B1 |
| 131 | 1 | pfleura2 | IF( A2.GT.( B1+B2 ) ) |
| 132 | 1 | pfleura2 | $ S = MIN( S, A2-( B1+B2 ) ) |
| 133 | 1 | pfleura2 | S = MAX( S, THIRD*DMIN ) |
| 134 | 1 | pfleura2 | TTYPE = -3 |
| 135 | 1 | pfleura2 | END IF |
| 136 | 1 | pfleura2 | ELSE |
| 137 | 1 | pfleura2 | * |
| 138 | 1 | pfleura2 | * Case 4. |
| 139 | 1 | pfleura2 | * |
| 140 | 1 | pfleura2 | TTYPE = -4 |
| 141 | 1 | pfleura2 | S = QURTR*DMIN |
| 142 | 1 | pfleura2 | IF( DMIN.EQ.DN ) THEN |
| 143 | 1 | pfleura2 | GAM = DN |
| 144 | 1 | pfleura2 | A2 = ZERO |
| 145 | 1 | pfleura2 | IF( Z( NN-5 ) .GT. Z( NN-7 ) ) |
| 146 | 1 | pfleura2 | $ RETURN |
| 147 | 1 | pfleura2 | B2 = Z( NN-5 ) / Z( NN-7 ) |
| 148 | 1 | pfleura2 | NP = NN - 9 |
| 149 | 1 | pfleura2 | ELSE |
| 150 | 1 | pfleura2 | NP = NN - 2*PP |
| 151 | 1 | pfleura2 | B2 = Z( NP-2 ) |
| 152 | 1 | pfleura2 | GAM = DN1 |
| 153 | 1 | pfleura2 | IF( Z( NP-4 ) .GT. Z( NP-2 ) ) |
| 154 | 1 | pfleura2 | $ RETURN |
| 155 | 1 | pfleura2 | A2 = Z( NP-4 ) / Z( NP-2 ) |
| 156 | 1 | pfleura2 | IF( Z( NN-9 ) .GT. Z( NN-11 ) ) |
| 157 | 1 | pfleura2 | $ RETURN |
| 158 | 1 | pfleura2 | B2 = Z( NN-9 ) / Z( NN-11 ) |
| 159 | 1 | pfleura2 | NP = NN - 13 |
| 160 | 1 | pfleura2 | END IF |
| 161 | 1 | pfleura2 | * |
| 162 | 1 | pfleura2 | * Approximate contribution to norm squared from I < NN-1. |
| 163 | 1 | pfleura2 | * |
| 164 | 1 | pfleura2 | A2 = A2 + B2 |
| 165 | 1 | pfleura2 | DO 10 I4 = NP, 4*I0 - 1 + PP, -4 |
| 166 | 1 | pfleura2 | IF( B2.EQ.ZERO ) |
| 167 | 1 | pfleura2 | $ GO TO 20 |
| 168 | 1 | pfleura2 | B1 = B2 |
| 169 | 1 | pfleura2 | IF( Z( I4 ) .GT. Z( I4-2 ) ) |
| 170 | 1 | pfleura2 | $ RETURN |
| 171 | 1 | pfleura2 | B2 = B2*( Z( I4 ) / Z( I4-2 ) ) |
| 172 | 1 | pfleura2 | A2 = A2 + B2 |
| 173 | 1 | pfleura2 | IF( HUNDRD*MAX( B2, B1 ).LT.A2 .OR. CNST1.LT.A2 ) |
| 174 | 1 | pfleura2 | $ GO TO 20 |
| 175 | 1 | pfleura2 | 10 CONTINUE |
| 176 | 1 | pfleura2 | 20 CONTINUE |
| 177 | 1 | pfleura2 | A2 = CNST3*A2 |
| 178 | 1 | pfleura2 | * |
| 179 | 1 | pfleura2 | * Rayleigh quotient residual bound. |
| 180 | 1 | pfleura2 | * |
| 181 | 1 | pfleura2 | IF( A2.LT.CNST1 ) |
| 182 | 1 | pfleura2 | $ S = GAM*( ONE-SQRT( A2 ) ) / ( ONE+A2 ) |
| 183 | 1 | pfleura2 | END IF |
| 184 | 1 | pfleura2 | ELSE IF( DMIN.EQ.DN2 ) THEN |
| 185 | 1 | pfleura2 | * |
| 186 | 1 | pfleura2 | * Case 5. |
| 187 | 1 | pfleura2 | * |
| 188 | 1 | pfleura2 | TTYPE = -5 |
| 189 | 1 | pfleura2 | S = QURTR*DMIN |
| 190 | 1 | pfleura2 | * |
| 191 | 1 | pfleura2 | * Compute contribution to norm squared from I > NN-2. |
| 192 | 1 | pfleura2 | * |
| 193 | 1 | pfleura2 | NP = NN - 2*PP |
| 194 | 1 | pfleura2 | B1 = Z( NP-2 ) |
| 195 | 1 | pfleura2 | B2 = Z( NP-6 ) |
| 196 | 1 | pfleura2 | GAM = DN2 |
| 197 | 1 | pfleura2 | IF( Z( NP-8 ).GT.B2 .OR. Z( NP-4 ).GT.B1 ) |
| 198 | 1 | pfleura2 | $ RETURN |
| 199 | 1 | pfleura2 | A2 = ( Z( NP-8 ) / B2 )*( ONE+Z( NP-4 ) / B1 ) |
| 200 | 1 | pfleura2 | * |
| 201 | 1 | pfleura2 | * Approximate contribution to norm squared from I < NN-2. |
| 202 | 1 | pfleura2 | * |
| 203 | 1 | pfleura2 | IF( N0-I0.GT.2 ) THEN |
| 204 | 1 | pfleura2 | B2 = Z( NN-13 ) / Z( NN-15 ) |
| 205 | 1 | pfleura2 | A2 = A2 + B2 |
| 206 | 1 | pfleura2 | DO 30 I4 = NN - 17, 4*I0 - 1 + PP, -4 |
| 207 | 1 | pfleura2 | IF( B2.EQ.ZERO ) |
| 208 | 1 | pfleura2 | $ GO TO 40 |
| 209 | 1 | pfleura2 | B1 = B2 |
| 210 | 1 | pfleura2 | IF( Z( I4 ) .GT. Z( I4-2 ) ) |
| 211 | 1 | pfleura2 | $ RETURN |
| 212 | 1 | pfleura2 | B2 = B2*( Z( I4 ) / Z( I4-2 ) ) |
| 213 | 1 | pfleura2 | A2 = A2 + B2 |
| 214 | 1 | pfleura2 | IF( HUNDRD*MAX( B2, B1 ).LT.A2 .OR. CNST1.LT.A2 ) |
| 215 | 1 | pfleura2 | $ GO TO 40 |
| 216 | 1 | pfleura2 | 30 CONTINUE |
| 217 | 1 | pfleura2 | 40 CONTINUE |
| 218 | 1 | pfleura2 | A2 = CNST3*A2 |
| 219 | 1 | pfleura2 | END IF |
| 220 | 1 | pfleura2 | * |
| 221 | 1 | pfleura2 | IF( A2.LT.CNST1 ) |
| 222 | 1 | pfleura2 | $ S = GAM*( ONE-SQRT( A2 ) ) / ( ONE+A2 ) |
| 223 | 1 | pfleura2 | ELSE |
| 224 | 1 | pfleura2 | * |
| 225 | 1 | pfleura2 | * Case 6, no information to guide us. |
| 226 | 1 | pfleura2 | * |
| 227 | 1 | pfleura2 | IF( TTYPE.EQ.-6 ) THEN |
| 228 | 1 | pfleura2 | G = G + THIRD*( ONE-G ) |
| 229 | 1 | pfleura2 | ELSE IF( TTYPE.EQ.-18 ) THEN |
| 230 | 1 | pfleura2 | G = QURTR*THIRD |
| 231 | 1 | pfleura2 | ELSE |
| 232 | 1 | pfleura2 | G = QURTR |
| 233 | 1 | pfleura2 | END IF |
| 234 | 1 | pfleura2 | S = G*DMIN |
| 235 | 1 | pfleura2 | TTYPE = -6 |
| 236 | 1 | pfleura2 | END IF |
| 237 | 1 | pfleura2 | * |
| 238 | 1 | pfleura2 | ELSE IF( N0IN.EQ.( N0+1 ) ) THEN |
| 239 | 1 | pfleura2 | * |
| 240 | 1 | pfleura2 | * One eigenvalue just deflated. Use DMIN1, DN1 for DMIN and DN. |
| 241 | 1 | pfleura2 | * |
| 242 | 1 | pfleura2 | IF( DMIN1.EQ.DN1 .AND. DMIN2.EQ.DN2 ) THEN |
| 243 | 1 | pfleura2 | * |
| 244 | 1 | pfleura2 | * Cases 7 and 8. |
| 245 | 1 | pfleura2 | * |
| 246 | 1 | pfleura2 | TTYPE = -7 |
| 247 | 1 | pfleura2 | S = THIRD*DMIN1 |
| 248 | 1 | pfleura2 | IF( Z( NN-5 ).GT.Z( NN-7 ) ) |
| 249 | 1 | pfleura2 | $ RETURN |
| 250 | 1 | pfleura2 | B1 = Z( NN-5 ) / Z( NN-7 ) |
| 251 | 1 | pfleura2 | B2 = B1 |
| 252 | 1 | pfleura2 | IF( B2.EQ.ZERO ) |
| 253 | 1 | pfleura2 | $ GO TO 60 |
| 254 | 1 | pfleura2 | DO 50 I4 = 4*N0 - 9 + PP, 4*I0 - 1 + PP, -4 |
| 255 | 1 | pfleura2 | A2 = B1 |
| 256 | 1 | pfleura2 | IF( Z( I4 ).GT.Z( I4-2 ) ) |
| 257 | 1 | pfleura2 | $ RETURN |
| 258 | 1 | pfleura2 | B1 = B1*( Z( I4 ) / Z( I4-2 ) ) |
| 259 | 1 | pfleura2 | B2 = B2 + B1 |
| 260 | 1 | pfleura2 | IF( HUNDRD*MAX( B1, A2 ).LT.B2 ) |
| 261 | 1 | pfleura2 | $ GO TO 60 |
| 262 | 1 | pfleura2 | 50 CONTINUE |
| 263 | 1 | pfleura2 | 60 CONTINUE |
| 264 | 1 | pfleura2 | B2 = SQRT( CNST3*B2 ) |
| 265 | 1 | pfleura2 | A2 = DMIN1 / ( ONE+B2**2 ) |
| 266 | 1 | pfleura2 | GAP2 = HALF*DMIN2 - A2 |
| 267 | 1 | pfleura2 | IF( GAP2.GT.ZERO .AND. GAP2.GT.B2*A2 ) THEN |
| 268 | 1 | pfleura2 | S = MAX( S, A2*( ONE-CNST2*A2*( B2 / GAP2 )*B2 ) ) |
| 269 | 1 | pfleura2 | ELSE |
| 270 | 1 | pfleura2 | S = MAX( S, A2*( ONE-CNST2*B2 ) ) |
| 271 | 1 | pfleura2 | TTYPE = -8 |
| 272 | 1 | pfleura2 | END IF |
| 273 | 1 | pfleura2 | ELSE |
| 274 | 1 | pfleura2 | * |
| 275 | 1 | pfleura2 | * Case 9. |
| 276 | 1 | pfleura2 | * |
| 277 | 1 | pfleura2 | S = QURTR*DMIN1 |
| 278 | 1 | pfleura2 | IF( DMIN1.EQ.DN1 ) |
| 279 | 1 | pfleura2 | $ S = HALF*DMIN1 |
| 280 | 1 | pfleura2 | TTYPE = -9 |
| 281 | 1 | pfleura2 | END IF |
| 282 | 1 | pfleura2 | * |
| 283 | 1 | pfleura2 | ELSE IF( N0IN.EQ.( N0+2 ) ) THEN |
| 284 | 1 | pfleura2 | * |
| 285 | 1 | pfleura2 | * Two eigenvalues deflated. Use DMIN2, DN2 for DMIN and DN. |
| 286 | 1 | pfleura2 | * |
| 287 | 1 | pfleura2 | * Cases 10 and 11. |
| 288 | 1 | pfleura2 | * |
| 289 | 1 | pfleura2 | IF( DMIN2.EQ.DN2 .AND. TWO*Z( NN-5 ).LT.Z( NN-7 ) ) THEN |
| 290 | 1 | pfleura2 | TTYPE = -10 |
| 291 | 1 | pfleura2 | S = THIRD*DMIN2 |
| 292 | 1 | pfleura2 | IF( Z( NN-5 ).GT.Z( NN-7 ) ) |
| 293 | 1 | pfleura2 | $ RETURN |
| 294 | 1 | pfleura2 | B1 = Z( NN-5 ) / Z( NN-7 ) |
| 295 | 1 | pfleura2 | B2 = B1 |
| 296 | 1 | pfleura2 | IF( B2.EQ.ZERO ) |
| 297 | 1 | pfleura2 | $ GO TO 80 |
| 298 | 1 | pfleura2 | DO 70 I4 = 4*N0 - 9 + PP, 4*I0 - 1 + PP, -4 |
| 299 | 1 | pfleura2 | IF( Z( I4 ).GT.Z( I4-2 ) ) |
| 300 | 1 | pfleura2 | $ RETURN |
| 301 | 1 | pfleura2 | B1 = B1*( Z( I4 ) / Z( I4-2 ) ) |
| 302 | 1 | pfleura2 | B2 = B2 + B1 |
| 303 | 1 | pfleura2 | IF( HUNDRD*B1.LT.B2 ) |
| 304 | 1 | pfleura2 | $ GO TO 80 |
| 305 | 1 | pfleura2 | 70 CONTINUE |
| 306 | 1 | pfleura2 | 80 CONTINUE |
| 307 | 1 | pfleura2 | B2 = SQRT( CNST3*B2 ) |
| 308 | 1 | pfleura2 | A2 = DMIN2 / ( ONE+B2**2 ) |
| 309 | 1 | pfleura2 | GAP2 = Z( NN-7 ) + Z( NN-9 ) - |
| 310 | 1 | pfleura2 | $ SQRT( Z( NN-11 ) )*SQRT( Z( NN-9 ) ) - A2 |
| 311 | 1 | pfleura2 | IF( GAP2.GT.ZERO .AND. GAP2.GT.B2*A2 ) THEN |
| 312 | 1 | pfleura2 | S = MAX( S, A2*( ONE-CNST2*A2*( B2 / GAP2 )*B2 ) ) |
| 313 | 1 | pfleura2 | ELSE |
| 314 | 1 | pfleura2 | S = MAX( S, A2*( ONE-CNST2*B2 ) ) |
| 315 | 1 | pfleura2 | END IF |
| 316 | 1 | pfleura2 | ELSE |
| 317 | 1 | pfleura2 | S = QURTR*DMIN2 |
| 318 | 1 | pfleura2 | TTYPE = -11 |
| 319 | 1 | pfleura2 | END IF |
| 320 | 1 | pfleura2 | ELSE IF( N0IN.GT.( N0+2 ) ) THEN |
| 321 | 1 | pfleura2 | * |
| 322 | 1 | pfleura2 | * Case 12, more than two eigenvalues deflated. No information. |
| 323 | 1 | pfleura2 | * |
| 324 | 1 | pfleura2 | S = ZERO |
| 325 | 1 | pfleura2 | TTYPE = -12 |
| 326 | 1 | pfleura2 | END IF |
| 327 | 1 | pfleura2 | * |
| 328 | 1 | pfleura2 | TAU = S |
| 329 | 1 | pfleura2 | RETURN |
| 330 | 1 | pfleura2 | * |
| 331 | 1 | pfleura2 | * End of DLASQ4 |
| 332 | 1 | pfleura2 | * |
| 333 | 1 | pfleura2 | END |