NAME

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


SYNOPSIS

  SUBROUTINE DTBSV( UPLO, TRANSA, DIAG, N, NDIAG, A, LDA, Y, INCY)
  CHARACTER * 1 UPLO, TRANSA, DIAG
  INTEGER N, NDIAG, LDA, INCY
  DOUBLE PRECISION A(LDA,*), Y(*)
  SUBROUTINE DTBSV_64( UPLO, TRANSA, DIAG, N, NDIAG, A, LDA, Y, INCY)
  CHARACTER * 1 UPLO, TRANSA, DIAG
  INTEGER*8 N, NDIAG, LDA, INCY
  DOUBLE PRECISION 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(8), DIMENSION(:) :: Y
  REAL(8), 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(8), DIMENSION(:) :: Y
  REAL(8), DIMENSION(:,:) :: A

C INTERFACE

#include <sunperf.h>

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

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


PURPOSE

dtbsv 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