NAME

ssbmv - perform the matrix-vector operation y := alpha*A*x + beta*y


SYNOPSIS

  SUBROUTINE SSBMV( UPLO, N, NDIAG, ALPHA, A, LDA, X, INCX, BETA, Y, 
 *      INCY)
  CHARACTER * 1 UPLO
  INTEGER N, NDIAG, LDA, INCX, INCY
  REAL ALPHA, BETA
  REAL A(LDA,*), X(*), Y(*)
  SUBROUTINE SSBMV_64( UPLO, N, NDIAG, ALPHA, A, LDA, X, INCX, BETA, 
 *      Y, INCY)
  CHARACTER * 1 UPLO
  INTEGER*8 N, NDIAG, LDA, INCX, INCY
  REAL ALPHA, BETA
  REAL A(LDA,*), X(*), Y(*)

F95 INTERFACE

  SUBROUTINE SBMV( UPLO, [N], NDIAG, ALPHA, A, [LDA], X, [INCX], BETA, 
 *       Y, [INCY])
  CHARACTER(LEN=1) :: UPLO
  INTEGER :: N, NDIAG, LDA, INCX, INCY
  REAL :: ALPHA, BETA
  REAL, DIMENSION(:) :: X, Y
  REAL, DIMENSION(:,:) :: A
  SUBROUTINE SBMV_64( UPLO, [N], NDIAG, ALPHA, A, [LDA], X, [INCX], 
 *       BETA, Y, [INCY])
  CHARACTER(LEN=1) :: UPLO
  INTEGER(8) :: N, NDIAG, LDA, INCX, INCY
  REAL :: ALPHA, BETA
  REAL, DIMENSION(:) :: X, Y
  REAL, DIMENSION(:,:) :: A

C INTERFACE

#include <sunperf.h>

void ssbmv(char uplo, int n, int ndiag, float alpha, float *a, int lda, float *x, int incx, float beta, float *y, int incy);

void ssbmv_64(char uplo, long n, long ndiag, float alpha, float *a, long lda, float *x, long incx, float beta, float *y, long incy);


PURPOSE

ssbmv performs the matrix-vector operation y := alpha*A*x + beta*y, where alpha and beta are scalars, x and y are n element vectors and A is an n by n symmetric band matrix, with ndiag super-diagonals.


ARGUMENTS