SRC/zpbrfs.f(3)
π
SRC/zpbrfs.f β aka ZPBRFS, the manual page bestie π
Okay so bestie, this is the page for SRC/zpbrfs.f, straight outta the Library Functions Manual. Buckle up, she's a whole vibe. πβ¨
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine zpbrfs (uplo, n, kd, nrhs, ab, ldab, afb, ldafb, b, ldb, x,
ldx, ferr, berr, work, rwork, info)
ZPBRFS β that's literally her name, no notes. π
π¦ Function/Subroutine Documentation π¦
subroutine zpbrfs (character uplo, integer n, integer kd, integer nrhs,
complex*16, dimension( ldab, * ) ab, integer ldab, complex*16,
dimension( ldafb, * ) afb, integer ldafb, complex*16, dimension( ldb, *
) b, integer ldb, complex*16, dimension( ldx, * ) x, integer ldx, double
precision, dimension( * ) ferr, double precision, dimension( * ) berr,
complex*16, dimension( * ) work, double precision, dimension( * ) rwork,
integer info)
ZPBRFS β¨
πΈ Purpose πΈ
So like, the whole point of ZPBRFS? She improves the computed solution to a system of linear equations when the coefficient matrix is Hermitian positive definite and banded. And bestie, she doesn't just stop there β she also provides error bounds and backward error estimates for the solution. Multitasking queen. π
π Parameters π
UPLOβUPLOisCHARACTER*1. The tea:= 'U': Upper triangle ofAis stored= 'L': Lower triangle ofAis stored
NβNisINTEGER. The order of the matrixA. Condition check:N >= 0.KDβKDisINTEGER. The number of superdiagonals of the matrixAifUPLO = 'U', or the number of subdiagonals ifUPLO = 'L'. Condition check:KD >= 0.NRHSβNRHSisINTEGER. The number of right hand sides, i.e., the number of columns of the matricesBandX. Condition check:NRHS >= 0.ABβABisCOMPLEX*16 array, dimension (LDAB,N). The upper or lower triangle of the Hermitian band matrixA, stored in the firstKD+1rows of the array. The j-th column ofAis stored in the j-th column of the arrayABas follows:- if
UPLO = 'U',AB(kd+1+i-j,j) = A(i,j)formax(1,j-kd)<=i<=j - if
UPLO = 'L',AB(1+i-j,j) = A(i,j)forj<=i<=min(n,j+kd)
- if
LDABβLDABisINTEGER. The leading dimension of the arrayAB. Condition check:LDAB >= KD+1.AFBβAFBisCOMPLEX*16 array, dimension (LDAFB,N). The triangular factorUorLfrom the Cholesky factorizationA = U**H*UorA = L*L**Hof the band matrixAas computed byZPBTRF, in the same storage format asA(seeAB). She's literally wearing the same outfit asAB, iykyk. π«ΆLDAFBβLDAFBisINTEGER. The leading dimension of the arrayAFB. Condition check:LDAFB >= KD+1.BβBisCOMPLEX*16 array, dimension (LDB,NRHS). The right hand side matrixB. Main character energy, obviously.LDBβLDBisINTEGER. The leading dimension of the arrayB. Condition check:LDB >= max(1,N).XβXisCOMPLEX*16 array, dimension (LDX,NRHS). On entry, the solution matrixX, as computed byZPBTRS. On exit, the improved solution matrixX. Glow-up moment fr fr. πLDXβLDXisINTEGER. The leading dimension of the arrayX. Condition check:LDX >= max(1,N).FERRβFERRisDOUBLE PRECISION array, dimension (NRHS). The estimated forward error bound for each solution vectorX(j)(the j-th column of the solution matrixX). IfXTRUEis the true solution corresponding toX(j),FERR(j)is an estimated upper bound for the magnitude of the largest element in(X(j) - XTRUE)divided by the magnitude of the largest element inX(j). The estimate is as reliable as the estimate forRCOND, and is almost always a slight overestimate of the true error. So like, she's trustworthy but she rounds up a lil. πBERRβBERRisDOUBLE PRECISION array, dimension (NRHS). The componentwise relative backward error of each solution vectorX(j)(i.e., the smallest relative change in any element ofAorBthat makesX(j)an exact solution).WORKβWORKisCOMPLEX*16 array, dimension (2*N). Just doing her little job behind the scenes.RWORKβRWORKisDOUBLE PRECISION array, dimension (N). Same energy, different array.INFOβINFOisINTEGER. The receipts:= 0: successful exit< 0: ifINFO = -i, the i-th argument had an illegal value
π₯ Internal Parameters π₯
ITMAX is the maximum number of steps of iterative refinement. Periodt. π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 187 of file zpbrfs.f. Noted, screenshotting. πΈ
π Author π
Generated automatically by Doxygen for LAPACK from the source code. So like, no human sat there writing this by hand β the robots did it. Respect tho. π€π
Okay bestie, that's the whole page! πΈ This gem comes to you courtesy of LAPACK Version 3.12.0 β go forth and improve those Hermitian positive definite banded solutions, you absolute icon. ππ¦π
π¦ 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