2341 INTEGER infot, noutc
2346 REAL a( 1, 1 ), x( 1 ), y( 1 )
2352 COMMON /infoc/infot, noutc, ok, lerr
2360 GO TO ( 10, 20, 30, 40, 50, 60, 70, 80,
2361 $ 90, 100, 110, 120, 130, 140, 150,
2364 CALL sgemv(
'/', 0, 0, alpha, a, 1, x, 1, beta, y, 1 )
2365 CALL chkxer( srnamt, infot, nout, lerr, ok )
2367 CALL sgemv(
'N', -1, 0, alpha, a, 1, x, 1, beta, y, 1 )
2368 CALL chkxer( srnamt, infot, nout, lerr, ok )
2370 CALL sgemv(
'N', 0, -1, alpha, a, 1, x, 1, beta, y, 1 )
2371 CALL chkxer( srnamt, infot, nout, lerr, ok )
2373 CALL sgemv(
'N', 2, 0, alpha, a, 1, x, 1, beta, y, 1 )
2374 CALL chkxer( srnamt, infot, nout, lerr, ok )
2376 CALL sgemv(
'N', 0, 0, alpha, a, 1, x, 0, beta, y, 1 )
2377 CALL chkxer( srnamt, infot, nout, lerr, ok )
2379 CALL sgemv(
'N', 0, 0, alpha, a, 1, x, 1, beta, y, 0 )
2380 CALL chkxer( srnamt, infot, nout, lerr, ok )
2383 CALL sgbmv(
'/', 0, 0, 0, 0, alpha, a, 1, x, 1, beta, y, 1 )
2384 CALL chkxer( srnamt, infot, nout, lerr, ok )
2386 CALL sgbmv(
'N', -1, 0, 0, 0, alpha, a, 1, x, 1, beta, y, 1 )
2387 CALL chkxer( srnamt, infot, nout, lerr, ok )
2389 CALL sgbmv(
'N', 0, -1, 0, 0, alpha, a, 1, x, 1, beta, y, 1 )
2390 CALL chkxer( srnamt, infot, nout, lerr, ok )
2392 CALL sgbmv(
'N', 0, 0, -1, 0, alpha, a, 1, x, 1, beta, y, 1 )
2393 CALL chkxer( srnamt, infot, nout, lerr, ok )
2395 CALL sgbmv(
'N', 2, 0, 0, -1, alpha, a, 1, x, 1, beta, y, 1 )
2396 CALL chkxer( srnamt, infot, nout, lerr, ok )
2398 CALL sgbmv(
'N', 0, 0, 1, 0, alpha, a, 1, x, 1, beta, y, 1 )
2399 CALL chkxer( srnamt, infot, nout, lerr, ok )
2401 CALL sgbmv(
'N', 0, 0, 0, 0, alpha, a, 1, x, 0, beta, y, 1 )
2402 CALL chkxer( srnamt, infot, nout, lerr, ok )
2404 CALL sgbmv(
'N', 0, 0, 0, 0, alpha, a, 1, x, 1, beta, y, 0 )
2405 CALL chkxer( srnamt, infot, nout, lerr, ok )
2408 CALL ssymv(
'/', 0, alpha, a, 1, x, 1, beta, y, 1 )
2409 CALL chkxer( srnamt, infot, nout, lerr, ok )
2411 CALL ssymv(
'U', -1, alpha, a, 1, x, 1, beta, y, 1 )
2412 CALL chkxer( srnamt, infot, nout, lerr, ok )
2414 CALL ssymv(
'U', 2, alpha, a, 1, x, 1, beta, y, 1 )
2415 CALL chkxer( srnamt, infot, nout, lerr, ok )
2417 CALL ssymv(
'U', 0, alpha, a, 1, x, 0, beta, y, 1 )
2418 CALL chkxer( srnamt, infot, nout, lerr, ok )
2420 CALL ssymv(
'U', 0, alpha, a, 1, x, 1, beta, y, 0 )
2421 CALL chkxer( srnamt, infot, nout, lerr, ok )
2424 CALL ssbmv(
'/', 0, 0, alpha, a, 1, x, 1, beta, y, 1 )
2425 CALL chkxer( srnamt, infot, nout, lerr, ok )
2427 CALL ssbmv(
'U', -1, 0, alpha, a, 1, x, 1, beta, y, 1 )
2428 CALL chkxer( srnamt, infot, nout, lerr, ok )
2430 CALL ssbmv(
'U', 0, -1, alpha, a, 1, x, 1, beta, y, 1 )
2431 CALL chkxer( srnamt, infot, nout, lerr, ok )
2433 CALL ssbmv(
'U', 0, 1, alpha, a, 1, x, 1, beta, y, 1 )
2434 CALL chkxer( srnamt, infot, nout, lerr, ok )
2436 CALL ssbmv(
'U', 0, 0, alpha, a, 1, x, 0, beta, y, 1 )
2437 CALL chkxer( srnamt, infot, nout, lerr, ok )
2439 CALL ssbmv(
'U', 0, 0, alpha, a, 1, x, 1, beta, y, 0 )
2440 CALL chkxer( srnamt, infot, nout, lerr, ok )
2443 CALL sspmv(
'/', 0, alpha, a, x, 1, beta, y, 1 )
2444 CALL chkxer( srnamt, infot, nout, lerr, ok )
2446 CALL sspmv(
'U', -1, alpha, a, x, 1, beta, y, 1 )
2447 CALL chkxer( srnamt, infot, nout, lerr, ok )
2449 CALL sspmv(
'U', 0, alpha, a, x, 0, beta, y, 1 )
2450 CALL chkxer( srnamt, infot, nout, lerr, ok )
2452 CALL sspmv(
'U', 0, alpha, a, x, 1, beta, y, 0 )
2453 CALL chkxer( srnamt, infot, nout, lerr, ok )
2456 CALL strmv(
'/',
'N',
'N', 0, a, 1, x, 1 )
2457 CALL chkxer( srnamt, infot, nout, lerr, ok )
2459 CALL strmv(
'U',
'/',
'N', 0, a, 1, x, 1 )
2460 CALL chkxer( srnamt, infot, nout, lerr, ok )
2462 CALL strmv(
'U',
'N',
'/', 0, a, 1, x, 1 )
2463 CALL chkxer( srnamt, infot, nout, lerr, ok )
2465 CALL strmv(
'U',
'N',
'N', -1, a, 1, x, 1 )
2466 CALL chkxer( srnamt, infot, nout, lerr, ok )
2468 CALL strmv(
'U',
'N',
'N', 2, a, 1, x, 1 )
2469 CALL chkxer( srnamt, infot, nout, lerr, ok )
2471 CALL strmv(
'U',
'N',
'N', 0, a, 1, x, 0 )
2472 CALL chkxer( srnamt, infot, nout, lerr, ok )
2475 CALL stbmv(
'/',
'N',
'N', 0, 0, a, 1, x, 1 )
2476 CALL chkxer( srnamt, infot, nout, lerr, ok )
2478 CALL stbmv(
'U',
'/',
'N', 0, 0, a, 1, x, 1 )
2479 CALL chkxer( srnamt, infot, nout, lerr, ok )
2481 CALL stbmv(
'U',
'N',
'/', 0, 0, a, 1, x, 1 )
2482 CALL chkxer( srnamt, infot, nout, lerr, ok )
2484 CALL stbmv(
'U',
'N',
'N', -1, 0, a, 1, x, 1 )
2485 CALL chkxer( srnamt, infot, nout, lerr, ok )
2487 CALL stbmv(
'U',
'N',
'N', 0, -1, a, 1, x, 1 )
2488 CALL chkxer( srnamt, infot, nout, lerr, ok )
2490 CALL stbmv(
'U',
'N',
'N', 0, 1, a, 1, x, 1 )
2491 CALL chkxer( srnamt, infot, nout, lerr, ok )
2493 CALL stbmv(
'U',
'N',
'N', 0, 0, a, 1, x, 0 )
2494 CALL chkxer( srnamt, infot, nout, lerr, ok )
2497 CALL stpmv(
'/',
'N',
'N', 0, a, x, 1 )
2498 CALL chkxer( srnamt, infot, nout, lerr, ok )
2500 CALL stpmv(
'U',
'/',
'N', 0, a, x, 1 )
2501 CALL chkxer( srnamt, infot, nout, lerr, ok )
2503 CALL stpmv(
'U',
'N',
'/', 0, a, x, 1 )
2504 CALL chkxer( srnamt, infot, nout, lerr, ok )
2506 CALL stpmv(
'U',
'N',
'N', -1, a, x, 1 )
2507 CALL chkxer( srnamt, infot, nout, lerr, ok )
2509 CALL stpmv(
'U',
'N',
'N', 0, a, x, 0 )
2510 CALL chkxer( srnamt, infot, nout, lerr, ok )
2513 CALL strsv(
'/',
'N',
'N', 0, a, 1, x, 1 )
2514 CALL chkxer( srnamt, infot, nout, lerr, ok )
2516 CALL strsv(
'U',
'/',
'N', 0, a, 1, x, 1 )
2517 CALL chkxer( srnamt, infot, nout, lerr, ok )
2519 CALL strsv(
'U',
'N',
'/', 0, a, 1, x, 1 )
2520 CALL chkxer( srnamt, infot, nout, lerr, ok )
2522 CALL strsv(
'U',
'N',
'N', -1, a, 1, x, 1 )
2523 CALL chkxer( srnamt, infot, nout, lerr, ok )
2525 CALL strsv(
'U',
'N',
'N', 2, a, 1, x, 1 )
2526 CALL chkxer( srnamt, infot, nout, lerr, ok )
2528 CALL strsv(
'U',
'N',
'N', 0, a, 1, x, 0 )
2529 CALL chkxer( srnamt, infot, nout, lerr, ok )
2532 CALL stbsv(
'/',
'N',
'N', 0, 0, a, 1, x, 1 )
2533 CALL chkxer( srnamt, infot, nout, lerr, ok )
2535 CALL stbsv(
'U',
'/',
'N', 0, 0, a, 1, x, 1 )
2536 CALL chkxer( srnamt, infot, nout, lerr, ok )
2538 CALL stbsv(
'U',
'N',
'/', 0, 0, a, 1, x, 1 )
2539 CALL chkxer( srnamt, infot, nout, lerr, ok )
2541 CALL stbsv(
'U',
'N',
'N', -1, 0, a, 1, x, 1 )
2542 CALL chkxer( srnamt, infot, nout, lerr, ok )
2544 CALL stbsv(
'U',
'N',
'N', 0, -1, a, 1, x, 1 )
2545 CALL chkxer( srnamt, infot, nout, lerr, ok )
2547 CALL stbsv(
'U',
'N',
'N', 0, 1, a, 1, x, 1 )
2548 CALL chkxer( srnamt, infot, nout, lerr, ok )
2550 CALL stbsv(
'U',
'N',
'N', 0, 0, a, 1, x, 0 )
2551 CALL chkxer( srnamt, infot, nout, lerr, ok )
2554 CALL stpsv(
'/',
'N',
'N', 0, a, x, 1 )
2555 CALL chkxer( srnamt, infot, nout, lerr, ok )
2557 CALL stpsv(
'U',
'/',
'N', 0, a, x, 1 )
2558 CALL chkxer( srnamt, infot, nout, lerr, ok )
2560 CALL stpsv(
'U',
'N',
'/', 0, a, x, 1 )
2561 CALL chkxer( srnamt, infot, nout, lerr, ok )
2563 CALL stpsv(
'U',
'N',
'N', -1, a, x, 1 )
2564 CALL chkxer( srnamt, infot, nout, lerr, ok )
2566 CALL stpsv(
'U',
'N',
'N', 0, a, x, 0 )
2567 CALL chkxer( srnamt, infot, nout, lerr, ok )
2570 CALL sger( -1, 0, alpha, x, 1, y, 1, a, 1 )
2571 CALL chkxer( srnamt, infot, nout, lerr, ok )
2573 CALL sger( 0, -1, alpha, x, 1, y, 1, a, 1 )
2574 CALL chkxer( srnamt, infot, nout, lerr, ok )
2576 CALL sger( 0, 0, alpha, x, 0, y, 1, a, 1 )
2577 CALL chkxer( srnamt, infot, nout, lerr, ok )
2579 CALL sger( 0, 0, alpha, x, 1, y, 0, a, 1 )
2580 CALL chkxer( srnamt, infot, nout, lerr, ok )
2582 CALL sger( 2, 0, alpha, x, 1, y, 1, a, 1 )
2583 CALL chkxer( srnamt, infot, nout, lerr, ok )
2586 CALL ssyr(
'/', 0, alpha, x, 1, a, 1 )
2587 CALL chkxer( srnamt, infot, nout, lerr, ok )
2589 CALL ssyr(
'U', -1, alpha, x, 1, a, 1 )
2590 CALL chkxer( srnamt, infot, nout, lerr, ok )
2592 CALL ssyr(
'U', 0, alpha, x, 0, a, 1 )
2593 CALL chkxer( srnamt, infot, nout, lerr, ok )
2595 CALL ssyr(
'U', 2, alpha, x, 1, a, 1 )
2596 CALL chkxer( srnamt, infot, nout, lerr, ok )
2599 CALL sspr(
'/', 0, alpha, x, 1, a )
2600 CALL chkxer( srnamt, infot, nout, lerr, ok )
2602 CALL sspr(
'U', -1, alpha, x, 1, a )
2603 CALL chkxer( srnamt, infot, nout, lerr, ok )
2605 CALL sspr(
'U', 0, alpha, x, 0, a )
2606 CALL chkxer( srnamt, infot, nout, lerr, ok )
2609 CALL ssyr2(
'/', 0, alpha, x, 1, y, 1, a, 1 )
2610 CALL chkxer( srnamt, infot, nout, lerr, ok )
2612 CALL ssyr2(
'U', -1, alpha, x, 1, y, 1, a, 1 )
2613 CALL chkxer( srnamt, infot, nout, lerr, ok )
2615 CALL ssyr2(
'U', 0, alpha, x, 0, y, 1, a, 1 )
2616 CALL chkxer( srnamt, infot, nout, lerr, ok )
2618 CALL ssyr2(
'U', 0, alpha, x, 1, y, 0, a, 1 )
2619 CALL chkxer( srnamt, infot, nout, lerr, ok )
2621 CALL ssyr2(
'U', 2, alpha, x, 1, y, 1, a, 1 )
2622 CALL chkxer( srnamt, infot, nout, lerr, ok )
2625 CALL sspr2(
'/', 0, alpha, x, 1, y, 1, a )
2626 CALL chkxer( srnamt, infot, nout, lerr, ok )
2628 CALL sspr2(
'U', -1, alpha, x, 1, y, 1, a )
2629 CALL chkxer( srnamt, infot, nout, lerr, ok )
2631 CALL sspr2(
'U', 0, alpha, x, 0, y, 1, a )
2632 CALL chkxer( srnamt, infot, nout, lerr, ok )
2634 CALL sspr2(
'U', 0, alpha, x, 1, y, 0, a )
2635 CALL chkxer( srnamt, infot, nout, lerr, ok )
2638 WRITE( nout, fmt = 9999 )srnamt
2640 WRITE( nout, fmt = 9998 )srnamt
2644 9999
FORMAT(
' ', a6,
' PASSED THE TESTS OF ERROR-EXITS' )
2645 9998
FORMAT(
' ******* ', a6,
' FAILED THE TESTS OF ERROR-EXITS *****',
subroutine sspr2(UPLO, N, ALPHA, X, INCX, Y, INCY, AP)
SSPR2
subroutine sspmv(UPLO, N, ALPHA, AP, X, INCX, BETA, Y, INCY)
SSPMV
subroutine ssbmv(UPLO, N, K, ALPHA, A, LDA, X, INCX, BETA, Y, INCY)
SSBMV
subroutine ssyr2(UPLO, N, ALPHA, X, INCX, Y, INCY, A, LDA)
SSYR2
subroutine sger(M, N, ALPHA, X, INCX, Y, INCY, A, LDA)
SGER
subroutine stpmv(UPLO, TRANS, DIAG, N, AP, X, INCX)
STPMV
subroutine sgbmv(TRANS, M, N, KL, KU, ALPHA, A, LDA, X, INCX, BETA, Y, INCY)
SGBMV
subroutine sgemv(TRANS, M, N, ALPHA, A, LDA, X, INCX, BETA, Y, INCY)
SGEMV
subroutine chkxer(SRNAMT, INFOT, NOUT, LERR, OK)
subroutine stbmv(UPLO, TRANS, DIAG, N, K, A, LDA, X, INCX)
STBMV
subroutine strmv(UPLO, TRANS, DIAG, N, A, LDA, X, INCX)
STRMV
subroutine strsv(UPLO, TRANS, DIAG, N, A, LDA, X, INCX)
STRSV
subroutine stpsv(UPLO, TRANS, DIAG, N, AP, X, INCX)
STPSV
subroutine stbsv(UPLO, TRANS, DIAG, N, K, A, LDA, X, INCX)
STBSV
subroutine ssyr(UPLO, N, ALPHA, X, INCX, A, LDA)
SSYR
subroutine sspr(UPLO, N, ALPHA, X, INCX, AP)
SSPR
subroutine ssymv(UPLO, N, ALPHA, A, LDA, X, INCX, BETA, Y, INCY)
SSYMV