NAME

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


SYNOPSIS

  SUBROUTINE DSPMV( UPLO, N, ALPHA, A, X, INCX, BETA, Y, INCY)
  CHARACTER * 1 UPLO
  INTEGER N, INCX, INCY
  DOUBLE PRECISION ALPHA, BETA
  DOUBLE PRECISION A(*), X(*), Y(*)
  SUBROUTINE DSPMV_64( UPLO, N, ALPHA, A, X, INCX, BETA, Y, INCY)
  CHARACTER * 1 UPLO
  INTEGER*8 N, INCX, INCY
  DOUBLE PRECISION ALPHA, BETA
  DOUBLE PRECISION A(*), X(*), Y(*)

F95 INTERFACE

  SUBROUTINE SPMV( UPLO, N, ALPHA, A, X, [INCX], BETA, Y, [INCY])
  CHARACTER(LEN=1) :: UPLO
  INTEGER :: N, INCX, INCY
  REAL(8) :: ALPHA, BETA
  REAL(8), DIMENSION(:) :: A, X, Y
  SUBROUTINE SPMV_64( UPLO, N, ALPHA, A, X, [INCX], BETA, Y, [INCY])
  CHARACTER(LEN=1) :: UPLO
  INTEGER(8) :: N, INCX, INCY
  REAL(8) :: ALPHA, BETA
  REAL(8), DIMENSION(:) :: A, X, Y

C INTERFACE

#include <sunperf.h>

void dspmv(char uplo, int n, double alpha, double *a, double *x, int incx, double beta, double *y, int incy);

void dspmv_64(char uplo, long n, double alpha, double *a, double *x, long incx, double beta, double *y, long incy);


PURPOSE

dspmv 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 matrix, supplied in packed form.


ARGUMENTS