227 INTEGER FUNCTION iparmq( ISPEC, NAME, OPTS, N, ILO, IHI,
235 INTEGER ihi, ilo, ispec, lwork, n
236 CHARACTER name*( * ), opts*( * )
240 INTEGER inmin, inwin, inibl, ishfts, iacc22, icost
241 parameter( inmin = 12, inwin = 13, inibl = 14,
242 $ ishfts = 15, iacc22 = 16, icost = 17 )
243 INTEGER nmin, k22min, kacmin, nibble, knwswp, rcost
244 parameter( nmin = 75, k22min = 14, kacmin = 14,
245 $ nibble = 14, knwswp = 500, rcost = 10 )
247 parameter( two = 2.0 )
255 INTRINSIC log, max, mod, nint, real
258 IF( ( ispec.EQ.ishfts ) .OR. ( ispec.EQ.inwin ) .OR.
259 $ ( ispec.EQ.iacc22 ) )
THEN
270 $ ns = max( 10, nh / nint( log( real( nh ) ) / log( two ) ) )
277 ns = max( 2, ns-mod( ns, 2 ) )
280 IF( ispec.EQ.inmin )
THEN
289 ELSE IF( ispec.EQ.inibl )
THEN
297 ELSE IF( ispec.EQ.ishfts )
THEN
303 ELSE IF( ispec.EQ.inwin )
THEN
307 IF( nh.LE.knwswp )
THEN
313 ELSE IF( ispec.EQ.iacc22 )
THEN
327 ic = ichar( subnam( 1: 1 ) )
329 IF( iz.EQ.90 .OR. iz.EQ.122 )
THEN
333 IF( ic.GE.97 .AND. ic.LE.122 )
THEN
334 subnam( 1: 1 ) = char( ic-32 )
336 ic = ichar( subnam( i: i ) )
337 IF( ic.GE.97 .AND. ic.LE.122 )
338 $ subnam( i: i ) = char( ic-32 )
342 ELSE IF( iz.EQ.233 .OR. iz.EQ.169 )
THEN
346 IF( ( ic.GE.129 .AND. ic.LE.137 ) .OR.
347 $ ( ic.GE.145 .AND. ic.LE.153 ) .OR.
348 $ ( ic.GE.162 .AND. ic.LE.169 ) )
THEN
349 subnam( 1: 1 ) = char( ic+64 )
351 ic = ichar( subnam( i: i ) )
352 IF( ( ic.GE.129 .AND. ic.LE.137 ) .OR.
353 $ ( ic.GE.145 .AND. ic.LE.153 ) .OR.
354 $ ( ic.GE.162 .AND. ic.LE.169 ) )subnam( i:
355 $ i ) = char( ic+64 )
359 ELSE IF( iz.EQ.218 .OR. iz.EQ.250 )
THEN
363 IF( ic.GE.225 .AND. ic.LE.250 )
THEN
364 subnam( 1: 1 ) = char( ic-32 )
366 ic = ichar( subnam( i: i ) )
367 IF( ic.GE.225 .AND. ic.LE.250 )
368 $ subnam( i: i ) = char( ic-32 )
373 IF( subnam( 2:6 ).EQ.
'GGHRD' .OR.
374 $ subnam( 2:6 ).EQ.
'GGHD3' )
THEN
378 ELSE IF ( subnam( 4:6 ).EQ.
'EXC' )
THEN
383 ELSE IF ( subnam( 2:6 ).EQ.
'HSEQR' .OR.
384 $ subnam( 2:5 ).EQ.
'LAQR' )
THEN
391 ELSE IF( ispec.EQ.icost )
THEN