SUBROUTINE ZTPTRS( UPLO, TRANSA, DIAG, N, NRHS, A, B, LDB, INFO) CHARACTER * 1 UPLO, TRANSA, DIAG DOUBLE COMPLEX A(*), B(LDB,*) INTEGER N, NRHS, LDB, INFO SUBROUTINE ZTPTRS_64( UPLO, TRANSA, DIAG, N, NRHS, A, B, LDB, INFO) CHARACTER * 1 UPLO, TRANSA, DIAG DOUBLE COMPLEX A(*), B(LDB,*) INTEGER*8 N, NRHS, LDB, INFO
SUBROUTINE TPTRS( UPLO, TRANSA, DIAG, N, NRHS, A, B, [LDB], [INFO]) CHARACTER(LEN=1) :: UPLO, TRANSA, DIAG COMPLEX(8), DIMENSION(:) :: A COMPLEX(8), DIMENSION(:,:) :: B INTEGER :: N, NRHS, LDB, INFO SUBROUTINE TPTRS_64( UPLO, TRANSA, DIAG, N, NRHS, A, B, [LDB], [INFO]) CHARACTER(LEN=1) :: UPLO, TRANSA, DIAG COMPLEX(8), DIMENSION(:) :: A COMPLEX(8), DIMENSION(:,:) :: B INTEGER(8) :: N, NRHS, LDB, INFO
void ztptrs(char uplo, char transa, char diag, int n, int nrhs, doublecomplex *a, doublecomplex *b, int ldb, int *info);
void ztptrs_64(char uplo, char transa, char diag, long n, long nrhs, doublecomplex *a, doublecomplex *b, long ldb, long *info);
where A is a triangular matrix of order N stored in packed format, and B is an N-by-NRHS matrix. A check is made to verify that A is nonsingular.