2387 INTEGER INFOT, NOUTC
2393 COMPLEX A( 1, 1 ), X( 1 ), Y( 1 )
2399 COMMON /infoc/infot, noutc, ok, lerr
2407 GO TO ( 10, 20, 30, 40, 50, 60, 70, 80,
2408 $ 90, 100, 110, 120, 130, 140, 150, 160,
2411 CALL cgemv(
'/', 0, 0, alpha, a, 1, x, 1, beta, y, 1 )
2412 CALL chkxer( srnamt, infot, nout, lerr, ok )
2414 CALL cgemv(
'N', -1, 0, alpha, a, 1, x, 1, beta, y, 1 )
2415 CALL chkxer( srnamt, infot, nout, lerr, ok )
2417 CALL cgemv(
'N', 0, -1, alpha, a, 1, x, 1, beta, y, 1 )
2418 CALL chkxer( srnamt, infot, nout, lerr, ok )
2420 CALL cgemv(
'N', 2, 0, alpha, a, 1, x, 1, beta, y, 1 )
2421 CALL chkxer( srnamt, infot, nout, lerr, ok )
2423 CALL cgemv(
'N', 0, 0, alpha, a, 1, x, 0, beta, y, 1 )
2424 CALL chkxer( srnamt, infot, nout, lerr, ok )
2426 CALL cgemv(
'N', 0, 0, alpha, a, 1, x, 1, beta, y, 0 )
2427 CALL chkxer( srnamt, infot, nout, lerr, ok )
2430 CALL cgbmv(
'/', 0, 0, 0, 0, alpha, a, 1, x, 1, beta, y, 1 )
2431 CALL chkxer( srnamt, infot, nout, lerr, ok )
2433 CALL cgbmv(
'N', -1, 0, 0, 0, alpha, a, 1, x, 1, beta, y, 1 )
2434 CALL chkxer( srnamt, infot, nout, lerr, ok )
2436 CALL cgbmv(
'N', 0, -1, 0, 0, alpha, a, 1, x, 1, beta, y, 1 )
2437 CALL chkxer( srnamt, infot, nout, lerr, ok )
2439 CALL cgbmv(
'N', 0, 0, -1, 0, alpha, a, 1, x, 1, beta, y, 1 )
2440 CALL chkxer( srnamt, infot, nout, lerr, ok )
2442 CALL cgbmv(
'N', 2, 0, 0, -1, alpha, a, 1, x, 1, beta, y, 1 )
2443 CALL chkxer( srnamt, infot, nout, lerr, ok )
2445 CALL cgbmv(
'N', 0, 0, 1, 0, alpha, a, 1, x, 1, beta, y, 1 )
2446 CALL chkxer( srnamt, infot, nout, lerr, ok )
2448 CALL cgbmv(
'N', 0, 0, 0, 0, alpha, a, 1, x, 0, beta, y, 1 )
2449 CALL chkxer( srnamt, infot, nout, lerr, ok )
2451 CALL cgbmv(
'N', 0, 0, 0, 0, alpha, a, 1, x, 1, beta, y, 0 )
2452 CALL chkxer( srnamt, infot, nout, lerr, ok )
2455 CALL chemv(
'/', 0, alpha, a, 1, x, 1, beta, y, 1 )
2456 CALL chkxer( srnamt, infot, nout, lerr, ok )
2458 CALL chemv(
'U', -1, alpha, a, 1, x, 1, beta, y, 1 )
2459 CALL chkxer( srnamt, infot, nout, lerr, ok )
2461 CALL chemv(
'U', 2, alpha, a, 1, x, 1, beta, y, 1 )
2462 CALL chkxer( srnamt, infot, nout, lerr, ok )
2464 CALL chemv(
'U', 0, alpha, a, 1, x, 0, beta, y, 1 )
2465 CALL chkxer( srnamt, infot, nout, lerr, ok )
2467 CALL chemv(
'U', 0, alpha, a, 1, x, 1, beta, y, 0 )
2468 CALL chkxer( srnamt, infot, nout, lerr, ok )
2471 CALL chbmv(
'/', 0, 0, alpha, a, 1, x, 1, beta, y, 1 )
2472 CALL chkxer( srnamt, infot, nout, lerr, ok )
2474 CALL chbmv(
'U', -1, 0, alpha, a, 1, x, 1, beta, y, 1 )
2475 CALL chkxer( srnamt, infot, nout, lerr, ok )
2477 CALL chbmv(
'U', 0, -1, alpha, a, 1, x, 1, beta, y, 1 )
2478 CALL chkxer( srnamt, infot, nout, lerr, ok )
2480 CALL chbmv(
'U', 0, 1, alpha, a, 1, x, 1, beta, y, 1 )
2481 CALL chkxer( srnamt, infot, nout, lerr, ok )
2483 CALL chbmv(
'U', 0, 0, alpha, a, 1, x, 0, beta, y, 1 )
2484 CALL chkxer( srnamt, infot, nout, lerr, ok )
2486 CALL chbmv(
'U', 0, 0, alpha, a, 1, x, 1, beta, y, 0 )
2487 CALL chkxer( srnamt, infot, nout, lerr, ok )
2490 CALL chpmv(
'/', 0, alpha, a, x, 1, beta, y, 1 )
2491 CALL chkxer( srnamt, infot, nout, lerr, ok )
2493 CALL chpmv(
'U', -1, alpha, a, x, 1, beta, y, 1 )
2494 CALL chkxer( srnamt, infot, nout, lerr, ok )
2496 CALL chpmv(
'U', 0, alpha, a, x, 0, beta, y, 1 )
2497 CALL chkxer( srnamt, infot, nout, lerr, ok )
2499 CALL chpmv(
'U', 0, alpha, a, x, 1, beta, y, 0 )
2500 CALL chkxer( srnamt, infot, nout, lerr, ok )
2503 CALL ctrmv(
'/',
'N',
'N', 0, a, 1, x, 1 )
2504 CALL chkxer( srnamt, infot, nout, lerr, ok )
2506 CALL ctrmv(
'U',
'/',
'N', 0, a, 1, x, 1 )
2507 CALL chkxer( srnamt, infot, nout, lerr, ok )
2509 CALL ctrmv(
'U',
'N',
'/', 0, a, 1, x, 1 )
2510 CALL chkxer( srnamt, infot, nout, lerr, ok )
2512 CALL ctrmv(
'U',
'N',
'N', -1, a, 1, x, 1 )
2513 CALL chkxer( srnamt, infot, nout, lerr, ok )
2515 CALL ctrmv(
'U',
'N',
'N', 2, a, 1, x, 1 )
2516 CALL chkxer( srnamt, infot, nout, lerr, ok )
2518 CALL ctrmv(
'U',
'N',
'N', 0, a, 1, x, 0 )
2519 CALL chkxer( srnamt, infot, nout, lerr, ok )
2522 CALL ctbmv(
'/',
'N',
'N', 0, 0, a, 1, x, 1 )
2523 CALL chkxer( srnamt, infot, nout, lerr, ok )
2525 CALL ctbmv(
'U',
'/',
'N', 0, 0, a, 1, x, 1 )
2526 CALL chkxer( srnamt, infot, nout, lerr, ok )
2528 CALL ctbmv(
'U',
'N',
'/', 0, 0, a, 1, x, 1 )
2529 CALL chkxer( srnamt, infot, nout, lerr, ok )
2531 CALL ctbmv(
'U',
'N',
'N', -1, 0, a, 1, x, 1 )
2532 CALL chkxer( srnamt, infot, nout, lerr, ok )
2534 CALL ctbmv(
'U',
'N',
'N', 0, -1, a, 1, x, 1 )
2535 CALL chkxer( srnamt, infot, nout, lerr, ok )
2537 CALL ctbmv(
'U',
'N',
'N', 0, 1, a, 1, x, 1 )
2538 CALL chkxer( srnamt, infot, nout, lerr, ok )
2540 CALL ctbmv(
'U',
'N',
'N', 0, 0, a, 1, x, 0 )
2541 CALL chkxer( srnamt, infot, nout, lerr, ok )
2544 CALL ctpmv(
'/',
'N',
'N', 0, a, x, 1 )
2545 CALL chkxer( srnamt, infot, nout, lerr, ok )
2547 CALL ctpmv(
'U',
'/',
'N', 0, a, x, 1 )
2548 CALL chkxer( srnamt, infot, nout, lerr, ok )
2550 CALL ctpmv(
'U',
'N',
'/', 0, a, x, 1 )
2551 CALL chkxer( srnamt, infot, nout, lerr, ok )
2553 CALL ctpmv(
'U',
'N',
'N', -1, a, x, 1 )
2554 CALL chkxer( srnamt, infot, nout, lerr, ok )
2556 CALL ctpmv(
'U',
'N',
'N', 0, a, x, 0 )
2557 CALL chkxer( srnamt, infot, nout, lerr, ok )
2560 CALL ctrsv(
'/',
'N',
'N', 0, a, 1, x, 1 )
2561 CALL chkxer( srnamt, infot, nout, lerr, ok )
2563 CALL ctrsv(
'U',
'/',
'N', 0, a, 1, x, 1 )
2564 CALL chkxer( srnamt, infot, nout, lerr, ok )
2566 CALL ctrsv(
'U',
'N',
'/', 0, a, 1, x, 1 )
2567 CALL chkxer( srnamt, infot, nout, lerr, ok )
2569 CALL ctrsv(
'U',
'N',
'N', -1, a, 1, x, 1 )
2570 CALL chkxer( srnamt, infot, nout, lerr, ok )
2572 CALL ctrsv(
'U',
'N',
'N', 2, a, 1, x, 1 )
2573 CALL chkxer( srnamt, infot, nout, lerr, ok )
2575 CALL ctrsv(
'U',
'N',
'N', 0, a, 1, x, 0 )
2576 CALL chkxer( srnamt, infot, nout, lerr, ok )
2579 CALL ctbsv(
'/',
'N',
'N', 0, 0, a, 1, x, 1 )
2580 CALL chkxer( srnamt, infot, nout, lerr, ok )
2582 CALL ctbsv(
'U',
'/',
'N', 0, 0, a, 1, x, 1 )
2583 CALL chkxer( srnamt, infot, nout, lerr, ok )
2585 CALL ctbsv(
'U',
'N',
'/', 0, 0, a, 1, x, 1 )
2586 CALL chkxer( srnamt, infot, nout, lerr, ok )
2588 CALL ctbsv(
'U',
'N',
'N', -1, 0, a, 1, x, 1 )
2589 CALL chkxer( srnamt, infot, nout, lerr, ok )
2591 CALL ctbsv(
'U',
'N',
'N', 0, -1, a, 1, x, 1 )
2592 CALL chkxer( srnamt, infot, nout, lerr, ok )
2594 CALL ctbsv(
'U',
'N',
'N', 0, 1, a, 1, x, 1 )
2595 CALL chkxer( srnamt, infot, nout, lerr, ok )
2597 CALL ctbsv(
'U',
'N',
'N', 0, 0, a, 1, x, 0 )
2598 CALL chkxer( srnamt, infot, nout, lerr, ok )
2601 CALL ctpsv(
'/',
'N',
'N', 0, a, x, 1 )
2602 CALL chkxer( srnamt, infot, nout, lerr, ok )
2604 CALL ctpsv(
'U',
'/',
'N', 0, a, x, 1 )
2605 CALL chkxer( srnamt, infot, nout, lerr, ok )
2607 CALL ctpsv(
'U',
'N',
'/', 0, a, x, 1 )
2608 CALL chkxer( srnamt, infot, nout, lerr, ok )
2610 CALL ctpsv(
'U',
'N',
'N', -1, a, x, 1 )
2611 CALL chkxer( srnamt, infot, nout, lerr, ok )
2613 CALL ctpsv(
'U',
'N',
'N', 0, a, x, 0 )
2614 CALL chkxer( srnamt, infot, nout, lerr, ok )
2617 CALL cgerc( -1, 0, alpha, x, 1, y, 1, a, 1 )
2618 CALL chkxer( srnamt, infot, nout, lerr, ok )
2620 CALL cgerc( 0, -1, alpha, x, 1, y, 1, a, 1 )
2621 CALL chkxer( srnamt, infot, nout, lerr, ok )
2623 CALL cgerc( 0, 0, alpha, x, 0, y, 1, a, 1 )
2624 CALL chkxer( srnamt, infot, nout, lerr, ok )
2626 CALL cgerc( 0, 0, alpha, x, 1, y, 0, a, 1 )
2627 CALL chkxer( srnamt, infot, nout, lerr, ok )
2629 CALL cgerc( 2, 0, alpha, x, 1, y, 1, a, 1 )
2630 CALL chkxer( srnamt, infot, nout, lerr, ok )
2633 CALL cgeru( -1, 0, alpha, x, 1, y, 1, a, 1 )
2634 CALL chkxer( srnamt, infot, nout, lerr, ok )
2636 CALL cgeru( 0, -1, alpha, x, 1, y, 1, a, 1 )
2637 CALL chkxer( srnamt, infot, nout, lerr, ok )
2639 CALL cgeru( 0, 0, alpha, x, 0, y, 1, a, 1 )
2640 CALL chkxer( srnamt, infot, nout, lerr, ok )
2642 CALL cgeru( 0, 0, alpha, x, 1, y, 0, a, 1 )
2643 CALL chkxer( srnamt, infot, nout, lerr, ok )
2645 CALL cgeru( 2, 0, alpha, x, 1, y, 1, a, 1 )
2646 CALL chkxer( srnamt, infot, nout, lerr, ok )
2649 CALL cher(
'/', 0, ralpha, x, 1, a, 1 )
2650 CALL chkxer( srnamt, infot, nout, lerr, ok )
2652 CALL cher(
'U', -1, ralpha, x, 1, a, 1 )
2653 CALL chkxer( srnamt, infot, nout, lerr, ok )
2655 CALL cher(
'U', 0, ralpha, x, 0, a, 1 )
2656 CALL chkxer( srnamt, infot, nout, lerr, ok )
2658 CALL cher(
'U', 2, ralpha, x, 1, a, 1 )
2659 CALL chkxer( srnamt, infot, nout, lerr, ok )
2662 CALL chpr(
'/', 0, ralpha, x, 1, a )
2663 CALL chkxer( srnamt, infot, nout, lerr, ok )
2665 CALL chpr(
'U', -1, ralpha, x, 1, a )
2666 CALL chkxer( srnamt, infot, nout, lerr, ok )
2668 CALL chpr(
'U', 0, ralpha, x, 0, a )
2669 CALL chkxer( srnamt, infot, nout, lerr, ok )
2672 CALL cher2(
'/', 0, alpha, x, 1, y, 1, a, 1 )
2673 CALL chkxer( srnamt, infot, nout, lerr, ok )
2675 CALL cher2(
'U', -1, alpha, x, 1, y, 1, a, 1 )
2676 CALL chkxer( srnamt, infot, nout, lerr, ok )
2678 CALL cher2(
'U', 0, alpha, x, 0, y, 1, a, 1 )
2679 CALL chkxer( srnamt, infot, nout, lerr, ok )
2681 CALL cher2(
'U', 0, alpha, x, 1, y, 0, a, 1 )
2682 CALL chkxer( srnamt, infot, nout, lerr, ok )
2684 CALL cher2(
'U', 2, alpha, x, 1, y, 1, a, 1 )
2685 CALL chkxer( srnamt, infot, nout, lerr, ok )
2688 CALL chpr2(
'/', 0, alpha, x, 1, y, 1, a )
2689 CALL chkxer( srnamt, infot, nout, lerr, ok )
2691 CALL chpr2(
'U', -1, alpha, x, 1, y, 1, a )
2692 CALL chkxer( srnamt, infot, nout, lerr, ok )
2694 CALL chpr2(
'U', 0, alpha, x, 0, y, 1, a )
2695 CALL chkxer( srnamt, infot, nout, lerr, ok )
2697 CALL chpr2(
'U', 0, alpha, x, 1, y, 0, a )
2698 CALL chkxer( srnamt, infot, nout, lerr, ok )
2701 WRITE( nout, fmt = 9999 )srnamt
2703 WRITE( nout, fmt = 9998 )srnamt
2707 9999
FORMAT(
' ', a6,
' PASSED THE TESTS OF ERROR-EXITS' )
2708 9998
FORMAT(
' ******* ', a6,
' FAILED THE TESTS OF ERROR-EXITS *****',
subroutine chkxer(SRNAMT, INFOT, NOUT, LERR, OK)
subroutine cgemv(TRANS, M, N, ALPHA, A, LDA, X, INCX, BETA, Y, INCY)
CGEMV
subroutine ctpsv(UPLO, TRANS, DIAG, N, AP, X, INCX)
CTPSV
subroutine ctbmv(UPLO, TRANS, DIAG, N, K, A, LDA, X, INCX)
CTBMV
subroutine cgerc(M, N, ALPHA, X, INCX, Y, INCY, A, LDA)
CGERC
subroutine ctrsv(UPLO, TRANS, DIAG, N, A, LDA, X, INCX)
CTRSV
subroutine chbmv(UPLO, N, K, ALPHA, A, LDA, X, INCX, BETA, Y, INCY)
CHBMV
subroutine ctbsv(UPLO, TRANS, DIAG, N, K, A, LDA, X, INCX)
CTBSV
subroutine cgbmv(TRANS, M, N, KL, KU, ALPHA, A, LDA, X, INCX, BETA, Y, INCY)
CGBMV
subroutine chpr2(UPLO, N, ALPHA, X, INCX, Y, INCY, AP)
CHPR2
subroutine ctrmv(UPLO, TRANS, DIAG, N, A, LDA, X, INCX)
CTRMV
subroutine cher2(UPLO, N, ALPHA, X, INCX, Y, INCY, A, LDA)
CHER2
subroutine cgeru(M, N, ALPHA, X, INCX, Y, INCY, A, LDA)
CGERU
subroutine chemv(UPLO, N, ALPHA, A, LDA, X, INCX, BETA, Y, INCY)
CHEMV
subroutine chpr(UPLO, N, ALPHA, X, INCX, AP)
CHPR
subroutine chpmv(UPLO, N, ALPHA, AP, X, INCX, BETA, Y, INCY)
CHPMV
subroutine cher(UPLO, N, ALPHA, X, INCX, A, LDA)
CHER
subroutine ctpmv(UPLO, TRANS, DIAG, N, AP, X, INCX)
CTPMV