2397 INTEGER INFOT, NOUTC
2400 COMPLEX*16 ALPHA, BETA
2401 DOUBLE PRECISION RALPHA
2403 COMPLEX*16 A( 1, 1 ), X( 1 ), Y( 1 )
2409 COMMON /infoc/infot, noutc, ok, lerr
2417 GO TO ( 10, 20, 30, 40, 50, 60, 70, 80,
2418 $ 90, 100, 110, 120, 130, 140, 150, 160,
2421 CALL zgemv(
'/', 0, 0, alpha, a, 1, x, 1, beta, y, 1 )
2422 CALL chkxer( srnamt, infot, nout, lerr, ok )
2424 CALL zgemv(
'N', -1, 0, alpha, a, 1, x, 1, beta, y, 1 )
2425 CALL chkxer( srnamt, infot, nout, lerr, ok )
2427 CALL zgemv(
'N', 0, -1, alpha, a, 1, x, 1, beta, y, 1 )
2428 CALL chkxer( srnamt, infot, nout, lerr, ok )
2430 CALL zgemv(
'N', 2, 0, alpha, a, 1, x, 1, beta, y, 1 )
2431 CALL chkxer( srnamt, infot, nout, lerr, ok )
2433 CALL zgemv(
'N', 0, 0, alpha, a, 1, x, 0, beta, y, 1 )
2434 CALL chkxer( srnamt, infot, nout, lerr, ok )
2436 CALL zgemv(
'N', 0, 0, alpha, a, 1, x, 1, beta, y, 0 )
2437 CALL chkxer( srnamt, infot, nout, lerr, ok )
2440 CALL zgbmv(
'/', 0, 0, 0, 0, alpha, a, 1, x, 1, beta, y, 1 )
2441 CALL chkxer( srnamt, infot, nout, lerr, ok )
2443 CALL zgbmv(
'N', -1, 0, 0, 0, alpha, a, 1, x, 1, beta, y, 1 )
2444 CALL chkxer( srnamt, infot, nout, lerr, ok )
2446 CALL zgbmv(
'N', 0, -1, 0, 0, alpha, a, 1, x, 1, beta, y, 1 )
2447 CALL chkxer( srnamt, infot, nout, lerr, ok )
2449 CALL zgbmv(
'N', 0, 0, -1, 0, alpha, a, 1, x, 1, beta, y, 1 )
2450 CALL chkxer( srnamt, infot, nout, lerr, ok )
2452 CALL zgbmv(
'N', 2, 0, 0, -1, alpha, a, 1, x, 1, beta, y, 1 )
2453 CALL chkxer( srnamt, infot, nout, lerr, ok )
2455 CALL zgbmv(
'N', 0, 0, 1, 0, alpha, a, 1, x, 1, beta, y, 1 )
2456 CALL chkxer( srnamt, infot, nout, lerr, ok )
2458 CALL zgbmv(
'N', 0, 0, 0, 0, alpha, a, 1, x, 0, beta, y, 1 )
2459 CALL chkxer( srnamt, infot, nout, lerr, ok )
2461 CALL zgbmv(
'N', 0, 0, 0, 0, alpha, a, 1, x, 1, beta, y, 0 )
2462 CALL chkxer( srnamt, infot, nout, lerr, ok )
2465 CALL zhemv(
'/', 0, alpha, a, 1, x, 1, beta, y, 1 )
2466 CALL chkxer( srnamt, infot, nout, lerr, ok )
2468 CALL zhemv(
'U', -1, alpha, a, 1, x, 1, beta, y, 1 )
2469 CALL chkxer( srnamt, infot, nout, lerr, ok )
2471 CALL zhemv(
'U', 2, alpha, a, 1, x, 1, beta, y, 1 )
2472 CALL chkxer( srnamt, infot, nout, lerr, ok )
2474 CALL zhemv(
'U', 0, alpha, a, 1, x, 0, beta, y, 1 )
2475 CALL chkxer( srnamt, infot, nout, lerr, ok )
2477 CALL zhemv(
'U', 0, alpha, a, 1, x, 1, beta, y, 0 )
2478 CALL chkxer( srnamt, infot, nout, lerr, ok )
2481 CALL zhbmv(
'/', 0, 0, alpha, a, 1, x, 1, beta, y, 1 )
2482 CALL chkxer( srnamt, infot, nout, lerr, ok )
2484 CALL zhbmv(
'U', -1, 0, alpha, a, 1, x, 1, beta, y, 1 )
2485 CALL chkxer( srnamt, infot, nout, lerr, ok )
2487 CALL zhbmv(
'U', 0, -1, alpha, a, 1, x, 1, beta, y, 1 )
2488 CALL chkxer( srnamt, infot, nout, lerr, ok )
2490 CALL zhbmv(
'U', 0, 1, alpha, a, 1, x, 1, beta, y, 1 )
2491 CALL chkxer( srnamt, infot, nout, lerr, ok )
2493 CALL zhbmv(
'U', 0, 0, alpha, a, 1, x, 0, beta, y, 1 )
2494 CALL chkxer( srnamt, infot, nout, lerr, ok )
2496 CALL zhbmv(
'U', 0, 0, alpha, a, 1, x, 1, beta, y, 0 )
2497 CALL chkxer( srnamt, infot, nout, lerr, ok )
2500 CALL zhpmv(
'/', 0, alpha, a, x, 1, beta, y, 1 )
2501 CALL chkxer( srnamt, infot, nout, lerr, ok )
2503 CALL zhpmv(
'U', -1, alpha, a, x, 1, beta, y, 1 )
2504 CALL chkxer( srnamt, infot, nout, lerr, ok )
2506 CALL zhpmv(
'U', 0, alpha, a, x, 0, beta, y, 1 )
2507 CALL chkxer( srnamt, infot, nout, lerr, ok )
2509 CALL zhpmv(
'U', 0, alpha, a, x, 1, beta, y, 0 )
2510 CALL chkxer( srnamt, infot, nout, lerr, ok )
2513 CALL ztrmv(
'/',
'N',
'N', 0, a, 1, x, 1 )
2514 CALL chkxer( srnamt, infot, nout, lerr, ok )
2516 CALL ztrmv(
'U',
'/',
'N', 0, a, 1, x, 1 )
2517 CALL chkxer( srnamt, infot, nout, lerr, ok )
2519 CALL ztrmv(
'U',
'N',
'/', 0, a, 1, x, 1 )
2520 CALL chkxer( srnamt, infot, nout, lerr, ok )
2522 CALL ztrmv(
'U',
'N',
'N', -1, a, 1, x, 1 )
2523 CALL chkxer( srnamt, infot, nout, lerr, ok )
2525 CALL ztrmv(
'U',
'N',
'N', 2, a, 1, x, 1 )
2526 CALL chkxer( srnamt, infot, nout, lerr, ok )
2528 CALL ztrmv(
'U',
'N',
'N', 0, a, 1, x, 0 )
2529 CALL chkxer( srnamt, infot, nout, lerr, ok )
2532 CALL ztbmv(
'/',
'N',
'N', 0, 0, a, 1, x, 1 )
2533 CALL chkxer( srnamt, infot, nout, lerr, ok )
2535 CALL ztbmv(
'U',
'/',
'N', 0, 0, a, 1, x, 1 )
2536 CALL chkxer( srnamt, infot, nout, lerr, ok )
2538 CALL ztbmv(
'U',
'N',
'/', 0, 0, a, 1, x, 1 )
2539 CALL chkxer( srnamt, infot, nout, lerr, ok )
2541 CALL ztbmv(
'U',
'N',
'N', -1, 0, a, 1, x, 1 )
2542 CALL chkxer( srnamt, infot, nout, lerr, ok )
2544 CALL ztbmv(
'U',
'N',
'N', 0, -1, a, 1, x, 1 )
2545 CALL chkxer( srnamt, infot, nout, lerr, ok )
2547 CALL ztbmv(
'U',
'N',
'N', 0, 1, a, 1, x, 1 )
2548 CALL chkxer( srnamt, infot, nout, lerr, ok )
2550 CALL ztbmv(
'U',
'N',
'N', 0, 0, a, 1, x, 0 )
2551 CALL chkxer( srnamt, infot, nout, lerr, ok )
2554 CALL ztpmv(
'/',
'N',
'N', 0, a, x, 1 )
2555 CALL chkxer( srnamt, infot, nout, lerr, ok )
2557 CALL ztpmv(
'U',
'/',
'N', 0, a, x, 1 )
2558 CALL chkxer( srnamt, infot, nout, lerr, ok )
2560 CALL ztpmv(
'U',
'N',
'/', 0, a, x, 1 )
2561 CALL chkxer( srnamt, infot, nout, lerr, ok )
2563 CALL ztpmv(
'U',
'N',
'N', -1, a, x, 1 )
2564 CALL chkxer( srnamt, infot, nout, lerr, ok )
2566 CALL ztpmv(
'U',
'N',
'N', 0, a, x, 0 )
2567 CALL chkxer( srnamt, infot, nout, lerr, ok )
2570 CALL ztrsv(
'/',
'N',
'N', 0, a, 1, x, 1 )
2571 CALL chkxer( srnamt, infot, nout, lerr, ok )
2573 CALL ztrsv(
'U',
'/',
'N', 0, a, 1, x, 1 )
2574 CALL chkxer( srnamt, infot, nout, lerr, ok )
2576 CALL ztrsv(
'U',
'N',
'/', 0, a, 1, x, 1 )
2577 CALL chkxer( srnamt, infot, nout, lerr, ok )
2579 CALL ztrsv(
'U',
'N',
'N', -1, a, 1, x, 1 )
2580 CALL chkxer( srnamt, infot, nout, lerr, ok )
2582 CALL ztrsv(
'U',
'N',
'N', 2, a, 1, x, 1 )
2583 CALL chkxer( srnamt, infot, nout, lerr, ok )
2585 CALL ztrsv(
'U',
'N',
'N', 0, a, 1, x, 0 )
2586 CALL chkxer( srnamt, infot, nout, lerr, ok )
2589 CALL ztbsv(
'/',
'N',
'N', 0, 0, a, 1, x, 1 )
2590 CALL chkxer( srnamt, infot, nout, lerr, ok )
2592 CALL ztbsv(
'U',
'/',
'N', 0, 0, a, 1, x, 1 )
2593 CALL chkxer( srnamt, infot, nout, lerr, ok )
2595 CALL ztbsv(
'U',
'N',
'/', 0, 0, a, 1, x, 1 )
2596 CALL chkxer( srnamt, infot, nout, lerr, ok )
2598 CALL ztbsv(
'U',
'N',
'N', -1, 0, a, 1, x, 1 )
2599 CALL chkxer( srnamt, infot, nout, lerr, ok )
2601 CALL ztbsv(
'U',
'N',
'N', 0, -1, a, 1, x, 1 )
2602 CALL chkxer( srnamt, infot, nout, lerr, ok )
2604 CALL ztbsv(
'U',
'N',
'N', 0, 1, a, 1, x, 1 )
2605 CALL chkxer( srnamt, infot, nout, lerr, ok )
2607 CALL ztbsv(
'U',
'N',
'N', 0, 0, a, 1, x, 0 )
2608 CALL chkxer( srnamt, infot, nout, lerr, ok )
2611 CALL ztpsv(
'/',
'N',
'N', 0, a, x, 1 )
2612 CALL chkxer( srnamt, infot, nout, lerr, ok )
2614 CALL ztpsv(
'U',
'/',
'N', 0, a, x, 1 )
2615 CALL chkxer( srnamt, infot, nout, lerr, ok )
2617 CALL ztpsv(
'U',
'N',
'/', 0, a, x, 1 )
2618 CALL chkxer( srnamt, infot, nout, lerr, ok )
2620 CALL ztpsv(
'U',
'N',
'N', -1, a, x, 1 )
2621 CALL chkxer( srnamt, infot, nout, lerr, ok )
2623 CALL ztpsv(
'U',
'N',
'N', 0, a, x, 0 )
2624 CALL chkxer( srnamt, infot, nout, lerr, ok )
2627 CALL zgerc( -1, 0, alpha, x, 1, y, 1, a, 1 )
2628 CALL chkxer( srnamt, infot, nout, lerr, ok )
2630 CALL zgerc( 0, -1, alpha, x, 1, y, 1, a, 1 )
2631 CALL chkxer( srnamt, infot, nout, lerr, ok )
2633 CALL zgerc( 0, 0, alpha, x, 0, y, 1, a, 1 )
2634 CALL chkxer( srnamt, infot, nout, lerr, ok )
2636 CALL zgerc( 0, 0, alpha, x, 1, y, 0, a, 1 )
2637 CALL chkxer( srnamt, infot, nout, lerr, ok )
2639 CALL zgerc( 2, 0, alpha, x, 1, y, 1, a, 1 )
2640 CALL chkxer( srnamt, infot, nout, lerr, ok )
2643 CALL zgeru( -1, 0, alpha, x, 1, y, 1, a, 1 )
2644 CALL chkxer( srnamt, infot, nout, lerr, ok )
2646 CALL zgeru( 0, -1, alpha, x, 1, y, 1, a, 1 )
2647 CALL chkxer( srnamt, infot, nout, lerr, ok )
2649 CALL zgeru( 0, 0, alpha, x, 0, y, 1, a, 1 )
2650 CALL chkxer( srnamt, infot, nout, lerr, ok )
2652 CALL zgeru( 0, 0, alpha, x, 1, y, 0, a, 1 )
2653 CALL chkxer( srnamt, infot, nout, lerr, ok )
2655 CALL zgeru( 2, 0, alpha, x, 1, y, 1, a, 1 )
2656 CALL chkxer( srnamt, infot, nout, lerr, ok )
2659 CALL zher(
'/', 0, ralpha, x, 1, a, 1 )
2660 CALL chkxer( srnamt, infot, nout, lerr, ok )
2662 CALL zher(
'U', -1, ralpha, x, 1, a, 1 )
2663 CALL chkxer( srnamt, infot, nout, lerr, ok )
2665 CALL zher(
'U', 0, ralpha, x, 0, a, 1 )
2666 CALL chkxer( srnamt, infot, nout, lerr, ok )
2668 CALL zher(
'U', 2, ralpha, x, 1, a, 1 )
2669 CALL chkxer( srnamt, infot, nout, lerr, ok )
2672 CALL zhpr(
'/', 0, ralpha, x, 1, a )
2673 CALL chkxer( srnamt, infot, nout, lerr, ok )
2675 CALL zhpr(
'U', -1, ralpha, x, 1, a )
2676 CALL chkxer( srnamt, infot, nout, lerr, ok )
2678 CALL zhpr(
'U', 0, ralpha, x, 0, a )
2679 CALL chkxer( srnamt, infot, nout, lerr, ok )
2682 CALL zher2(
'/', 0, alpha, x, 1, y, 1, a, 1 )
2683 CALL chkxer( srnamt, infot, nout, lerr, ok )
2685 CALL zher2(
'U', -1, alpha, x, 1, y, 1, a, 1 )
2686 CALL chkxer( srnamt, infot, nout, lerr, ok )
2688 CALL zher2(
'U', 0, alpha, x, 0, y, 1, a, 1 )
2689 CALL chkxer( srnamt, infot, nout, lerr, ok )
2691 CALL zher2(
'U', 0, alpha, x, 1, y, 0, a, 1 )
2692 CALL chkxer( srnamt, infot, nout, lerr, ok )
2694 CALL zher2(
'U', 2, alpha, x, 1, y, 1, a, 1 )
2695 CALL chkxer( srnamt, infot, nout, lerr, ok )
2698 CALL zhpr2(
'/', 0, alpha, x, 1, y, 1, a )
2699 CALL chkxer( srnamt, infot, nout, lerr, ok )
2701 CALL zhpr2(
'U', -1, alpha, x, 1, y, 1, a )
2702 CALL chkxer( srnamt, infot, nout, lerr, ok )
2704 CALL zhpr2(
'U', 0, alpha, x, 0, y, 1, a )
2705 CALL chkxer( srnamt, infot, nout, lerr, ok )
2707 CALL zhpr2(
'U', 0, alpha, x, 1, y, 0, a )
2708 CALL chkxer( srnamt, infot, nout, lerr, ok )
2711 WRITE( nout, fmt = 9999 )srnamt
2713 WRITE( nout, fmt = 9998 )srnamt
2717 9999
FORMAT(
' ', a6,
' PASSED THE TESTS OF ERROR-EXITS' )
2718 9998
FORMAT(
' ******* ', a6,
' FAILED THE TESTS OF ERROR-EXITS *****',