SUBROUTINE CTBTRS( UPLO, TRANSA, DIAG, N, NDIAG, NRHS, A, LDA, B, * LDB, INFO) CHARACTER * 1 UPLO, TRANSA, DIAG COMPLEX A(LDA,*), B(LDB,*) INTEGER N, NDIAG, NRHS, LDA, LDB, INFO SUBROUTINE CTBTRS_64( UPLO, TRANSA, DIAG, N, NDIAG, NRHS, A, LDA, B, * LDB, INFO) CHARACTER * 1 UPLO, TRANSA, DIAG COMPLEX A(LDA,*), B(LDB,*) INTEGER*8 N, NDIAG, NRHS, LDA, LDB, INFO
SUBROUTINE TBTRS( UPLO, TRANSA, DIAG, [N], NDIAG, [NRHS], A, [LDA], * B, [LDB], [INFO]) CHARACTER(LEN=1) :: UPLO, TRANSA, DIAG COMPLEX, DIMENSION(:,:) :: A, B INTEGER :: N, NDIAG, NRHS, LDA, LDB, INFO SUBROUTINE TBTRS_64( UPLO, TRANSA, DIAG, [N], NDIAG, [NRHS], A, [LDA], * B, [LDB], [INFO]) CHARACTER(LEN=1) :: UPLO, TRANSA, DIAG COMPLEX, DIMENSION(:,:) :: A, B INTEGER(8) :: N, NDIAG, NRHS, LDA, LDB, INFO
void ctbtrs(char uplo, char transa, char diag, int n, int ndiag, int nrhs, complex *a, int lda, complex *b, int ldb, int *info);
void ctbtrs_64(char uplo, char transa, char diag, long n, long ndiag, long nrhs, complex *a, long lda, complex *b, long ldb, long *info);
where A is a triangular band matrix of order N, and B is an N-by-NRHS matrix. A check is made to verify that A is nonsingular.