pbtrs#

Functions

void spbtrs(
    const char*          uplo,
    const INT            n,
    const INT            kd,
    const INT            nrhs,
    const f32*  restrict AB,
    const INT            ldab,
          f32*  restrict B,
    const INT            ldb,
          INT*           info
);
void spbtrs(const char *uplo, const INT n, const INT kd, const INT nrhs, const f32 *restrict AB, const INT ldab, f32 *restrict B, const INT ldb, INT *info)#

SPBTRS solves a system of linear equations A*X = B with a symmetric positive definite band matrix A using the Cholesky factorization A = U**T*U or A = L*L**T computed by SPBTRF.

Parameters

in
uplo

= ‘U’: Upper triangular factor stored in AB = ‘L’: Lower triangular factor stored in AB

in
n

The order of the matrix A. n >= 0.

in
kd

The number of super-diagonals (if uplo=’U’) or sub-diagonals (if uplo=’L’). kd >= 0.

in
nrhs

The number of right hand sides. nrhs >= 0.

in
AB

The triangular factor from SPBTRF. Array of dimension (ldab, n).

in
ldab

The leading dimension of AB. ldab >= kd+1.

inout
B

On entry, the right hand side matrix B. On exit, the solution matrix X. Array of dimension (ldb, nrhs).

in
ldb

The leading dimension of B. ldb >= max(1,n).

out
info

  • = 0: successful exit

  • < 0: if info = -i, the i-th argument had an illegal value

Functions

void dpbtrs(
    const char*          uplo,
    const INT            n,
    const INT            kd,
    const INT            nrhs,
    const f64*  restrict AB,
    const INT            ldab,
          f64*  restrict B,
    const INT            ldb,
          INT*           info
);
void dpbtrs(const char *uplo, const INT n, const INT kd, const INT nrhs, const f64 *restrict AB, const INT ldab, f64 *restrict B, const INT ldb, INT *info)#

DPBTRS solves a system of linear equations A*X = B with a symmetric positive definite band matrix A using the Cholesky factorization A = U**T*U or A = L*L**T computed by DPBTRF.

Parameters

in
uplo

= ‘U’: Upper triangular factor stored in AB = ‘L’: Lower triangular factor stored in AB

in
n

The order of the matrix A. n >= 0.

in
kd

The number of super-diagonals (if uplo=’U’) or sub-diagonals (if uplo=’L’). kd >= 0.

in
nrhs

The number of right hand sides. nrhs >= 0.

in
AB

The triangular factor from DPBTRF. Array of dimension (ldab, n).

in
ldab

The leading dimension of AB. ldab >= kd+1.

inout
B

On entry, the right hand side matrix B. On exit, the solution matrix X. Array of dimension (ldb, nrhs).

in
ldb

The leading dimension of B. ldb >= max(1,n).

out
info

  • = 0: successful exit

  • < 0: if info = -i, the i-th argument had an illegal value

Functions

void cpbtrs(
    const char*          uplo,
    const INT            n,
    const INT            kd,
    const INT            nrhs,
    const c64*  restrict AB,
    const INT            ldab,
          c64*  restrict B,
    const INT            ldb,
          INT*           info
);
void cpbtrs(const char *uplo, const INT n, const INT kd, const INT nrhs, const c64 *restrict AB, const INT ldab, c64 *restrict B, const INT ldb, INT *info)#

CPBTRS solves a system of linear equations A*X = B with a Hermitian positive definite band matrix A using the Cholesky factorization A = U**H*U or A = L*L**H computed by CPBTRF.

Parameters

in
uplo

= ‘U’: Upper triangular factor stored in AB = ‘L’: Lower triangular factor stored in AB

in
n

The order of the matrix A. n >= 0.

in
kd

The number of super-diagonals (if uplo=’U’) or sub-diagonals (if uplo=’L’). kd >= 0.

in
nrhs

The number of right hand sides. nrhs >= 0.

in
AB

The triangular factor from CPBTRF. Array of dimension (ldab, n).

in
ldab

The leading dimension of AB. ldab >= kd+1.

inout
B

On entry, the right hand side matrix B. On exit, the solution matrix X. Array of dimension (ldb, nrhs).

in
ldb

The leading dimension of B. ldb >= max(1,n).

out
info

  • = 0: successful exit

  • < 0: if info = -i, the i-th argument had an illegal value

Functions

void zpbtrs(
    const char*          uplo,
    const INT            n,
    const INT            kd,
    const INT            nrhs,
    const c128* restrict AB,
    const INT            ldab,
          c128* restrict B,
    const INT            ldb,
          INT*           info
);
void zpbtrs(const char *uplo, const INT n, const INT kd, const INT nrhs, const c128 *restrict AB, const INT ldab, c128 *restrict B, const INT ldb, INT *info)#

ZPBTRS solves a system of linear equations A*X = B with a Hermitian positive definite band matrix A using the Cholesky factorization A = U**H*U or A = L*L**H computed by ZPBTRF.

Parameters

in
uplo

= ‘U’: Upper triangular factor stored in AB = ‘L’: Lower triangular factor stored in AB

in
n

The order of the matrix A. n >= 0.

in
kd

The number of super-diagonals (if uplo=’U’) or sub-diagonals (if uplo=’L’). kd >= 0.

in
nrhs

The number of right hand sides. nrhs >= 0.

in
AB

The triangular factor from ZPBTRF. Array of dimension (ldab, n).

in
ldab

The leading dimension of AB. ldab >= kd+1.

inout
B

On entry, the right hand side matrix B. On exit, the solution matrix X. Array of dimension (ldb, nrhs).

in
ldb

The leading dimension of B. ldb >= max(1,n).

out
info

  • = 0: successful exit

  • < 0: if info = -i, the i-th argument had an illegal value