SUBROUTINE CPBSV( UPLO, N, NDIAG, NRHS, A, LDA, B, LDB, INFO) CHARACTER * 1 UPLO COMPLEX A(LDA,*), B(LDB,*) INTEGER N, NDIAG, NRHS, LDA, LDB, INFO SUBROUTINE CPBSV_64( UPLO, N, NDIAG, NRHS, A, LDA, B, LDB, INFO) CHARACTER * 1 UPLO COMPLEX A(LDA,*), B(LDB,*) INTEGER*8 N, NDIAG, NRHS, LDA, LDB, INFO
SUBROUTINE PBSV( UPLO, [N], NDIAG, [NRHS], A, [LDA], B, [LDB], [INFO]) CHARACTER(LEN=1) :: UPLO COMPLEX, DIMENSION(:,:) :: A, B INTEGER :: N, NDIAG, NRHS, LDA, LDB, INFO SUBROUTINE PBSV_64( UPLO, [N], NDIAG, [NRHS], A, [LDA], B, [LDB], * [INFO]) CHARACTER(LEN=1) :: UPLO COMPLEX, DIMENSION(:,:) :: A, B INTEGER(8) :: N, NDIAG, NRHS, LDA, LDB, INFO
void cpbsv(char uplo, int n, int ndiag, int nrhs, complex *a, int lda, complex *b, int ldb, int *info);
void cpbsv_64(char uplo, long n, long ndiag, long nrhs, complex *a, long lda, complex *b, long ldb, long *info);
The Cholesky decomposition is used to factor A as
A = U**H * U, if UPLO = 'U', or A = L * L**H, if UPLO = 'L',
where U is an upper triangular band matrix, and L is a lower triangular band matrix, with the same number of superdiagonals or subdiagonals as A. The factored form of A is then used to solve the system of equations A * X = B.
On exit, if INFO = 0, the triangular factor U or L from the Cholesky factorization A = U**H*U or A = L*L**H of the band matrix A, in the same storage format as A.