NAME

stbsv - solve one of the systems of equations A*x = b, or A'*x = b


SYNOPSIS

  SUBROUTINE STBSV( UPLO, TRANSA, DIAG, N, NDIAG, A, LDA, Y, INCY)
  CHARACTER * 1 UPLO, TRANSA, DIAG
  INTEGER N, NDIAG, LDA, INCY
  REAL A(LDA,*), Y(*)
  SUBROUTINE STBSV_64( UPLO, TRANSA, DIAG, N, NDIAG, A, LDA, Y, INCY)
  CHARACTER * 1 UPLO, TRANSA, DIAG
  INTEGER*8 N, NDIAG, LDA, INCY
  REAL A(LDA,*), Y(*)

F95 INTERFACE

  SUBROUTINE TBSV( UPLO, [TRANSA], DIAG, [N], NDIAG, A, [LDA], Y, 
 *       [INCY])
  CHARACTER(LEN=1) :: UPLO, TRANSA, DIAG
  INTEGER :: N, NDIAG, LDA, INCY
  REAL, DIMENSION(:) :: Y
  REAL, DIMENSION(:,:) :: A
  SUBROUTINE TBSV_64( UPLO, [TRANSA], DIAG, [N], NDIAG, A, [LDA], Y, 
 *       [INCY])
  CHARACTER(LEN=1) :: UPLO, TRANSA, DIAG
  INTEGER(8) :: N, NDIAG, LDA, INCY
  REAL, DIMENSION(:) :: Y
  REAL, DIMENSION(:,:) :: A

C INTERFACE

#include <sunperf.h>

void stbsv(char uplo, char transa, char diag, int n, int ndiag, float *a, int lda, float *y, int incy);

void stbsv_64(char uplo, char transa, char diag, long n, long ndiag, float *a, long lda, float *y, long incy);


PURPOSE

stbsv solves one of the systems of equations A*x = b, or A'*x = b, where b and x are n element vectors and A is an n by n unit, or non-unit, upper or lower triangular band matrix, with ( ndiag + 1 ) diagonals.

No test for singularity or near-singularity is included in this routine. Such tests must be performed before calling this routine.


ARGUMENTS