SRC/zpbtrs.f(3)
π NAME
SRC/zpbtrs.f β bestie, this is the page for the zpbtrs routine, and honestly? she's that girl. β¨
π¦ SYNOPSIS
Functions/Subroutines
subroutine zpbtrs (uplo, n, kd, nrhs, ab, ldab, b, ldb, info)
ZPBTRS β say it with me now π
πΈ Function/Subroutine Documentation
β¨ subroutine 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)
ZPBTRS β the icon herself. π
π 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.
!>
So like, lowkey the whole point: you've got a system A*X = B, A is a Hermitian positive definite band matrix, and you already ran ZPBTRF to get the Cholesky factorization (A = U**H *U or A = L*L**H). Now zpbtrs swoops in and actually solves it for you. Main character energy, fr fr. π
π Parameters
UPLOβUPLO is CHARACTER*1β which triangle of the factor is chillin' inAB:= 'U': upper triangular factor stored inAB;= 'L': lower triangular factor stored inAB. π Gotta match what you gaveZPBTRF, bestie, or it's giving chaos.
NβN is INTEGERβ the order of the matrixA. Requirement:N >= 0. β¨KDβKD is INTEGERβ the number of superdiagonals of the matrixAifUPLO = 'U', or the number of subdiagonals ifUPLO = 'L'. Requirement:KD >= 0. π¦ Band width energy.NRHSβNRHS is INTEGERβ the number of right hand sides, i.e. the number of columns of the matrixB. Requirement:NRHS >= 0. πΈABβAB is COMPLEX*16 array, dimension (LDAB,N)β the triangular factorUorLfrom the Cholesky factorizationA = U**H *UorA = L*L**Hof the band matrixA, stored in the firstKD+1rows of the array. The j-th column ofUorLis stored in the j-th column of the arrayABas follows:- if
UPLO ='U',AB(kd+1+i-j,j) = U(i,j)formax(1,j-kd)<=i<=j; - if
UPLO ='L',AB(1+i-j,j) = L(i,j)forj<=i<=min(n,j+kd).
- if
π«Ά Yes the indexing is a whole vibe. Write it down, don't guess.
LDABβLDAB is INTEGERβ the leading dimension of the arrayAB. Requirement:LDAB >= KD+1. βBβB is COMPLEX*16 array, dimension (LDB,NRHS)β on entry, the right hand side matrixB. On exit, the solution matrixX. π₯ She goes in asBand comes out asX, okay?? Glow up.LDBβLDB is INTEGERβ the leading dimension of the arrayB. Requirement:LDB >= max(1,N). πINFOβINFO is INTEGERβ the receipts:= 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 at line 120 of file zpbtrs.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code. (Not me, I just gave her a personality. π)
π Warning-ish reminder, no cap: thoseABindex formulas and all the>=bounds are load-bearing. Don't freestyle them. TheINFO < 0case literally exists to call you out on the i-th bad argument, so likeβ¦ respect it. π«Ά
okay that's the whole page, mwah π β LAPACK, Version 3.12.0, dated to that SRC/zpbtrs.f(3) moment. Slay, go solve your banded system. πβ¨
π¦ 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