pbsv#
Functions
-
void spbsv(const char *uplo, const INT n, const INT kd, const INT nrhs, f32 *restrict AB, const INT ldab, f32 *restrict B, const INT ldb, INT *info)#
SPBSV computes the solution to a real system of linear equations A * X = B, where A is an N-by-N symmetric positive definite band matrix and X and B are N-by-NRHS matrices.
The Cholesky decomposition is used to factor A as A = U**T * U, if UPLO = ‘U’, or A = L * L**T, if UPLO = ‘L’, where U is an upper triangular band matrix, and L is a lower triangular band matrix.
Parameters
inuplo= ‘U’: Upper triangle of A is stored = ‘L’: Lower triangle of A is stored
innThe order of the matrix A. n >= 0.
inkdThe number of super-diagonals (if uplo=’U’) or sub-diagonals (if uplo=’L’). kd >= 0.
innrhsThe number of right hand sides. nrhs >= 0.
inoutABOn entry, the banded matrix A. On exit, the factor U or L. Array of dimension (ldab, n).
inldabThe leading dimension of AB. ldab >= kd+1.
inoutBOn entry, the right hand side matrix B. On exit, the solution matrix X. Array of dimension (ldb, nrhs).
inldbThe leading dimension of B. ldb >= max(1,n).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
> 0: if info = i, the leading minor of order i is not positive definite.
void spbsv(
const char* uplo,
const INT n,
const INT kd,
const INT nrhs,
f32* restrict AB,
const INT ldab,
f32* restrict B,
const INT ldb,
INT* info
);
Functions
-
void dpbsv(const char *uplo, const INT n, const INT kd, const INT nrhs, f64 *restrict AB, const INT ldab, f64 *restrict B, const INT ldb, INT *info)#
DPBSV computes the solution to a real system of linear equations A * X = B, where A is an N-by-N symmetric positive definite band matrix and X and B are N-by-NRHS matrices.
The Cholesky decomposition is used to factor A as A = U**T * U, if UPLO = ‘U’, or A = L * L**T, if UPLO = ‘L’, where U is an upper triangular band matrix, and L is a lower triangular band matrix.
Parameters
inuplo= ‘U’: Upper triangle of A is stored = ‘L’: Lower triangle of A is stored
innThe order of the matrix A. n >= 0.
inkdThe number of super-diagonals (if uplo=’U’) or sub-diagonals (if uplo=’L’). kd >= 0.
innrhsThe number of right hand sides. nrhs >= 0.
inoutABOn entry, the banded matrix A. On exit, the factor U or L. Array of dimension (ldab, n).
inldabThe leading dimension of AB. ldab >= kd+1.
inoutBOn entry, the right hand side matrix B. On exit, the solution matrix X. Array of dimension (ldb, nrhs).
inldbThe leading dimension of B. ldb >= max(1,n).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
> 0: if info = i, the leading minor of order i is not positive definite.
void dpbsv(
const char* uplo,
const INT n,
const INT kd,
const INT nrhs,
f64* restrict AB,
const INT ldab,
f64* restrict B,
const INT ldb,
INT* info
);
Functions
-
void cpbsv(const char *uplo, const INT n, const INT kd, const INT nrhs, c64 *restrict AB, const INT ldab, c64 *restrict B, const INT ldb, INT *info)#
CPBSV computes the solution to a complex system of linear equations A * X = B, where A is an N-by-N Hermitian positive definite band matrix and X and B are N-by-NRHS matrices.
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.
Parameters
inuplo= ‘U’: Upper triangle of A is stored = ‘L’: Lower triangle of A is stored
innThe order of the matrix A. n >= 0.
inkdThe number of super-diagonals (if uplo=’U’) or sub-diagonals (if uplo=’L’). kd >= 0.
innrhsThe number of right hand sides. nrhs >= 0.
inoutABOn entry, the banded matrix A. On exit, the factor U or L. Array of dimension (ldab, n).
inldabThe leading dimension of AB. ldab >= kd+1.
inoutBOn entry, the right hand side matrix B. On exit, the solution matrix X. Array of dimension (ldb, nrhs).
inldbThe leading dimension of B. ldb >= max(1,n).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
> 0: if info = i, the leading minor of order i is not positive definite.
void cpbsv(
const char* uplo,
const INT n,
const INT kd,
const INT nrhs,
c64* restrict AB,
const INT ldab,
c64* restrict B,
const INT ldb,
INT* info
);
Functions
-
void zpbsv(const char *uplo, const INT n, const INT kd, const INT nrhs, c128 *restrict AB, const INT ldab, c128 *restrict B, const INT ldb, INT *info)#
ZPBSV computes the solution to a complex system of linear equations A * X = B, where A is an N-by-N Hermitian positive definite band matrix and X and B are N-by-NRHS matrices.
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.
Parameters
inuplo= ‘U’: Upper triangle of A is stored = ‘L’: Lower triangle of A is stored
innThe order of the matrix A. n >= 0.
inkdThe number of super-diagonals (if uplo=’U’) or sub-diagonals (if uplo=’L’). kd >= 0.
innrhsThe number of right hand sides. nrhs >= 0.
inoutABOn entry, the banded matrix A. On exit, the factor U or L. Array of dimension (ldab, n).
inldabThe leading dimension of AB. ldab >= kd+1.
inoutBOn entry, the right hand side matrix B. On exit, the solution matrix X. Array of dimension (ldb, nrhs).
inldbThe leading dimension of B. ldb >= max(1,n).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
> 0: if info = i, the leading minor of order i is not positive definite.
void zpbsv(
const char* uplo,
const INT n,
const INT kd,
const INT nrhs,
c128* restrict AB,
const INT ldab,
c128* restrict B,
const INT ldb,
INT* info
);