81 SUBROUTINE sstect( N, A, B, SHIFT, NUM )
99 parameter( zero = 0.0e0, one = 1.0e0, three = 3.0e0 )
103 REAL M1, M2, MX, OVFL, SOV, SSHIFT, SSUN, SUN, TMP,
111 INTRINSIC abs, max, sqrt
117 unfl = slamch(
'Safe minimum' )
118 ovfl = slamch(
'Overflow' )
124 mx = max( mx, abs( a( i+1 ) ), abs( b( i ) ) )
129 IF( shift.GE.three*mx )
THEN
133 IF( shift.LT.-three*mx )
THEN
156 sshift = ( shift*m1 )*m2
157 u = ( a( 1 )*m1 )*m2 - sshift
168 tmp = ( b( i-1 )*m1 )*m2
169 u = ( ( a( i )*m1 )*m2-tmp*( tmp / u ) ) - sshift
subroutine sstect(n, a, b, shift, num)
SSTECT