* =========================================================
*
* .. Parameters ..
- INTEGER ITMAX
- PARAMETER ( ITMAX = 30 )
COMPLEX ZERO, ONE
PARAMETER ( ZERO = ( 0.0e0, 0.0e0 ),
$ ONE = ( 1.0e0, 0.0e0 ) )
$ V2, X, Y
REAL AA, AB, BA, BB, H10, H21, RTEMP, S, SAFMAX,
$ SAFMIN, SMLNUM, SX, T2, TST, ULP
- INTEGER I, I1, I2, ITS, J, JHI, JLO, K, L, M, NH, NZ
+ INTEGER I, I1, I2, ITS, ITMAX, J, JHI, JLO, K, L, M,
+ $ NH, NZ
* ..
* .. Local Arrays ..
COMPLEX V( 2 )
I2 = N
END IF
*
+* ITMAX is the total number of QR iterations allowed.
+*
+ ITMAX = 30 * MAX( 10, NH )
+*
* The main loop begins here. I is the loop index and decreases from
* IHI to ILO in steps of 1. Each iteration of the loop works
* with the active submatrix in rows and columns L to I.
* =========================================================
*
* .. Parameters ..
- INTEGER ITMAX
- PARAMETER ( ITMAX = 30 )
DOUBLE PRECISION ZERO, ONE, TWO
PARAMETER ( ZERO = 0.0d0, ONE = 1.0d0, TWO = 2.0d0 )
DOUBLE PRECISION DAT1, DAT2
$ H22, RT1I, RT1R, RT2I, RT2R, RTDISC, S, SAFMAX,
$ SAFMIN, SMLNUM, SN, SUM, T1, T2, T3, TR, TST,
$ ULP, V2, V3
- INTEGER I, I1, I2, ITS, J, K, L, M, NH, NR, NZ
+ INTEGER I, I1, I2, ITS, ITMAX, J, K, L, M, NH, NR, NZ
* ..
* .. Local Arrays ..
DOUBLE PRECISION V( 3 )
I2 = N
END IF
*
+* ITMAX is the total number of QR iterations allowed.
+*
+ ITMAX = 30 * MAX( 10, NH )
+*
* The main loop begins here. I is the loop index and decreases from
* IHI to ILO in steps of 1 or 2. Each iteration of the loop works
* with the active submatrix in rows and columns L to I.
* =========================================================
*
* .. Parameters ..
- INTEGER ITMAX
- PARAMETER ( ITMAX = 30 )
REAL ZERO, ONE, TWO
PARAMETER ( ZERO = 0.0e0, ONE = 1.0e0, TWO = 2.0e0 )
REAL DAT1, DAT2
$ H22, RT1I, RT1R, RT2I, RT2R, RTDISC, S, SAFMAX,
$ SAFMIN, SMLNUM, SN, SUM, T1, T2, T3, TR, TST,
$ ULP, V2, V3
- INTEGER I, I1, I2, ITS, J, K, L, M, NH, NR, NZ
+ INTEGER I, I1, I2, ITS, ITMAX, J, K, L, M, NH, NR, NZ
* ..
* .. Local Arrays ..
REAL V( 3 )
I2 = N
END IF
*
+* ITMAX is the total number of QR iterations allowed.
+*
+ ITMAX = 30 * MAX( 10, NH )
+*
* The main loop begins here. I is the loop index and decreases from
* IHI to ILO in steps of 1 or 2. Each iteration of the loop works
* with the active submatrix in rows and columns L to I.
* =========================================================
*
* .. Parameters ..
- INTEGER ITMAX
- PARAMETER ( ITMAX = 30 )
COMPLEX*16 ZERO, ONE
PARAMETER ( ZERO = ( 0.0d0, 0.0d0 ),
$ ONE = ( 1.0d0, 0.0d0 ) )
$ V2, X, Y
DOUBLE PRECISION AA, AB, BA, BB, H10, H21, RTEMP, S, SAFMAX,
$ SAFMIN, SMLNUM, SX, T2, TST, ULP
- INTEGER I, I1, I2, ITS, J, JHI, JLO, K, L, M, NH, NZ
+ INTEGER I, I1, I2, ITS, ITMAX, J, JHI, JLO, K, L, M,
+ $ NH, NZ
* ..
* .. Local Arrays ..
COMPLEX*16 V( 2 )
I2 = N
END IF
*
+* ITMAX is the total number of QR iterations allowed.
+*
+ ITMAX = 30 * MAX( 10, NH )
+*
* The main loop begins here. I is the loop index and decreases from
* IHI to ILO in steps of 1. Each iteration of the loop works
* with the active submatrix in rows and columns L to I.