pbtrs(3)
π pbtrs(3) β Library Functions Manual, but make it bestie π
okay so this is the glow-up of pbtrs(3), the LAPACK page for triangular solves using a factor. Weβre keeping every single detail, just serving it with main-character energy. π
β¨
β¨ NAME β¨
pbtrs β pbtrs: triangular solve using factor.
πΈ SYNOPSIS πΈ
π Functions π
subroutine cpbtrs (uplo, n, kd, nrhs, ab, ldab, b, ldb, info)β CPBTRSsubroutine dpbtrs (uplo, n, kd, nrhs, ab, ldab, b, ldb, info)β DPBTRSsubroutine spbtrs (uplo, n, kd, nrhs, ab, ldab, b, ldb, info)β SPBTRSsubroutine zpbtrs (uplo, n, kd, nrhs, ab, ldab, b, ldb, info)β ZPBTRS
π¦ DETAILED DESCRIPTION π¦
bestie, the full tea is in Function Documentation below β four subroutines, same solve energy, different precision vibes. π
π FUNCTION DOCUMENTATION π
β cpbtrs β CPBTRS β
subroutine cpbtrs (character uplo, integer n, integer kd, integer nrhs,
complex, dimension( ldab, * ) ab, integer ldab, complex, dimension( ldb,
* ) b, integer ldb, integer info)
π« Purpose
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
UPLOisCHARACTER*1β pick your lane:= 'U': Upper triangular factor stored inAB;= 'L': Lower triangular factor stored inAB.
NisINTEGERβ the order of the matrix A.N >= 0.KDisINTEGERβ the number of superdiagonals of the matrix A ifUPLO = 'U', or the number of subdiagonals ifUPLO = 'L'.KD >= 0.NRHSisINTEGERβ the number of right hand sides, i.e., the number of columns of the matrix B.NRHS >= 0.ABisCOMPLEX array, dimension(LDAB,N)β the triangular factor U or L from the Cholesky factorizationA = U**H*UorA = L*L**Hof the band matrix A, stored in the firstKD+1rows of the array. The j-th column of U or L is stored in the j-th column of the arrayABas follows:
if UPLO ='U', AB(kd+1+i-j,j) = U(i,j) for max(1,j-kd)<=i<=j;
if UPLO ='L', AB(1+i-j,j) = L(i,j) for j<=i<=min(n,j+kd).
LDABisINTEGERβ the leading dimension of the arrayAB.LDAB >= KD+1.BisCOMPLEX array, dimension(LDB,NRHS)β on entry, the right hand side matrix B. On exit, the solution matrix X.LDBisINTEGERβ the leading dimension of the array B.LDB >= max(1,N).INFOisINTEGERβ the status bestie:= 0: successful exit< 0: ifINFO = -i, the i-th argument had an illegal value
π«Ά Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition
Definition at line 120 of file cpbtrs.f.
β dpbtrs β DPBTRS β
subroutine dpbtrs (character uplo, integer n, integer kd, integer nrhs,
double precision, dimension( ldab, * ) ab, integer ldab, double
precision, dimension( ldb, * ) b, integer ldb, integer info)
π« Purpose
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
UPLOisCHARACTER*1β choose your side:= 'U': Upper triangular factor stored inAB;= 'L': Lower triangular factor stored inAB.
NisINTEGERβ the order of the matrix A.N >= 0.KDisINTEGERβ the number of superdiagonals of the matrix A ifUPLO = 'U', or the number of subdiagonals ifUPLO = 'L'.KD >= 0.NRHSisINTEGERβ the number of right hand sides, i.e., the number of columns of the matrix B.NRHS >= 0.ABisDOUBLE PRECISION array, dimension(LDAB,N)β the triangular factor U or L from the Cholesky factorizationA = U**T*UorA = L*L**Tof the band matrix A, stored in the firstKD+1rows of the array. The j-th column of U or L is stored in the j-th column of the arrayABas follows:
if UPLO ='U', AB(kd+1+i-j,j) = U(i,j) for max(1,j-kd)<=i<=j;
if UPLO ='L', AB(1+i-j,j) = L(i,j) for j<=i<=min(n,j+kd).
LDABisINTEGERβ the leading dimension of the arrayAB.LDAB >= KD+1.BisDOUBLE PRECISION array, dimension(LDB,NRHS)β on entry, the right hand side matrix B. On exit, the solution matrix X.LDBisINTEGERβ the leading dimension of the array B.LDB >= max(1,N).INFOisINTEGERβ the status check:= 0: successful exit< 0: ifINFO = -i, the i-th argument had an illegal value
π«Ά Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition
Definition at line 120 of file dpbtrs.f.
β spbtrs β SPBTRS β
subroutine spbtrs (character uplo, integer n, integer kd, integer nrhs,
real, dimension( ldab, * ) ab, integer ldab, real, dimension( ldb, * )
b, integer ldb, integer info)
π« Purpose
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
UPLOisCHARACTER*1β the triangular factor direction:= 'U': Upper triangular factor stored inAB;= 'L': Lower triangular factor stored inAB.
NisINTEGERβ the order of the matrix A.N >= 0.KDisINTEGERβ the number of superdiagonals of the matrix A ifUPLO = 'U', or the number of subdiagonals ifUPLO = 'L'.KD >= 0.NRHSisINTEGERβ the number of right hand sides, i.e., the number of columns of the matrix B.NRHS >= 0.ABisREAL array, dimension(LDAB,N)β the triangular factor U or L from the Cholesky factorizationA = U**T*UorA = L*L**Tof the band matrix A, stored in the firstKD+1rows of the array. The j-th column of U or L is stored in the j-th column of the arrayABas follows:
if UPLO ='U', AB(kd+1+i-j,j) = U(i,j) for max(1,j-kd)<=i<=j;
if UPLO ='L', AB(1+i-j,j) = L(i,j) for j<=i<=min(n,j+kd).
LDABisINTEGERβ the leading dimension of the arrayAB.LDAB >= KD+1.BisREAL array, dimension(LDB,NRHS)β on entry, the right hand side matrix B. On exit, the solution matrix X.LDBisINTEGERβ the leading dimension of the array B.LDB >= max(1,N).INFOisINTEGERβ the status bestie:= 0: successful exit< 0: ifINFO = -i, the i-th argument had an illegal value
π«Ά Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition
Definition at line 120 of file spbtrs.f.
β zpbtrs β ZPBTRS β
subroutine zpbtrs (character uplo, integer n, integer kd, integer nrhs,
complex*16, dimension( ldab, * ) ab, integer ldab, complex*16,
dimension( ldb, * ) b, integer ldb, integer info)
π« Purpose
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
UPLOisCHARACTER*1β the side selection:= 'U': Upper triangular factor stored inAB;= 'L': Lower triangular factor stored inAB.
NisINTEGERβ the order of the matrix A.N >= 0.KDisINTEGERβ the number of superdiagonals of the matrix A ifUPLO = 'U', or the number of subdiagonals ifUPLO = 'L'.KD >= 0.NRHSisINTEGERβ the number of right hand sides, i.e., the number of columns of the matrix B.NRHS >= 0.ABisCOMPLEX*16 array, dimension(LDAB,N)β the triangular factor U or L from the Cholesky factorizationA = U**H *UorA = L*L**Hof the band matrix A, stored in the firstKD+1rows of the array. The j-th column of U or L is stored in the j-th column of the arrayABas follows:
if UPLO ='U', AB(kd+1+i-j,j) = U(i,j) for max(1,j-kd)<=i<=j;
if UPLO ='L', AB(1+i-j,j) = L(i,j) for j<=i<=min(n,j+kd).
LDABisINTEGERβ the leading dimension of the arrayAB.LDAB >= KD+1.BisCOMPLEX*16 array, dimension(LDB,NRHS)β on entry, the right hand side matrix B. On exit, the solution matrix X.LDBisINTEGERβ the leading dimension of the array B.LDB >= max(1,N).INFOisINTEGERβ the status check:= 0: successful exit< 0: ifINFO = -i, the i-th argument had an illegal value
π«Ά Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition
Definition at line 120 of file zpbtrs.f.
π AUTHOR π
Generated automatically by Doxygen for LAPACK from the source code.
π Final footer vibe check: this whole page is from LAPACK Version 3.12.0, manual page pbtrs(3) β and thereβs no separate date line in the footer, so no invented date, periodt. π«Άβ¨
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms