63 SUBROUTINE zerrst( PATH, NUNIT )
79 parameter( nmax = 3, liw = 12*nmax, lw = 20*nmax )
83 INTEGER I, INFO, J, M, N, NT
86 INTEGER I1( nmax ), I2( nmax ), I3( nmax ), IW( liw )
87 DOUBLE PRECISION D( nmax ), E( nmax ), R( lw ), RW( lw ),
89 COMPLEX*16 A( nmax, nmax ), C( nmax, nmax ),
90 $ q( nmax, nmax ), tau( nmax ), w( lw ),
112 COMMON / infoc / infot, nout, ok, lerr
113 COMMON / srnamc / srnamt
121 WRITE( nout, fmt = * )
128 a( i, j ) = 1.d0 / dble( i+j )
143 IF( lsamen( 2, c2,
'ST' ) )
THEN 149 CALL zhetrd(
'/', 0, a, 1, d, e, tau, w, 1, info )
150 CALL chkxer(
'ZHETRD', infot, nout, lerr, ok )
152 CALL zhetrd(
'U', -1, a, 1, d, e, tau, w, 1, info )
153 CALL chkxer(
'ZHETRD', infot, nout, lerr, ok )
155 CALL zhetrd(
'U', 2, a, 1, d, e, tau, w, 1, info )
156 CALL chkxer(
'ZHETRD', infot, nout, lerr, ok )
158 CALL zhetrd(
'U', 0, a, 1, d, e, tau, w, 0, info )
159 CALL chkxer(
'ZHETRD', infot, nout, lerr, ok )
164 srnamt =
'ZHETRD_2STAGE' 168 CALL chkxer(
'ZHETRD_2STAGE', infot, nout, lerr, ok )
172 CALL chkxer(
'ZHETRD_2STAGE', infot, nout, lerr, ok )
176 CALL chkxer(
'ZHETRD_2STAGE', infot, nout, lerr, ok )
180 CALL chkxer(
'ZHETRD_2STAGE', infot, nout, lerr, ok )
184 CALL chkxer(
'ZHETRD_2STAGE', infot, nout, lerr, ok )
188 CALL chkxer(
'ZHETRD_2STAGE', infot, nout, lerr, ok )
192 CALL chkxer(
'ZHETRD_2STAGE', infot, nout, lerr, ok )
197 srnamt =
'ZHETRD_HE2HB' 199 CALL zhetrd_he2hb(
'/', 0, 0, a, 1, c, 1, tau, w, 1, info )
200 CALL chkxer(
'ZHETRD_HE2HB', infot, nout, lerr, ok )
202 CALL zhetrd_he2hb(
'U', -1, 0, a, 1, c, 1, tau, w, 1, info )
203 CALL chkxer(
'ZHETRD_HE2HB', infot, nout, lerr, ok )
205 CALL zhetrd_he2hb(
'U', 0, -1, a, 1, c, 1, tau, w, 1, info )
206 CALL chkxer(
'ZHETRD_HE2HB', infot, nout, lerr, ok )
208 CALL zhetrd_he2hb(
'U', 2, 0, a, 1, c, 1, tau, w, 1, info )
209 CALL chkxer(
'ZHETRD_HE2HB', infot, nout, lerr, ok )
211 CALL zhetrd_he2hb(
'U', 0, 2, a, 1, c, 1, tau, w, 1, info )
212 CALL chkxer(
'ZHETRD_HE2HB', infot, nout, lerr, ok )
214 CALL zhetrd_he2hb(
'U', 0, 0, a, 1, c, 1, tau, w, 0, info )
215 CALL chkxer(
'ZHETRD_HE2HB', infot, nout, lerr, ok )
220 srnamt =
'ZHETRD_HB2ST' 222 CALL zhetrd_hb2st(
'/',
'N',
'U', 0, 0, a, 1, d, e,
224 CALL chkxer(
'ZHETRD_HB2ST', infot, nout, lerr, ok )
226 CALL zhetrd_hb2st(
'Y',
'/',
'U', 0, 0, a, 1, d, e,
228 CALL chkxer(
'ZHETRD_HB2ST', infot, nout, lerr, ok )
230 CALL zhetrd_hb2st(
'Y',
'H',
'U', 0, 0, a, 1, d, e,
232 CALL chkxer(
'ZHETRD_HB2ST', infot, nout, lerr, ok )
234 CALL zhetrd_hb2st(
'Y',
'N',
'/', 0, 0, a, 1, d, e,
236 CALL chkxer(
'ZHETRD_HB2ST', infot, nout, lerr, ok )
238 CALL zhetrd_hb2st(
'Y',
'N',
'U', -1, 0, a, 1, d, e,
240 CALL chkxer(
'ZHETRD_HB2ST', infot, nout, lerr, ok )
242 CALL zhetrd_hb2st(
'Y',
'N',
'U', 0, -1, a, 1, d, e,
244 CALL chkxer(
'ZHETRD_HB2ST', infot, nout, lerr, ok )
246 CALL zhetrd_hb2st(
'Y',
'N',
'U', 0, 1, a, 1, d, e,
248 CALL chkxer(
'ZHETRD_HB2ST', infot, nout, lerr, ok )
250 CALL zhetrd_hb2st(
'Y',
'N',
'U', 0, 0, a, 1, d, e,
252 CALL chkxer(
'ZHETRD_HB2ST', infot, nout, lerr, ok )
254 CALL zhetrd_hb2st(
'Y',
'N',
'U', 0, 0, a, 1, d, e,
256 CALL chkxer(
'ZHETRD_HB2ST', infot, nout, lerr, ok )
263 CALL zungtr(
'/', 0, a, 1, tau, w, 1, info )
264 CALL chkxer(
'ZUNGTR', infot, nout, lerr, ok )
266 CALL zungtr(
'U', -1, a, 1, tau, w, 1, info )
267 CALL chkxer(
'ZUNGTR', infot, nout, lerr, ok )
269 CALL zungtr(
'U', 2, a, 1, tau, w, 1, info )
270 CALL chkxer(
'ZUNGTR', infot, nout, lerr, ok )
272 CALL zungtr(
'U', 3, a, 3, tau, w, 1, info )
273 CALL chkxer(
'ZUNGTR', infot, nout, lerr, ok )
280 CALL zunmtr(
'/',
'U',
'N', 0, 0, a, 1, tau, c, 1, w, 1, info )
281 CALL chkxer(
'ZUNMTR', infot, nout, lerr, ok )
283 CALL zunmtr(
'L',
'/',
'N', 0, 0, a, 1, tau, c, 1, w, 1, info )
284 CALL chkxer(
'ZUNMTR', infot, nout, lerr, ok )
286 CALL zunmtr(
'L',
'U',
'/', 0, 0, a, 1, tau, c, 1, w, 1, info )
287 CALL chkxer(
'ZUNMTR', infot, nout, lerr, ok )
289 CALL zunmtr(
'L',
'U',
'N', -1, 0, a, 1, tau, c, 1, w, 1,
291 CALL chkxer(
'ZUNMTR', infot, nout, lerr, ok )
293 CALL zunmtr(
'L',
'U',
'N', 0, -1, a, 1, tau, c, 1, w, 1,
295 CALL chkxer(
'ZUNMTR', infot, nout, lerr, ok )
297 CALL zunmtr(
'L',
'U',
'N', 2, 0, a, 1, tau, c, 2, w, 1, info )
298 CALL chkxer(
'ZUNMTR', infot, nout, lerr, ok )
300 CALL zunmtr(
'R',
'U',
'N', 0, 2, a, 1, tau, c, 1, w, 1, info )
301 CALL chkxer(
'ZUNMTR', infot, nout, lerr, ok )
303 CALL zunmtr(
'L',
'U',
'N', 2, 0, a, 2, tau, c, 1, w, 1, info )
304 CALL chkxer(
'ZUNMTR', infot, nout, lerr, ok )
306 CALL zunmtr(
'L',
'U',
'N', 0, 2, a, 1, tau, c, 1, w, 1, info )
307 CALL chkxer(
'ZUNMTR', infot, nout, lerr, ok )
309 CALL zunmtr(
'R',
'U',
'N', 2, 0, a, 1, tau, c, 2, w, 1, info )
310 CALL chkxer(
'ZUNMTR', infot, nout, lerr, ok )
317 CALL zhptrd(
'/', 0, a, d, e, tau, info )
318 CALL chkxer(
'ZHPTRD', infot, nout, lerr, ok )
320 CALL zhptrd(
'U', -1, a, d, e, tau, info )
321 CALL chkxer(
'ZHPTRD', infot, nout, lerr, ok )
328 CALL zupgtr(
'/', 0, a, tau, z, 1, w, info )
329 CALL chkxer(
'ZUPGTR', infot, nout, lerr, ok )
331 CALL zupgtr(
'U', -1, a, tau, z, 1, w, info )
332 CALL chkxer(
'ZUPGTR', infot, nout, lerr, ok )
334 CALL zupgtr(
'U', 2, a, tau, z, 1, w, info )
335 CALL chkxer(
'ZUPGTR', infot, nout, lerr, ok )
342 CALL zupmtr(
'/',
'U',
'N', 0, 0, a, tau, c, 1, w, info )
343 CALL chkxer(
'ZUPMTR', infot, nout, lerr, ok )
345 CALL zupmtr(
'L',
'/',
'N', 0, 0, a, tau, c, 1, w, info )
346 CALL chkxer(
'ZUPMTR', infot, nout, lerr, ok )
348 CALL zupmtr(
'L',
'U',
'/', 0, 0, a, tau, c, 1, w, info )
349 CALL chkxer(
'ZUPMTR', infot, nout, lerr, ok )
351 CALL zupmtr(
'L',
'U',
'N', -1, 0, a, tau, c, 1, w, info )
352 CALL chkxer(
'ZUPMTR', infot, nout, lerr, ok )
354 CALL zupmtr(
'L',
'U',
'N', 0, -1, a, tau, c, 1, w, info )
355 CALL chkxer(
'ZUPMTR', infot, nout, lerr, ok )
357 CALL zupmtr(
'L',
'U',
'N', 2, 0, a, tau, c, 1, w, info )
358 CALL chkxer(
'ZUPMTR', infot, nout, lerr, ok )
365 CALL zpteqr(
'/', 0, d, e, z, 1, rw, info )
366 CALL chkxer(
'ZPTEQR', infot, nout, lerr, ok )
368 CALL zpteqr(
'N', -1, d, e, z, 1, rw, info )
369 CALL chkxer(
'ZPTEQR', infot, nout, lerr, ok )
371 CALL zpteqr(
'V', 2, d, e, z, 1, rw, info )
372 CALL chkxer(
'ZPTEQR', infot, nout, lerr, ok )
379 CALL zstein( -1, d, e, 0, x, i1, i2, z, 1, rw, iw, i3, info )
380 CALL chkxer(
'ZSTEIN', infot, nout, lerr, ok )
382 CALL zstein( 0, d, e, -1, x, i1, i2, z, 1, rw, iw, i3, info )
383 CALL chkxer(
'ZSTEIN', infot, nout, lerr, ok )
385 CALL zstein( 0, d, e, 1, x, i1, i2, z, 1, rw, iw, i3, info )
386 CALL chkxer(
'ZSTEIN', infot, nout, lerr, ok )
388 CALL zstein( 2, d, e, 0, x, i1, i2, z, 1, rw, iw, i3, info )
389 CALL chkxer(
'ZSTEIN', infot, nout, lerr, ok )
396 CALL zsteqr(
'/', 0, d, e, z, 1, rw, info )
397 CALL chkxer(
'ZSTEQR', infot, nout, lerr, ok )
399 CALL zsteqr(
'N', -1, d, e, z, 1, rw, info )
400 CALL chkxer(
'ZSTEQR', infot, nout, lerr, ok )
402 CALL zsteqr(
'V', 2, d, e, z, 1, rw, info )
403 CALL chkxer(
'ZSTEQR', infot, nout, lerr, ok )
410 CALL zstedc(
'/', 0, d, e, z, 1, w, 1, rw, 1, iw, 1, info )
411 CALL chkxer(
'ZSTEDC', infot, nout, lerr, ok )
413 CALL zstedc(
'N', -1, d, e, z, 1, w, 1, rw, 1, iw, 1, info )
414 CALL chkxer(
'ZSTEDC', infot, nout, lerr, ok )
416 CALL zstedc(
'V', 2, d, e, z, 1, w, 4, rw, 23, iw, 28, info )
417 CALL chkxer(
'ZSTEDC', infot, nout, lerr, ok )
419 CALL zstedc(
'N', 2, d, e, z, 1, w, 0, rw, 1, iw, 1, info )
420 CALL chkxer(
'ZSTEDC', infot, nout, lerr, ok )
422 CALL zstedc(
'V', 2, d, e, z, 2, w, 0, rw, 23, iw, 28, info )
423 CALL chkxer(
'ZSTEDC', infot, nout, lerr, ok )
425 CALL zstedc(
'N', 2, d, e, z, 1, w, 1, rw, 0, iw, 1, info )
426 CALL chkxer(
'ZSTEDC', infot, nout, lerr, ok )
428 CALL zstedc(
'I', 2, d, e, z, 2, w, 1, rw, 1, iw, 12, info )
429 CALL chkxer(
'ZSTEDC', infot, nout, lerr, ok )
431 CALL zstedc(
'V', 2, d, e, z, 2, w, 4, rw, 1, iw, 28, info )
432 CALL chkxer(
'ZSTEDC', infot, nout, lerr, ok )
434 CALL zstedc(
'N', 2, d, e, z, 1, w, 1, rw, 1, iw, 0, info )
435 CALL chkxer(
'ZSTEDC', infot, nout, lerr, ok )
437 CALL zstedc(
'I', 2, d, e, z, 2, w, 1, rw, 23, iw, 0, info )
438 CALL chkxer(
'ZSTEDC', infot, nout, lerr, ok )
440 CALL zstedc(
'V', 2, d, e, z, 2, w, 4, rw, 23, iw, 0, info )
441 CALL chkxer(
'ZSTEDC', infot, nout, lerr, ok )
448 CALL zheevd(
'/',
'U', 0, a, 1, x, w, 1, rw, 1, iw, 1, info )
449 CALL chkxer(
'ZHEEVD', infot, nout, lerr, ok )
451 CALL zheevd(
'N',
'/', 0, a, 1, x, w, 1, rw, 1, iw, 1, info )
452 CALL chkxer(
'ZHEEVD', infot, nout, lerr, ok )
454 CALL zheevd(
'N',
'U', -1, a, 1, x, w, 1, rw, 1, iw, 1, info )
455 CALL chkxer(
'ZHEEVD', infot, nout, lerr, ok )
457 CALL zheevd(
'N',
'U', 2, a, 1, x, w, 3, rw, 2, iw, 1, info )
458 CALL chkxer(
'ZHEEVD', infot, nout, lerr, ok )
460 CALL zheevd(
'N',
'U', 1, a, 1, x, w, 0, rw, 1, iw, 1, info )
461 CALL chkxer(
'ZHEEVD', infot, nout, lerr, ok )
463 CALL zheevd(
'N',
'U', 2, a, 2, x, w, 2, rw, 2, iw, 1, info )
464 CALL chkxer(
'ZHEEVD', infot, nout, lerr, ok )
466 CALL zheevd(
'V',
'U', 2, a, 2, x, w, 3, rw, 25, iw, 12, info )
467 CALL chkxer(
'ZHEEVD', infot, nout, lerr, ok )
469 CALL zheevd(
'N',
'U', 1, a, 1, x, w, 1, rw, 0, iw, 1, info )
470 CALL chkxer(
'ZHEEVD', infot, nout, lerr, ok )
472 CALL zheevd(
'N',
'U', 2, a, 2, x, w, 3, rw, 1, iw, 1, info )
473 CALL chkxer(
'ZHEEVD', infot, nout, lerr, ok )
475 CALL zheevd(
'V',
'U', 2, a, 2, x, w, 8, rw, 18, iw, 12, info )
476 CALL chkxer(
'ZHEEVD', infot, nout, lerr, ok )
478 CALL zheevd(
'N',
'U', 1, a, 1, x, w, 1, rw, 1, iw, 0, info )
479 CALL chkxer(
'ZHEEVD', infot, nout, lerr, ok )
481 CALL zheevd(
'V',
'U', 2, a, 2, x, w, 8, rw, 25, iw, 11, info )
482 CALL chkxer(
'ZHEEVD', infot, nout, lerr, ok )
487 srnamt =
'ZHEEVD_2STAGE' 490 $ rw, 1, iw, 1, info )
491 CALL chkxer(
'ZHEEVD_2STAGE', infot, nout, lerr, ok )
494 $ rw, 1, iw, 1, info )
495 CALL chkxer(
'ZHEEVD_2STAGE', infot, nout, lerr, ok )
498 $ rw, 1, iw, 1, info )
499 CALL chkxer(
'ZHEEVD_2STAGE', infot, nout, lerr, ok )
502 $ rw, 1, iw, 1, info )
503 CALL chkxer(
'ZHEEVD_2STAGE', infot, nout, lerr, ok )
506 $ rw, 2, iw, 1, info )
507 CALL chkxer(
'ZHEEVD_2STAGE', infot, nout, lerr, ok )
510 $ rw, 1, iw, 1, info )
511 CALL chkxer(
'ZHEEVD_2STAGE', infot, nout, lerr, ok )
514 $ rw, 2, iw, 1, info )
515 CALL chkxer(
'ZHEEVD_2STAGE', infot, nout, lerr, ok )
522 $ rw, 0, iw, 1, info )
523 CALL chkxer(
'ZHEEVD_2STAGE', infot, nout, lerr, ok )
526 $ rw, 1, iw, 1, info )
527 CALL chkxer(
'ZHEEVD_2STAGE', infot, nout, lerr, ok )
534 $ rw, 1, iw, 0, info )
535 CALL chkxer(
'ZHEEVD_2STAGE', infot, nout, lerr, ok )
546 CALL zheev(
'/',
'U', 0, a, 1, x, w, 1, rw, info )
547 CALL chkxer(
'ZHEEV ', infot, nout, lerr, ok )
549 CALL zheev(
'N',
'/', 0, a, 1, x, w, 1, rw, info )
550 CALL chkxer(
'ZHEEV ', infot, nout, lerr, ok )
552 CALL zheev(
'N',
'U', -1, a, 1, x, w, 1, rw, info )
553 CALL chkxer(
'ZHEEV ', infot, nout, lerr, ok )
555 CALL zheev(
'N',
'U', 2, a, 1, x, w, 3, rw, info )
556 CALL chkxer(
'ZHEEV ', infot, nout, lerr, ok )
558 CALL zheev(
'N',
'U', 2, a, 2, x, w, 2, rw, info )
559 CALL chkxer(
'ZHEEV ', infot, nout, lerr, ok )
564 srnamt =
'ZHEEV_2STAGE ' 566 CALL zheev_2stage(
'/',
'U', 0, a, 1, x, w, 1, rw, info )
567 CALL chkxer(
'ZHEEV_2STAGE ', infot, nout, lerr, ok )
569 CALL zheev_2stage(
'V',
'U', 0, a, 1, x, w, 1, rw, info )
570 CALL chkxer(
'ZHEEV_2STAGE ', infot, nout, lerr, ok )
572 CALL zheev_2stage(
'N',
'/', 0, a, 1, x, w, 1, rw, info )
573 CALL chkxer(
'ZHEEV_2STAGE ', infot, nout, lerr, ok )
575 CALL zheev_2stage(
'N',
'U', -1, a, 1, x, w, 1, rw, info )
576 CALL chkxer(
'ZHEEV_2STAGE ', infot, nout, lerr, ok )
578 CALL zheev_2stage(
'N',
'U', 2, a, 1, x, w, 3, rw, info )
579 CALL chkxer(
'ZHEEV_2STAGE ', infot, nout, lerr, ok )
581 CALL zheev_2stage(
'N',
'U', 2, a, 2, x, w, 2, rw, info )
582 CALL chkxer(
'ZHEEV_2STAGE ', infot, nout, lerr, ok )
589 CALL zheevx(
'/',
'A',
'U', 0, a, 1, 0.0d0, 0.0d0, 0, 0, 0.0d0,
590 $ m, x, z, 1, w, 1, rw, iw, i3, info )
591 CALL chkxer(
'ZHEEVX', infot, nout, lerr, ok )
593 CALL zheevx(
'V',
'/',
'U', 0, a, 1, 0.0d0, 1.0d0, 1, 0, 0.0d0,
594 $ m, x, z, 1, w, 1, rw, iw, i3, info )
595 CALL chkxer(
'ZHEEVX', infot, nout, lerr, ok )
597 CALL zheevx(
'V',
'A',
'/', 0, a, 1, 0.0d0, 0.0d0, 0, 0, 0.0d0,
598 $ m, x, z, 1, w, 1, rw, iw, i3, info )
600 CALL zheevx(
'V',
'A',
'U', -1, a, 1, 0.0d0, 0.0d0, 0, 0,
601 $ 0.0d0, m, x, z, 1, w, 1, rw, iw, i3, info )
602 CALL chkxer(
'ZHEEVX', infot, nout, lerr, ok )
604 CALL zheevx(
'V',
'A',
'U', 2, a, 1, 0.0d0, 0.0d0, 0, 0, 0.0d0,
605 $ m, x, z, 2, w, 3, rw, iw, i3, info )
606 CALL chkxer(
'ZHEEVX', infot, nout, lerr, ok )
608 CALL zheevx(
'V',
'V',
'U', 1, a, 1, 0.0d0, 0.0d0, 0, 0, 0.0d0,
609 $ m, x, z, 1, w, 1, rw, iw, i3, info )
610 CALL chkxer(
'ZHEEVX', infot, nout, lerr, ok )
612 CALL zheevx(
'V',
'I',
'U', 1, a, 1, 0.0d0, 0.0d0, 0, 0, 0.0d0,
613 $ m, x, z, 1, w, 1, rw, iw, i3, info )
614 CALL chkxer(
'ZHEEVX', infot, nout, lerr, ok )
616 CALL zheevx(
'V',
'I',
'U', 2, a, 2, 0.0d0, 0.0d0, 2, 1, 0.0d0,
617 $ m, x, z, 2, w, 3, rw, iw, i3, info )
618 CALL chkxer(
'ZHEEVX', infot, nout, lerr, ok )
620 CALL zheevx(
'V',
'A',
'U', 2, a, 2, 0.0d0, 0.0d0, 0, 0, 0.0d0,
621 $ m, x, z, 1, w, 3, rw, iw, i3, info )
622 CALL chkxer(
'ZHEEVX', infot, nout, lerr, ok )
624 CALL zheevx(
'V',
'A',
'U', 2, a, 2, 0.0d0, 0.0d0, 0, 0, 0.0d0,
625 $ m, x, z, 2, w, 2, rw, iw, i1, info )
626 CALL chkxer(
'ZHEEVX', infot, nout, lerr, ok )
631 srnamt =
'ZHEEVX_2STAGE' 634 $ 0.0d0, 0.0d0, 0, 0, 0.0d0,
635 $ m, x, z, 1, w, 1, rw, iw, i3, info )
636 CALL chkxer(
'ZHEEVX_2STAGE', infot, nout, lerr, ok )
639 $ 0.0d0, 0.0d0, 0, 0, 0.0d0,
640 $ m, x, z, 1, w, 1, rw, iw, i3, info )
641 CALL chkxer(
'ZHEEVX_2STAGE', infot, nout, lerr, ok )
644 $ 0.0d0, 1.0d0, 1, 0, 0.0d0,
645 $ m, x, z, 1, w, 1, rw, iw, i3, info )
646 CALL chkxer(
'ZHEEVX_2STAGE', infot, nout, lerr, ok )
649 $ 0.0d0, 0.0d0, 0, 0, 0.0d0,
650 $ m, x, z, 1, w, 1, rw, iw, i3, info )
653 $ 0.0d0, 0.0d0, 0, 0, 0.0d0,
654 $ m, x, z, 1, w, 1, rw, iw, i3, info )
655 CALL chkxer(
'ZHEEVX_2STAGE', infot, nout, lerr, ok )
658 $ 0.0d0, 0.0d0, 0, 0, 0.0d0,
659 $ m, x, z, 2, w, 3, rw, iw, i3, info )
660 CALL chkxer(
'ZHEEVX_2STAGE', infot, nout, lerr, ok )
663 $ 0.0d0, 0.0d0, 0, 0, 0.0d0,
664 $ m, x, z, 1, w, 1, rw, iw, i3, info )
665 CALL chkxer(
'ZHEEVX_2STAGE', infot, nout, lerr, ok )
668 $ 0.0d0, 0.0d0, 0, 0, 0.0d0,
669 $ m, x, z, 1, w, 1, rw, iw, i3, info )
670 CALL chkxer(
'ZHEEVX_2STAGE', infot, nout, lerr, ok )
673 $ 0.0d0, 0.0d0, 2, 1, 0.0d0,
674 $ m, x, z, 2, w, 3, rw, iw, i3, info )
675 CALL chkxer(
'ZHEEVX_2STAGE', infot, nout, lerr, ok )
678 $ 0.0d0, 0.0d0, 0, 0, 0.0d0,
679 $ m, x, z, 0, w, 3, rw, iw, i3, info )
680 CALL chkxer(
'ZHEEVX_2STAGE', infot, nout, lerr, ok )
683 $ 0.0d0, 0.0d0, 0, 0, 0.0d0,
684 $ m, x, z, 2, w, 0, rw, iw, i1, info )
685 CALL chkxer(
'ZHEEVX_2STAGE', infot, nout, lerr, ok )
693 CALL zheevr(
'/',
'A',
'U', 0, a, 1, 0.0d0, 0.0d0, 1, 1, 0.0d0,
694 $ m, r, z, 1, iw, q, 2*n, rw, 24*n, iw( 2*n+1 ),
696 CALL chkxer(
'ZHEEVR', infot, nout, lerr, ok )
698 CALL zheevr(
'V',
'/',
'U', 0, a, 1, 0.0d0, 0.0d0, 1, 1, 0.0d0,
699 $ m, r, z, 1, iw, q, 2*n, rw, 24*n, iw( 2*n+1 ),
701 CALL chkxer(
'ZHEEVR', infot, nout, lerr, ok )
703 CALL zheevr(
'V',
'A',
'/', -1, a, 1, 0.0d0, 0.0d0, 1, 1,
704 $ 0.0d0, m, r, z, 1, iw, q, 2*n, rw, 24*n,
705 $ iw( 2*n+1 ), 10*n, info )
706 CALL chkxer(
'ZHEEVR', infot, nout, lerr, ok )
708 CALL zheevr(
'V',
'A',
'U', -1, a, 1, 0.0d0, 0.0d0, 1, 1,
709 $ 0.0d0, m, r, z, 1, iw, q, 2*n, rw, 24*n,
710 $ iw( 2*n+1 ), 10*n, info )
711 CALL chkxer(
'ZHEEVR', infot, nout, lerr, ok )
713 CALL zheevr(
'V',
'A',
'U', 2, a, 1, 0.0d0, 0.0d0, 1, 1, 0.0d0,
714 $ m, r, z, 1, iw, q, 2*n, rw, 24*n, iw( 2*n+1 ),
716 CALL chkxer(
'ZHEEVR', infot, nout, lerr, ok )
718 CALL zheevr(
'V',
'V',
'U', 1, a, 1, 0.0d0, 0.0d0, 1, 1, 0.0d0,
719 $ m, r, z, 1, iw, q, 2*n, rw, 24*n, iw( 2*n+1 ),
721 CALL chkxer(
'ZHEEVR', infot, nout, lerr, ok )
723 CALL zheevr(
'V',
'I',
'U', 1, a, 1, 0.0d0, 0.0d0, 0, 1, 0.0d0,
724 $ m, r, z, 1, iw, q, 2*n, rw, 24*n, iw( 2*n+1 ),
726 CALL chkxer(
'ZHEEVR', infot, nout, lerr, ok )
729 CALL zheevr(
'V',
'I',
'U', 2, a, 2, 0.0d0, 0.0d0, 2, 1, 0.0d0,
730 $ m, r, z, 1, iw, q, 2*n, rw, 24*n, iw( 2*n+1 ),
732 CALL chkxer(
'ZHEEVR', infot, nout, lerr, ok )
734 CALL zheevr(
'V',
'I',
'U', 1, a, 1, 0.0d0, 0.0d0, 1, 1, 0.0d0,
735 $ m, r, z, 0, iw, q, 2*n, rw, 24*n, iw( 2*n+1 ),
737 CALL chkxer(
'ZHEEVR', infot, nout, lerr, ok )
739 CALL zheevr(
'V',
'I',
'U', 1, a, 1, 0.0d0, 0.0d0, 1, 1, 0.0d0,
740 $ m, r, z, 1, iw, q, 2*n-1, rw, 24*n, iw( 2*n+1 ),
742 CALL chkxer(
'ZHEEVR', infot, nout, lerr, ok )
744 CALL zheevr(
'V',
'I',
'U', 1, a, 1, 0.0d0, 0.0d0, 1, 1, 0.0d0,
745 $ m, r, z, 1, iw, q, 2*n, rw, 24*n-1, iw( 2*n-1 ),
747 CALL chkxer(
'ZHEEVR', infot, nout, lerr, ok )
749 CALL zheevr(
'V',
'I',
'U', 1, a, 1, 0.0d0, 0.0d0, 1, 1, 0.0d0,
750 $ m, r, z, 1, iw, q, 2*n, rw, 24*n, iw, 10*n-1,
752 CALL chkxer(
'ZHEEVR', infot, nout, lerr, ok )
757 srnamt =
'ZHEEVR_2STAGE' 761 $ 0.0d0, 0.0d0, 1, 1, 0.0d0,
762 $ m, r, z, 1, iw, q, 2*n, rw, 24*n, iw( 2*n+1 ),
764 CALL chkxer(
'ZHEEVR_2STAGE', infot, nout, lerr, ok )
767 $ 0.0d0, 0.0d0, 1, 1, 0.0d0,
768 $ m, r, z, 1, iw, q, 2*n, rw, 24*n, iw( 2*n+1 ),
770 CALL chkxer(
'ZHEEVR_2STAGE', infot, nout, lerr, ok )
773 $ 0.0d0, 0.0d0, 1, 1, 0.0d0,
774 $ m, r, z, 1, iw, q, 2*n, rw, 24*n, iw( 2*n+1 ),
776 CALL chkxer(
'ZHEEVR_2STAGE', infot, nout, lerr, ok )
779 $ 0.0d0, 0.0d0, 1, 1, 0.0d0,
780 $ m, r, z, 1, iw, q, 2*n, rw, 24*n,
781 $ iw( 2*n+1 ), 10*n, info )
782 CALL chkxer(
'ZHEEVR_2STAGE', infot, nout, lerr, ok )
785 $ 0.0d0, 0.0d0, 1, 1, 0.0d0,
786 $ m, r, z, 1, iw, q, 2*n, rw, 24*n,
787 $ iw( 2*n+1 ), 10*n, info )
788 CALL chkxer(
'ZHEEVR_2STAGE', infot, nout, lerr, ok )
791 $ 0.0d0, 0.0d0, 1, 1, 0.0d0,
792 $ m, r, z, 1, iw, q, 2*n, rw, 24*n, iw( 2*n+1 ),
794 CALL chkxer(
'ZHEEVR_2STAGE', infot, nout, lerr, ok )
797 $ 0.0d0, 0.0d0, 1, 1, 0.0d0,
798 $ m, r, z, 1, iw, q, 2*n, rw, 24*n, iw( 2*n+1 ),
800 CALL chkxer(
'ZHEEVR_2STAGE', infot, nout, lerr, ok )
803 $ 0.0d0, 0.0d0, 0, 1, 0.0d0,
804 $ m, r, z, 1, iw, q, 2*n, rw, 24*n, iw( 2*n+1 ),
806 CALL chkxer(
'ZHEEVR_2STAGE', infot, nout, lerr, ok )
809 $ 0.0d0, 0.0d0, 2, 1, 0.0d0,
810 $ m, r, z, 1, iw, q, 2*n, rw, 24*n, iw( 2*n+1 ),
812 CALL chkxer(
'ZHEEVR_2STAGE', infot, nout, lerr, ok )
815 $ 0.0d0, 0.0d0, 1, 1, 0.0d0,
816 $ m, r, z, 0, iw, q, 2*n, rw, 24*n, iw( 2*n+1 ),
818 CALL chkxer(
'ZHEEVR_2STAGE', infot, nout, lerr, ok )
821 $ 0.0d0, 0.0d0, 1, 1, 0.0d0,
822 $ m, r, z, 1, iw, q, 2*n-1, rw, 24*n, iw( 2*n+1 ),
824 CALL chkxer(
'ZHEEVR_2STAGE', infot, nout, lerr, ok )
827 $ 0.0d0, 0.0d0, 1, 1, 0.0d0,
828 $ m, r, z, 1, iw, q, 26*n, rw, 24*n-1, iw( 2*n-1 ),
830 CALL chkxer(
'ZHEEVR_2STAGE', infot, nout, lerr, ok )
833 $ 0.0d0, 0.0d0, 1, 1, 0.0d0,
834 $ m, r, z, 1, iw, q, 26*n, rw, 24*n, iw, 10*n-1,
836 CALL chkxer(
'ZHEEVR_2STAGE', infot, nout, lerr, ok )
843 CALL zhpevd(
'/',
'U', 0, a, x, z, 1, w, 1, rw, 1, iw, 1,
845 CALL chkxer(
'ZHPEVD', infot, nout, lerr, ok )
847 CALL zhpevd(
'N',
'/', 0, a, x, z, 1, w, 1, rw, 1, iw, 1,
849 CALL chkxer(
'ZHPEVD', infot, nout, lerr, ok )
851 CALL zhpevd(
'N',
'U', -1, a, x, z, 1, w, 1, rw, 1, iw, 1,
853 CALL chkxer(
'ZHPEVD', infot, nout, lerr, ok )
855 CALL zhpevd(
'V',
'U', 2, a, x, z, 1, w, 4, rw, 25, iw, 12,
857 CALL chkxer(
'ZHPEVD', infot, nout, lerr, ok )
859 CALL zhpevd(
'N',
'U', 1, a, x, z, 1, w, 0, rw, 1, iw, 1,
861 CALL chkxer(
'ZHPEVD', infot, nout, lerr, ok )
863 CALL zhpevd(
'N',
'U', 2, a, x, z, 2, w, 1, rw, 2, iw, 1,
865 CALL chkxer(
'ZHPEVD', infot, nout, lerr, ok )
867 CALL zhpevd(
'V',
'U', 2, a, x, z, 2, w, 2, rw, 25, iw, 12,
869 CALL chkxer(
'ZHPEVD', infot, nout, lerr, ok )
871 CALL zhpevd(
'N',
'U', 1, a, x, z, 1, w, 1, rw, 0, iw, 1,
873 CALL chkxer(
'ZHPEVD', infot, nout, lerr, ok )
875 CALL zhpevd(
'N',
'U', 2, a, x, z, 2, w, 2, rw, 1, iw, 1,
877 CALL chkxer(
'ZHPEVD', infot, nout, lerr, ok )
879 CALL zhpevd(
'V',
'U', 2, a, x, z, 2, w, 4, rw, 18, iw, 12,
881 CALL chkxer(
'ZHPEVD', infot, nout, lerr, ok )
883 CALL zhpevd(
'N',
'U', 1, a, x, z, 1, w, 1, rw, 1, iw, 0,
885 CALL chkxer(
'ZHPEVD', infot, nout, lerr, ok )
887 CALL zhpevd(
'N',
'U', 2, a, x, z, 2, w, 2, rw, 2, iw, 0,
889 CALL chkxer(
'ZHPEVD', infot, nout, lerr, ok )
891 CALL zhpevd(
'V',
'U', 2, a, x, z, 2, w, 4, rw, 25, iw, 2,
893 CALL chkxer(
'ZHPEVD', infot, nout, lerr, ok )
900 CALL zhpev(
'/',
'U', 0, a, x, z, 1, w, rw, info )
901 CALL chkxer(
'ZHPEV ', infot, nout, lerr, ok )
903 CALL zhpev(
'N',
'/', 0, a, x, z, 1, w, rw, info )
904 CALL chkxer(
'ZHPEV ', infot, nout, lerr, ok )
906 CALL zhpev(
'N',
'U', -1, a, x, z, 1, w, rw, info )
907 CALL chkxer(
'ZHPEV ', infot, nout, lerr, ok )
909 CALL zhpev(
'V',
'U', 2, a, x, z, 1, w, rw, info )
910 CALL chkxer(
'ZHPEV ', infot, nout, lerr, ok )
917 CALL zhpevx(
'/',
'A',
'U', 0, a, 0.0d0, 0.0d0, 0, 0, 0.0d0, m,
918 $ x, z, 1, w, rw, iw, i3, info )
919 CALL chkxer(
'ZHPEVX', infot, nout, lerr, ok )
921 CALL zhpevx(
'V',
'/',
'U', 0, a, 0.0d0, 1.0d0, 1, 0, 0.0d0, m,
922 $ x, z, 1, w, rw, iw, i3, info )
923 CALL chkxer(
'ZHPEVX', infot, nout, lerr, ok )
925 CALL zhpevx(
'V',
'A',
'/', 0, a, 0.0d0, 0.0d0, 0, 0, 0.0d0, m,
926 $ x, z, 1, w, rw, iw, i3, info )
927 CALL chkxer(
'ZHPEVX', infot, nout, lerr, ok )
929 CALL zhpevx(
'V',
'A',
'U', -1, a, 0.0d0, 0.0d0, 0, 0, 0.0d0,
930 $ m, x, z, 1, w, rw, iw, i3, info )
931 CALL chkxer(
'ZHPEVX', infot, nout, lerr, ok )
933 CALL zhpevx(
'V',
'V',
'U', 1, a, 0.0d0, 0.0d0, 0, 0, 0.0d0, m,
934 $ x, z, 1, w, rw, iw, i3, info )
935 CALL chkxer(
'ZHPEVX', infot, nout, lerr, ok )
937 CALL zhpevx(
'V',
'I',
'U', 1, a, 0.0d0, 0.0d0, 0, 0, 0.0d0, m,
938 $ x, z, 1, w, rw, iw, i3, info )
939 CALL chkxer(
'ZHPEVX', infot, nout, lerr, ok )
941 CALL zhpevx(
'V',
'I',
'U', 2, a, 0.0d0, 0.0d0, 2, 1, 0.0d0, m,
942 $ x, z, 2, w, rw, iw, i3, info )
943 CALL chkxer(
'ZHPEVX', infot, nout, lerr, ok )
945 CALL zhpevx(
'V',
'A',
'U', 2, a, 0.0d0, 0.0d0, 0, 0, 0.0d0, m,
946 $ x, z, 1, w, rw, iw, i3, info )
947 CALL chkxer(
'ZHPEVX', infot, nout, lerr, ok )
952 ELSE IF( lsamen( 2, c2,
'HB' ) )
THEN 958 CALL zhbtrd(
'/',
'U', 0, 0, a, 1, d, e, z, 1, w, info )
959 CALL chkxer(
'ZHBTRD', infot, nout, lerr, ok )
961 CALL zhbtrd(
'N',
'/', 0, 0, a, 1, d, e, z, 1, w, info )
962 CALL chkxer(
'ZHBTRD', infot, nout, lerr, ok )
964 CALL zhbtrd(
'N',
'U', -1, 0, a, 1, d, e, z, 1, w, info )
965 CALL chkxer(
'ZHBTRD', infot, nout, lerr, ok )
967 CALL zhbtrd(
'N',
'U', 0, -1, a, 1, d, e, z, 1, w, info )
968 CALL chkxer(
'ZHBTRD', infot, nout, lerr, ok )
970 CALL zhbtrd(
'N',
'U', 1, 1, a, 1, d, e, z, 1, w, info )
971 CALL chkxer(
'ZHBTRD', infot, nout, lerr, ok )
973 CALL zhbtrd(
'V',
'U', 2, 0, a, 1, d, e, z, 1, w, info )
974 CALL chkxer(
'ZHBTRD', infot, nout, lerr, ok )
979 srnamt =
'ZHETRD_HB2ST' 981 CALL zhetrd_hb2st(
'/',
'N',
'U', 0, 0, a, 1, d, e,
983 CALL chkxer(
'ZHETRD_HB2ST', infot, nout, lerr, ok )
985 CALL zhetrd_hb2st(
'N',
'/',
'U', 0, 0, a, 1, d, e,
987 CALL chkxer(
'ZHETRD_HB2ST', infot, nout, lerr, ok )
989 CALL zhetrd_hb2st(
'N',
'H',
'U', 0, 0, a, 1, d, e,
991 CALL chkxer(
'ZHETRD_HB2ST', infot, nout, lerr, ok )
993 CALL zhetrd_hb2st(
'N',
'N',
'/', 0, 0, a, 1, d, e,
995 CALL chkxer(
'ZHETRD_HB2ST', infot, nout, lerr, ok )
997 CALL zhetrd_hb2st(
'N',
'N',
'U', -1, 0, a, 1, d, e,
999 CALL chkxer(
'ZHETRD_HB2ST', infot, nout, lerr, ok )
1001 CALL zhetrd_hb2st(
'N',
'N',
'U', 0, -1, a, 1, d, e,
1002 $ c, 1, w, 1, info )
1003 CALL chkxer(
'ZHETRD_HB2ST', infot, nout, lerr, ok )
1005 CALL zhetrd_hb2st(
'N',
'N',
'U', 0, 1, a, 1, d, e,
1006 $ c, 1, w, 1, info )
1007 CALL chkxer(
'ZHETRD_HB2ST', infot, nout, lerr, ok )
1009 CALL zhetrd_hb2st(
'N',
'N',
'U', 0, 0, a, 1, d, e,
1010 $ c, 0, w, 1, info )
1011 CALL chkxer(
'ZHETRD_HB2ST', infot, nout, lerr, ok )
1013 CALL zhetrd_hb2st(
'N',
'N',
'U', 0, 0, a, 1, d, e,
1014 $ c, 1, w, 0, info )
1015 CALL chkxer(
'ZHETRD_HB2ST', infot, nout, lerr, ok )
1022 CALL zhbevd(
'/',
'U', 0, 0, a, 1, x, z, 1, w, 1, rw, 1, iw, 1,
1024 CALL chkxer(
'ZHBEVD', infot, nout, lerr, ok )
1026 CALL zhbevd(
'N',
'/', 0, 0, a, 1, x, z, 1, w, 1, rw, 1, iw, 1,
1028 CALL chkxer(
'ZHBEVD', infot, nout, lerr, ok )
1030 CALL zhbevd(
'N',
'U', -1, 0, a, 1, x, z, 1, w, 1, rw, 1, iw,
1032 CALL chkxer(
'ZHBEVD', infot, nout, lerr, ok )
1034 CALL zhbevd(
'N',
'U', 0, -1, a, 1, x, z, 1, w, 1, rw, 1, iw,
1036 CALL chkxer(
'ZHBEVD', infot, nout, lerr, ok )
1038 CALL zhbevd(
'N',
'U', 2, 1, a, 1, x, z, 1, w, 2, rw, 2, iw, 1,
1040 CALL chkxer(
'ZHBEVD', infot, nout, lerr, ok )
1042 CALL zhbevd(
'V',
'U', 2, 1, a, 2, x, z, 1, w, 8, rw, 25, iw,
1044 CALL chkxer(
'ZHBEVD', infot, nout, lerr, ok )
1046 CALL zhbevd(
'N',
'U', 1, 0, a, 1, x, z, 1, w, 0, rw, 1, iw, 1,
1048 CALL chkxer(
'ZHBEVD', infot, nout, lerr, ok )
1050 CALL zhbevd(
'N',
'U', 2, 1, a, 2, x, z, 2, w, 1, rw, 2, iw, 1,
1052 CALL chkxer(
'ZHBEVD', infot, nout, lerr, ok )
1054 CALL zhbevd(
'V',
'U', 2, 1, a, 2, x, z, 2, w, 2, rw, 25, iw,
1056 CALL chkxer(
'ZHBEVD', infot, nout, lerr, ok )
1058 CALL zhbevd(
'N',
'U', 1, 0, a, 1, x, z, 1, w, 1, rw, 0, iw, 1,
1060 CALL chkxer(
'ZHBEVD', infot, nout, lerr, ok )
1062 CALL zhbevd(
'N',
'U', 2, 1, a, 2, x, z, 2, w, 2, rw, 1, iw, 1,
1064 CALL chkxer(
'ZHBEVD', infot, nout, lerr, ok )
1066 CALL zhbevd(
'V',
'U', 2, 1, a, 2, x, z, 2, w, 8, rw, 2, iw,
1068 CALL chkxer(
'ZHBEVD', infot, nout, lerr, ok )
1070 CALL zhbevd(
'N',
'U', 1, 0, a, 1, x, z, 1, w, 1, rw, 1, iw, 0,
1072 CALL chkxer(
'ZHBEVD', infot, nout, lerr, ok )
1074 CALL zhbevd(
'N',
'U', 2, 1, a, 2, x, z, 2, w, 2, rw, 2, iw, 0,
1076 CALL chkxer(
'ZHBEVD', infot, nout, lerr, ok )
1078 CALL zhbevd(
'V',
'U', 2, 1, a, 2, x, z, 2, w, 8, rw, 25, iw,
1080 CALL chkxer(
'ZHBEVD', infot, nout, lerr, ok )
1085 srnamt =
'ZHBEVD_2STAGE' 1088 $ w, 1, rw, 1, iw, 1, info )
1089 CALL chkxer(
'ZHBEVD_2STAGE', infot, nout, lerr, ok )
1092 $ w, 1, rw, 1, iw, 1, info )
1093 CALL chkxer(
'ZHBEVD_2STAGE', infot, nout, lerr, ok )
1096 $ w, 1, rw, 1, iw, 1, info )
1097 CALL chkxer(
'ZHBEVD_2STAGE', infot, nout, lerr, ok )
1100 $ w, 1, rw, 1, iw, 1, info )
1101 CALL chkxer(
'ZHBEVD_2STAGE', infot, nout, lerr, ok )
1104 $ w, 1, rw, 1, iw, 1, info )
1105 CALL chkxer(
'ZHBEVD_2STAGE', infot, nout, lerr, ok )
1108 $ w, 2, rw, 2, iw, 1, info )
1109 CALL chkxer(
'ZHBEVD_2STAGE', infot, nout, lerr, ok )
1112 $ w, 8, rw, 25, iw, 12, info )
1113 CALL chkxer(
'ZHBEVD_2STAGE', infot, nout, lerr, ok )
1116 $ w, 0, rw, 1, iw, 1, info )
1117 CALL chkxer(
'ZHBEVD_2STAGE', infot, nout, lerr, ok )
1120 $ w, 1, rw, 2, iw, 1, info )
1121 CALL chkxer(
'ZHBEVD_2STAGE', infot, nout, lerr, ok )
1128 $ w, 1, rw, 0, iw, 1, info )
1129 CALL chkxer(
'ZHBEVD_2STAGE', infot, nout, lerr, ok )
1132 $ w, 25, rw, 1, iw, 1, info )
1133 CALL chkxer(
'ZHBEVD_2STAGE', infot, nout, lerr, ok )
1140 $ w, 1, rw, 1, iw, 0, info )
1141 CALL chkxer(
'ZHBEVD_2STAGE', infot, nout, lerr, ok )
1144 $ w, 25, rw, 2, iw, 0, info )
1145 CALL chkxer(
'ZHBEVD_2STAGE', infot, nout, lerr, ok )
1156 CALL zhbev(
'/',
'U', 0, 0, a, 1, x, z, 1, w, rw, info )
1157 CALL chkxer(
'ZHBEV ', infot, nout, lerr, ok )
1159 CALL zhbev(
'N',
'/', 0, 0, a, 1, x, z, 1, w, rw, info )
1160 CALL chkxer(
'ZHBEV ', infot, nout, lerr, ok )
1162 CALL zhbev(
'N',
'U', -1, 0, a, 1, x, z, 1, w, rw, info )
1163 CALL chkxer(
'ZHBEV ', infot, nout, lerr, ok )
1165 CALL zhbev(
'N',
'U', 0, -1, a, 1, x, z, 1, w, rw, info )
1166 CALL chkxer(
'ZHBEV ', infot, nout, lerr, ok )
1168 CALL zhbev(
'N',
'U', 2, 1, a, 1, x, z, 1, w, rw, info )
1169 CALL chkxer(
'ZHBEV ', infot, nout, lerr, ok )
1171 CALL zhbev(
'V',
'U', 2, 0, a, 1, x, z, 1, w, rw, info )
1172 CALL chkxer(
'ZHBEV ', infot, nout, lerr, ok )
1177 srnamt =
'ZHBEV_2STAGE ' 1180 $ z, 1, w, 0, rw, info )
1181 CALL chkxer(
'ZHBEV_2STAGE ', infot, nout, lerr, ok )
1184 $ z, 1, w, 0, rw, info )
1185 CALL chkxer(
'ZHBEV_2STAGE ', infot, nout, lerr, ok )
1188 $ z, 1, w, 0, rw, info )
1189 CALL chkxer(
'ZHBEV_2STAGE ', infot, nout, lerr, ok )
1192 $ z, 1, w, 0, rw, info )
1193 CALL chkxer(
'ZHBEV_2STAGE ', infot, nout, lerr, ok )
1196 $ z, 1, w, 0, rw, info )
1197 CALL chkxer(
'ZHBEV_2STAGE ', infot, nout, lerr, ok )
1200 $ z, 1, w, 0, rw, info )
1201 CALL chkxer(
'ZHBEV_2STAGE ', infot, nout, lerr, ok )
1204 $ z, 0, w, 0, rw, info )
1205 CALL chkxer(
'ZHBEV_2STAGE ', infot, nout, lerr, ok )
1208 $ z, 1, w, 0, rw, info )
1209 CALL chkxer(
'ZHBEV_2STAGE ', infot, nout, lerr, ok )
1216 CALL zhbevx(
'/',
'A',
'U', 0, 0, a, 1, q, 1, 0.0d0, 0.0d0, 0,
1217 $ 0, 0.0d0, m, x, z, 1, w, rw, iw, i3, info )
1218 CALL chkxer(
'ZHBEVX', infot, nout, lerr, ok )
1220 CALL zhbevx(
'V',
'/',
'U', 0, 0, a, 1, q, 1, 0.0d0, 1.0d0, 1,
1221 $ 0, 0.0d0, m, x, z, 1, w, rw, iw, i3, info )
1222 CALL chkxer(
'ZHBEVX', infot, nout, lerr, ok )
1224 CALL zhbevx(
'V',
'A',
'/', 0, 0, a, 1, q, 1, 0.0d0, 0.0d0, 0,
1225 $ 0, 0.0d0, m, x, z, 1, w, rw, iw, i3, info )
1227 CALL zhbevx(
'V',
'A',
'U', -1, 0, a, 1, q, 1, 0.0d0, 0.0d0, 0,
1228 $ 0, 0.0d0, m, x, z, 1, w, rw, iw, i3, info )
1229 CALL chkxer(
'ZHBEVX', infot, nout, lerr, ok )
1231 CALL zhbevx(
'V',
'A',
'U', 0, -1, a, 1, q, 1, 0.0d0, 0.0d0, 0,
1232 $ 0, 0.0d0, m, x, z, 1, w, rw, iw, i3, info )
1233 CALL chkxer(
'ZHBEVX', infot, nout, lerr, ok )
1235 CALL zhbevx(
'V',
'A',
'U', 2, 1, a, 1, q, 2, 0.0d0, 0.0d0, 0,
1236 $ 0, 0.0d0, m, x, z, 2, w, rw, iw, i3, info )
1237 CALL chkxer(
'ZHBEVX', infot, nout, lerr, ok )
1239 CALL zhbevx(
'V',
'A',
'U', 2, 0, a, 1, q, 1, 0.0d0, 0.0d0, 0,
1240 $ 0, 0.0d0, m, x, z, 2, w, rw, iw, i3, info )
1241 CALL chkxer(
'ZHBEVX', infot, nout, lerr, ok )
1243 CALL zhbevx(
'V',
'V',
'U', 1, 0, a, 1, q, 1, 0.0d0, 0.0d0, 0,
1244 $ 0, 0.0d0, m, x, z, 1, w, rw, iw, i3, info )
1245 CALL chkxer(
'ZHBEVX', infot, nout, lerr, ok )
1247 CALL zhbevx(
'V',
'I',
'U', 1, 0, a, 1, q, 1, 0.0d0, 0.0d0, 0,
1248 $ 0, 0.0d0, m, x, z, 1, w, rw, iw, i3, info )
1249 CALL chkxer(
'ZHBEVX', infot, nout, lerr, ok )
1251 CALL zhbevx(
'V',
'I',
'U', 1, 0, a, 1, q, 1, 0.0d0, 0.0d0, 1,
1252 $ 2, 0.0d0, m, x, z, 1, w, rw, iw, i3, info )
1253 CALL chkxer(
'ZHBEVX', infot, nout, lerr, ok )
1255 CALL zhbevx(
'V',
'A',
'U', 2, 0, a, 1, q, 2, 0.0d0, 0.0d0, 0,
1256 $ 0, 0.0d0, m, x, z, 1, w, rw, iw, i3, info )
1257 CALL chkxer(
'ZHBEVX', infot, nout, lerr, ok )
1262 srnamt =
'ZHBEVX_2STAGE' 1265 $ 0.0d0, 0.0d0, 0, 0, 0.0d0,
1266 $ m, x, z, 1, w, 0, rw, iw, i3, info )
1269 $ 0.0d0, 0.0d0, 0, 0, 0.0d0,
1270 $ m, x, z, 1, w, 0, rw, iw, i3, info )
1271 CALL chkxer(
'ZHBEVX_2STAGE', infot, nout, lerr, ok )
1274 $ 0.0d0, 1.0d0, 1, 0, 0.0d0,
1275 $ m, x, z, 1, w, 0, rw, iw, i3, info )
1276 CALL chkxer(
'ZHBEVX_2STAGE', infot, nout, lerr, ok )
1279 $ 0.0d0, 0.0d0, 0, 0, 0.0d0,
1280 $ m, x, z, 1, w, 0, rw, iw, i3, info )
1283 $ 0.0d0, 0.0d0, 0, 0, 0.0d0,
1284 $ m, x, z, 1, w, 0, rw, iw, i3, info )
1285 CALL chkxer(
'ZHBEVX_2STAGE', infot, nout, lerr, ok )
1288 $ 0.0d0, 0.0d0, 0, 0, 0.0d0,
1289 $ m, x, z, 1, w, 0, rw, iw, i3, info )
1290 CALL chkxer(
'ZHBEVX_2STAGE', infot, nout, lerr, ok )
1293 $ 0.0d0, 0.0d0, 0, 0, 0.0d0,
1294 $ m, x, z, 2, w, 0, rw, iw, i3, info )
1295 CALL chkxer(
'ZHBEVX_2STAGE', infot, nout, lerr, ok )
1303 $ 0.0d0, 0.0d0, 0, 0, 0.0d0,
1304 $ m, x, z, 1, w, 0, rw, iw, i3, info )
1305 CALL chkxer(
'ZHBEVX_2STAGE', infot, nout, lerr, ok )
1308 $ 0.0d0, 0.0d0, 0, 0, 0.0d0,
1309 $ m, x, z, 1, w, 0, rw, iw, i3, info )
1310 CALL chkxer(
'ZHBEVX_2STAGE', infot, nout, lerr, ok )
1313 $ 0.0d0, 0.0d0, 1, 2, 0.0d0,
1314 $ m, x, z, 1, w, 0, rw, iw, i3, info )
1315 CALL chkxer(
'ZHBEVX_2STAGE', infot, nout, lerr, ok )
1318 $ 0.0d0, 0.0d0, 0, 0, 0.0d0,
1319 $ m, x, z, 0, w, 0, rw, iw, i3, info )
1320 CALL chkxer(
'ZHBEVX_2STAGE', infot, nout, lerr, ok )
1323 $ 0.0d0, 0.0d0, 0, 0, 0.0d0,
1324 $ m, x, z, 1, w, 0, rw, iw, i3, info )
1325 CALL chkxer(
'ZHBEVX_2STAGE', infot, nout, lerr, ok )
1332 WRITE( nout, fmt = 9999 )path, nt
1334 WRITE( nout, fmt = 9998 )path
1337 9999
FORMAT( 1x, a3,
' routines passed the tests of the error exits',
1338 $
' (', i3,
' tests done)' )
1339 9998
FORMAT(
' *** ', a3,
' routines failed the tests of the error ',
subroutine zupmtr(SIDE, UPLO, TRANS, M, N, AP, TAU, C, LDC, WORK, INFO)
ZUPMTR
subroutine zhpev(JOBZ, UPLO, N, AP, W, Z, LDZ, WORK, RWORK, INFO)
ZHPEV computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER matrice...
subroutine zheevx_2stage(JOBZ, RANGE, UPLO, N, A, LDA, VL, VU, IL, IU, ABSTOL, M, W, Z, LDZ, WORK, LWORK, RWORK, IWORK, IFAIL, INFO)
ZHEEVX_2STAGE computes the eigenvalues and, optionally, the left and/or right eigenvectors for HE ma...
subroutine zpteqr(COMPZ, N, D, E, Z, LDZ, WORK, INFO)
ZPTEQR
subroutine zheevd_2stage(JOBZ, UPLO, N, A, LDA, W, WORK, LWORK, RWORK, LRWORK, IWORK, LIWORK, INFO)
ZHEEVD_2STAGE computes the eigenvalues and, optionally, the left and/or right eigenvectors for HE ma...
subroutine zheevr(JOBZ, RANGE, UPLO, N, A, LDA, VL, VU, IL, IU, ABSTOL, M, W, Z, LDZ, ISUPPZ, WORK, LWORK, RWORK, LRWORK, IWORK, LIWORK, INFO)
ZHEEVR computes the eigenvalues and, optionally, the left and/or right eigenvectors for HE matrices ...
subroutine zhbevd(JOBZ, UPLO, N, KD, AB, LDAB, W, Z, LDZ, WORK, LWORK, RWORK, LRWORK, IWORK, LIWORK, INFO)
ZHBEVD computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER matric...
subroutine zheevx(JOBZ, RANGE, UPLO, N, A, LDA, VL, VU, IL, IU, ABSTOL, M, W, Z, LDZ, WORK, LWORK, RWORK, IWORK, IFAIL, INFO)
ZHEEVX computes the eigenvalues and, optionally, the left and/or right eigenvectors for HE matrices ...
subroutine zstedc(COMPZ, N, D, E, Z, LDZ, WORK, LWORK, RWORK, LRWORK, IWORK, LIWORK, INFO)
ZSTEDC
subroutine zungtr(UPLO, N, A, LDA, TAU, WORK, LWORK, INFO)
ZUNGTR
subroutine zsteqr(COMPZ, N, D, E, Z, LDZ, WORK, INFO)
ZSTEQR
subroutine zhbevx_2stage(JOBZ, RANGE, UPLO, N, KD, AB, LDAB, Q, LDQ, VL, VU, IL, IU, ABSTOL, M, W, Z, LDZ, WORK, LWORK, RWORK, IWORK, IFAIL, INFO)
ZHBEVX_2STAGE computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER...
subroutine zhetrd_he2hb(UPLO, N, KD, A, LDA, AB, LDAB, TAU, WORK, LWORK, INFO)
ZHETRD_HE2HB
subroutine chkxer(SRNAMT, INFOT, NOUT, LERR, OK)
subroutine zheevr_2stage(JOBZ, RANGE, UPLO, N, A, LDA, VL, VU, IL, IU, ABSTOL, M, W, Z, LDZ, ISUPPZ, WORK, LWORK, RWORK, LRWORK, IWORK, LIWORK, INFO)
ZHEEVR_2STAGE computes the eigenvalues and, optionally, the left and/or right eigenvectors for HE ma...
subroutine zhptrd(UPLO, N, AP, D, E, TAU, INFO)
ZHPTRD
subroutine zhpevx(JOBZ, RANGE, UPLO, N, AP, VL, VU, IL, IU, ABSTOL, M, W, Z, LDZ, WORK, RWORK, IWORK, IFAIL, INFO)
ZHPEVX computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER matric...
subroutine zhbev_2stage(JOBZ, UPLO, N, KD, AB, LDAB, W, Z, LDZ, WORK, LWORK, RWORK, INFO)
ZHBEV_2STAGE computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER ...
subroutine zhbev(JOBZ, UPLO, N, KD, AB, LDAB, W, Z, LDZ, WORK, RWORK, INFO)
ZHBEV computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER matrice...
subroutine zheev(JOBZ, UPLO, N, A, LDA, W, WORK, LWORK, RWORK, INFO)
ZHEEV computes the eigenvalues and, optionally, the left and/or right eigenvectors for HE matrices ...
subroutine zhbtrd(VECT, UPLO, N, KD, AB, LDAB, D, E, Q, LDQ, WORK, INFO)
ZHBTRD
subroutine zhpevd(JOBZ, UPLO, N, AP, W, Z, LDZ, WORK, LWORK, RWORK, LRWORK, IWORK, LIWORK, INFO)
ZHPEVD computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER matric...
subroutine zheevd(JOBZ, UPLO, N, A, LDA, W, WORK, LWORK, RWORK, LRWORK, IWORK, LIWORK, INFO)
ZHEEVD computes the eigenvalues and, optionally, the left and/or right eigenvectors for HE matrices ...
subroutine zhbevx(JOBZ, RANGE, UPLO, N, KD, AB, LDAB, Q, LDQ, VL, VU, IL, IU, ABSTOL, M, W, Z, LDZ, WORK, RWORK, IWORK, IFAIL, INFO)
ZHBEVX computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER matric...
subroutine zupgtr(UPLO, N, AP, TAU, Q, LDQ, WORK, INFO)
ZUPGTR
subroutine zerrst(PATH, NUNIT)
ZERRST
subroutine zheev_2stage(JOBZ, UPLO, N, A, LDA, W, WORK, LWORK, RWORK, INFO)
ZHEEV_2STAGE computes the eigenvalues and, optionally, the left and/or right eigenvectors for HE mat...
subroutine zhbevd_2stage(JOBZ, UPLO, N, KD, AB, LDAB, W, Z, LDZ, WORK, LWORK, RWORK, LRWORK, IWORK, LIWORK, INFO)
ZHBEVD_2STAGE computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER...
subroutine zstein(N, D, E, M, W, IBLOCK, ISPLIT, Z, LDZ, WORK, IWORK, IFAIL, INFO)
ZSTEIN
subroutine zunmtr(SIDE, UPLO, TRANS, M, N, A, LDA, TAU, C, LDC, WORK, LWORK, INFO)
ZUNMTR
subroutine zhetrd(UPLO, N, A, LDA, D, E, TAU, WORK, LWORK, INFO)
ZHETRD
subroutine zhetrd_2stage(VECT, UPLO, N, A, LDA, D, E, TAU, HOUS2, LHOUS2, WORK, LWORK, INFO)
ZHETRD_2STAGE