2390 INTEGER infot, noutc
2396 COMPLEX a( 1, 1 ), x( 1 ), y( 1 )
2402 COMMON /infoc/infot, noutc, ok, lerr
2410 GO TO ( 10, 20, 30, 40, 50, 60, 70, 80,
2411 $ 90, 100, 110, 120, 130, 140, 150, 160,
2414 CALL cgemv(
'/', 0, 0, alpha, a, 1, x, 1, beta, y, 1 )
2415 CALL chkxer( srnamt, infot, nout, lerr, ok )
2417 CALL cgemv(
'N', -1, 0, alpha, a, 1, x, 1, beta, y, 1 )
2418 CALL chkxer( srnamt, infot, nout, lerr, ok )
2420 CALL cgemv(
'N', 0, -1, alpha, a, 1, x, 1, beta, y, 1 )
2421 CALL chkxer( srnamt, infot, nout, lerr, ok )
2423 CALL cgemv(
'N', 2, 0, alpha, a, 1, x, 1, beta, y, 1 )
2424 CALL chkxer( srnamt, infot, nout, lerr, ok )
2426 CALL cgemv(
'N', 0, 0, alpha, a, 1, x, 0, beta, y, 1 )
2427 CALL chkxer( srnamt, infot, nout, lerr, ok )
2429 CALL cgemv(
'N', 0, 0, alpha, a, 1, x, 1, beta, y, 0 )
2430 CALL chkxer( srnamt, infot, nout, lerr, ok )
2433 CALL cgbmv(
'/', 0, 0, 0, 0, alpha, a, 1, x, 1, beta, y, 1 )
2434 CALL chkxer( srnamt, infot, nout, lerr, ok )
2436 CALL cgbmv(
'N', -1, 0, 0, 0, alpha, a, 1, x, 1, beta, y, 1 )
2437 CALL chkxer( srnamt, infot, nout, lerr, ok )
2439 CALL cgbmv(
'N', 0, -1, 0, 0, alpha, a, 1, x, 1, beta, y, 1 )
2440 CALL chkxer( srnamt, infot, nout, lerr, ok )
2442 CALL cgbmv(
'N', 0, 0, -1, 0, alpha, a, 1, x, 1, beta, y, 1 )
2443 CALL chkxer( srnamt, infot, nout, lerr, ok )
2445 CALL cgbmv(
'N', 2, 0, 0, -1, alpha, a, 1, x, 1, beta, y, 1 )
2446 CALL chkxer( srnamt, infot, nout, lerr, ok )
2448 CALL cgbmv(
'N', 0, 0, 1, 0, alpha, a, 1, x, 1, beta, y, 1 )
2449 CALL chkxer( srnamt, infot, nout, lerr, ok )
2451 CALL cgbmv(
'N', 0, 0, 0, 0, alpha, a, 1, x, 0, beta, y, 1 )
2452 CALL chkxer( srnamt, infot, nout, lerr, ok )
2454 CALL cgbmv(
'N', 0, 0, 0, 0, alpha, a, 1, x, 1, beta, y, 0 )
2455 CALL chkxer( srnamt, infot, nout, lerr, ok )
2458 CALL chemv(
'/', 0, alpha, a, 1, x, 1, beta, y, 1 )
2459 CALL chkxer( srnamt, infot, nout, lerr, ok )
2461 CALL chemv(
'U', -1, alpha, a, 1, x, 1, beta, y, 1 )
2462 CALL chkxer( srnamt, infot, nout, lerr, ok )
2464 CALL chemv(
'U', 2, alpha, a, 1, x, 1, beta, y, 1 )
2465 CALL chkxer( srnamt, infot, nout, lerr, ok )
2467 CALL chemv(
'U', 0, alpha, a, 1, x, 0, beta, y, 1 )
2468 CALL chkxer( srnamt, infot, nout, lerr, ok )
2470 CALL chemv(
'U', 0, alpha, a, 1, x, 1, beta, y, 0 )
2471 CALL chkxer( srnamt, infot, nout, lerr, ok )
2474 CALL chbmv(
'/', 0, 0, alpha, a, 1, x, 1, beta, y, 1 )
2475 CALL chkxer( srnamt, infot, nout, lerr, ok )
2477 CALL chbmv(
'U', -1, 0, 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, 1, alpha, a, 1, x, 1, beta, y, 1 )
2484 CALL chkxer( srnamt, infot, nout, lerr, ok )
2486 CALL chbmv(
'U', 0, 0, alpha, a, 1, x, 0, beta, y, 1 )
2487 CALL chkxer( srnamt, infot, nout, lerr, ok )
2489 CALL chbmv(
'U', 0, 0, alpha, a, 1, x, 1, beta, y, 0 )
2490 CALL chkxer( srnamt, infot, nout, lerr, ok )
2493 CALL chpmv(
'/', 0, alpha, a, x, 1, beta, y, 1 )
2494 CALL chkxer( srnamt, infot, nout, lerr, ok )
2496 CALL chpmv(
'U', -1, alpha, a, x, 1, beta, y, 1 )
2497 CALL chkxer( srnamt, infot, nout, lerr, ok )
2499 CALL chpmv(
'U', 0, alpha, a, x, 0, beta, y, 1 )
2500 CALL chkxer( srnamt, infot, nout, lerr, ok )
2502 CALL chpmv(
'U', 0, alpha, a, x, 1, beta, y, 0 )
2503 CALL chkxer( srnamt, infot, nout, lerr, ok )
2506 CALL ctrmv(
'/',
'N',
'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',
'/', 0, a, 1, x, 1 )
2513 CALL chkxer( srnamt, infot, nout, lerr, ok )
2515 CALL ctrmv(
'U',
'N',
'N', -1, a, 1, x, 1 )
2516 CALL chkxer( srnamt, infot, nout, lerr, ok )
2518 CALL ctrmv(
'U',
'N',
'N', 2, a, 1, x, 1 )
2519 CALL chkxer( srnamt, infot, nout, lerr, ok )
2521 CALL ctrmv(
'U',
'N',
'N', 0, a, 1, x, 0 )
2522 CALL chkxer( srnamt, infot, nout, lerr, ok )
2525 CALL ctbmv(
'/',
'N',
'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',
'/', 0, 0, a, 1, x, 1 )
2532 CALL chkxer( srnamt, infot, nout, lerr, ok )
2534 CALL ctbmv(
'U',
'N',
'N', -1, 0, 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, 1, a, 1, x, 1 )
2541 CALL chkxer( srnamt, infot, nout, lerr, ok )
2543 CALL ctbmv(
'U',
'N',
'N', 0, 0, a, 1, x, 0 )
2544 CALL chkxer( srnamt, infot, nout, lerr, ok )
2547 CALL ctpmv(
'/',
'N',
'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',
'/', 0, a, x, 1 )
2554 CALL chkxer( srnamt, infot, nout, lerr, ok )
2556 CALL ctpmv(
'U',
'N',
'N', -1, a, x, 1 )
2557 CALL chkxer( srnamt, infot, nout, lerr, ok )
2559 CALL ctpmv(
'U',
'N',
'N', 0, a, x, 0 )
2560 CALL chkxer( srnamt, infot, nout, lerr, ok )
2563 CALL ctrsv(
'/',
'N',
'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',
'/', 0, a, 1, x, 1 )
2570 CALL chkxer( srnamt, infot, nout, lerr, ok )
2572 CALL ctrsv(
'U',
'N',
'N', -1, a, 1, x, 1 )
2573 CALL chkxer( srnamt, infot, nout, lerr, ok )
2575 CALL ctrsv(
'U',
'N',
'N', 2, a, 1, x, 1 )
2576 CALL chkxer( srnamt, infot, nout, lerr, ok )
2578 CALL ctrsv(
'U',
'N',
'N', 0, a, 1, x, 0 )
2579 CALL chkxer( srnamt, infot, nout, lerr, ok )
2582 CALL ctbsv(
'/',
'N',
'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',
'/', 0, 0, a, 1, x, 1 )
2589 CALL chkxer( srnamt, infot, nout, lerr, ok )
2591 CALL ctbsv(
'U',
'N',
'N', -1, 0, 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, 1, a, 1, x, 1 )
2598 CALL chkxer( srnamt, infot, nout, lerr, ok )
2600 CALL ctbsv(
'U',
'N',
'N', 0, 0, a, 1, x, 0 )
2601 CALL chkxer( srnamt, infot, nout, lerr, ok )
2604 CALL ctpsv(
'/',
'N',
'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',
'/', 0, a, x, 1 )
2611 CALL chkxer( srnamt, infot, nout, lerr, ok )
2613 CALL ctpsv(
'U',
'N',
'N', -1, a, x, 1 )
2614 CALL chkxer( srnamt, infot, nout, lerr, ok )
2616 CALL ctpsv(
'U',
'N',
'N', 0, a, x, 0 )
2617 CALL chkxer( srnamt, infot, nout, lerr, ok )
2620 CALL cgerc( -1, 0, alpha, x, 1, y, 1, a, 1 )
2621 CALL chkxer( srnamt, infot, nout, lerr, ok )
2623 CALL cgerc( 0, -1, alpha, x, 1, y, 1, a, 1 )
2624 CALL chkxer( srnamt, infot, nout, lerr, ok )
2626 CALL cgerc( 0, 0, alpha, x, 0, y, 1, a, 1 )
2627 CALL chkxer( srnamt, infot, nout, lerr, ok )
2629 CALL cgerc( 0, 0, alpha, x, 1, y, 0, a, 1 )
2630 CALL chkxer( srnamt, infot, nout, lerr, ok )
2632 CALL cgerc( 2, 0, alpha, x, 1, y, 1, a, 1 )
2633 CALL chkxer( srnamt, infot, nout, lerr, ok )
2636 CALL cgeru( -1, 0, alpha, x, 1, y, 1, a, 1 )
2637 CALL chkxer( srnamt, infot, nout, lerr, ok )
2639 CALL cgeru( 0, -1, alpha, x, 1, y, 1, a, 1 )
2640 CALL chkxer( srnamt, infot, nout, lerr, ok )
2642 CALL cgeru( 0, 0, alpha, x, 0, y, 1, a, 1 )
2643 CALL chkxer( srnamt, infot, nout, lerr, ok )
2645 CALL cgeru( 0, 0, alpha, x, 1, y, 0, a, 1 )
2646 CALL chkxer( srnamt, infot, nout, lerr, ok )
2648 CALL cgeru( 2, 0, alpha, x, 1, y, 1, a, 1 )
2649 CALL chkxer( srnamt, infot, nout, lerr, ok )
2652 CALL cher(
'/', 0, ralpha, x, 1, a, 1 )
2653 CALL chkxer( srnamt, infot, nout, lerr, ok )
2655 CALL cher(
'U', -1, ralpha, x, 1, a, 1 )
2656 CALL chkxer( srnamt, infot, nout, lerr, ok )
2658 CALL cher(
'U', 0, ralpha, x, 0, a, 1 )
2659 CALL chkxer( srnamt, infot, nout, lerr, ok )
2661 CALL cher(
'U', 2, ralpha, x, 1, a, 1 )
2662 CALL chkxer( srnamt, infot, nout, lerr, ok )
2665 CALL chpr(
'/', 0, ralpha, x, 1, a )
2666 CALL chkxer( srnamt, infot, nout, lerr, ok )
2668 CALL chpr(
'U', -1, ralpha, x, 1, a )
2669 CALL chkxer( srnamt, infot, nout, lerr, ok )
2671 CALL chpr(
'U', 0, ralpha, x, 0, a )
2672 CALL chkxer( srnamt, infot, nout, lerr, ok )
2675 CALL cher2(
'/', 0, alpha, x, 1, y, 1, a, 1 )
2676 CALL chkxer( srnamt, infot, nout, lerr, ok )
2678 CALL cher2(
'U', -1, alpha, x, 1, y, 1, a, 1 )
2679 CALL chkxer( srnamt, infot, nout, lerr, ok )
2681 CALL cher2(
'U', 0, alpha, x, 0, y, 1, a, 1 )
2682 CALL chkxer( srnamt, infot, nout, lerr, ok )
2684 CALL cher2(
'U', 0, alpha, x, 1, y, 0, a, 1 )
2685 CALL chkxer( srnamt, infot, nout, lerr, ok )
2687 CALL cher2(
'U', 2, alpha, x, 1, y, 1, a, 1 )
2688 CALL chkxer( srnamt, infot, nout, lerr, ok )
2691 CALL chpr2(
'/', 0, alpha, x, 1, y, 1, a )
2692 CALL chkxer( srnamt, infot, nout, lerr, ok )
2694 CALL chpr2(
'U', -1, alpha, x, 1, y, 1, a )
2695 CALL chkxer( srnamt, infot, nout, lerr, ok )
2697 CALL chpr2(
'U', 0, alpha, x, 0, y, 1, a )
2698 CALL chkxer( srnamt, infot, nout, lerr, ok )
2700 CALL chpr2(
'U', 0, alpha, x, 1, y, 0, a )
2701 CALL chkxer( srnamt, infot, nout, lerr, ok )
2704 WRITE( nout, fmt = 9999 )srnamt
2706 WRITE( nout, fmt = 9998 )srnamt
2710 9999
FORMAT(
' ', a6,
' PASSED THE TESTS OF ERROR-EXITS' )
2711 9998
FORMAT(
' ******* ', a6,
' FAILED THE TESTS OF ERROR-EXITS *****',
subroutine ctpmv(UPLO, TRANS, DIAG, N, AP, X, INCX)
CTPMV
subroutine chbmv(UPLO, N, K, ALPHA, A, LDA, X, INCX, BETA, Y, INCY)
CHBMV
subroutine chpmv(UPLO, N, ALPHA, AP, X, INCX, BETA, Y, INCY)
CHPMV
subroutine cher(UPLO, N, ALPHA, X, INCX, A, LDA)
CHER
subroutine ctrsv(UPLO, TRANS, DIAG, N, A, LDA, X, INCX)
CTRSV
subroutine chpr(UPLO, N, ALPHA, X, INCX, AP)
CHPR
subroutine chkxer(SRNAMT, INFOT, NOUT, LERR, OK)
subroutine cgbmv(TRANS, M, N, KL, KU, ALPHA, A, LDA, X, INCX, BETA, Y, INCY)
CGBMV
subroutine cgemv(TRANS, M, N, ALPHA, A, LDA, X, INCX, BETA, Y, INCY)
CGEMV
subroutine cgerc(M, N, ALPHA, X, INCX, Y, INCY, A, LDA)
CGERC
subroutine ctbmv(UPLO, TRANS, DIAG, N, K, A, LDA, X, INCX)
CTBMV
subroutine chpr2(UPLO, N, ALPHA, X, INCX, Y, INCY, AP)
CHPR2
subroutine ctrmv(UPLO, TRANS, DIAG, N, A, LDA, X, INCX)
CTRMV
subroutine chemv(UPLO, N, ALPHA, A, LDA, X, INCX, BETA, Y, INCY)
CHEMV
subroutine cher2(UPLO, N, ALPHA, X, INCX, Y, INCY, A, LDA)
CHER2
subroutine ctpsv(UPLO, TRANS, DIAG, N, AP, X, INCX)
CTPSV
subroutine ctbsv(UPLO, TRANS, DIAG, N, K, A, LDA, X, INCX)
CTBSV
subroutine cgeru(M, N, ALPHA, X, INCX, Y, INCY, A, LDA)
CGERU