TESTING/LIN/dpbt05.f(3)
okay bestie, this is the TESTING/LIN/dpbt05.f(3) page from the Library Functions Manual, and it's all about the DPBT05 subroutine. We're keeping every detail, every constraint, every formula β no cap. π
β¨
πΈ NAME πΈ
TESTING/LIN/dpbt05.f β that's the file/page name, periodt. The function living here is dpbt05 / DPBT05, and yes, it's giving main character energy. π
β¨ SYNOPSIS β¨
Here's the synopsis, exactly as the manual lists it:
Functions/Subroutines
subroutine dpbt05 (uplo, n, kd, nrhs, ab, ldab, b, ldb, x, ldx, xact,
ldxact, ferr, berr, reslts)
DPBT05
So yeah: it's a Functions/Subroutines situation, and the subroutine is dpbt05 with the arguments (uplo, n, kd, nrhs, ab, ldab, b, ldb, x, ldx, xact, ldxact, ferr, berr, reslts), and its name line is DPBT05. iykyk π
π¦ Function/Subroutine Documentation π¦
β¨ Full signature β¨
subroutine dpbt05 (character uplo, integer n, integer kd, integer nrhs,
double precision, dimension( ldab, * ) ab, integer ldab, double
precision, dimension( ldb, * ) b, integer ldb, double precision,
dimension( ldx, * ) x, integer ldx, double precision, dimension( ldxact,
* ) xact, integer ldxact, double precision, dimension( * ) ferr, double
precision, dimension( * ) berr, double precision, dimension( * ) reslts)
That's the whole glow-up signature, character for character. obsessed. π
π
DPBT05
π― Purpose
okay so DPBT05 tests the error bounds from iterative refinement for the computed solution to a system of equations A*X = B, where A is a symmetric band matrix. Iconic testing behavior, honestly.
RESLTS(1) = test of the error bound=norm(X - XACT) / ( norm(X) * FERR )
If this ratio is not less than one, a large value is returned β that's the signal, bestie. vibe check failed π
RESLTS(2) = residual from the iterative refinement routine= the maximum ofBERR / ( NZ*EPS + (*) ), where(*) = NZ*UNFL / (min_i (abs(A)*abs(X) +abs(b))_i )andNZ = max. number of nonzeros in any row of A, plus 1
π§ Parameters
Here's every parameter, with all the types, dimensions, and constraints kept exactly as they should be:
UPLOβUPLOisCHARACTER*1. It specifies whether the upper or lower triangular part of the symmetric matrixAis stored.= 'U': Upper triangular;= 'L': Lower triangular.NβNisINTEGER. The number of rows of the matricesX,B, andXACT, and the order of the matrixA.N >= 0.KDβKDisINTEGER. The number of super-diagonals of the matrixAifUPLO = 'U', or the number of sub-diagonals ifUPLO = 'L'.KD >= 0.NRHSβNRHSisINTEGER. The number of columns of the matricesX,B, andXACT.NRHS >= 0.ABβABisDOUBLE PRECISIONarray, dimension(LDAB,N). The upper or lower triangle of the symmetric 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: ifUPLO = 'U',AB(kd+1+i-j,j) = A(i,j)formax(1,j-kd)<=i<=j; ifUPLO = 'L',AB(1+i-j,j) = A(i,j)forj<=i<=min(n,j+kd).LDABβLDABisINTEGER. The leading dimension of the arrayAB.LDAB >= KD+1.BβBisDOUBLE PRECISIONarray, dimension(LDB,NRHS). The right hand side vectors for the system of linear equations.LDBβLDBisINTEGER. The leading dimension of the arrayB.LDB >= max(1,N).XβXisDOUBLE PRECISIONarray, dimension(LDX,NRHS). The computed solution vectors. Each vector is stored as a column of the matrixX.LDXβLDXisINTEGER. The leading dimension of the arrayX.LDX >= max(1,N).XACTβXACTisDOUBLE PRECISIONarray, dimension(LDX,NRHS). The exact solution vectors. Each vector is stored as a column of the matrixXACT.LDXACTβLDXACTisINTEGER. The leading dimension of the arrayXACT.LDXACT >= max(1,N).FERRβFERRisDOUBLE PRECISIONarray, dimension(NRHS). The estimated forward error bounds for each solution vectorX. IfXTRUEis the true solution,FERRbounds the magnitude of the largest entry in(X - XTRUE)divided by the magnitude of the largest entry inX.BERRβBERRisDOUBLE PRECISIONarray, dimension(NRHS). The componentwise relative backward error of each solution vector (i.e., the smallest relative change in any entry ofAorBthat makesXan exact solution).RESLTSβRESLTSisDOUBLE PRECISIONarray, dimension(2). The maximum over theNRHSsolution vectors of the ratios:RESLTS(1) = norm(X - XACT) / ( norm(X) * FERR );RESLTS(2) = BERR / ( NZ*EPS + (*) ).
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition: this icon is defined at line 169 of file dpbt05.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. So yes, Doxygen did the auto-gen thing. We stan a generated page. π«Ά
mwah π β source/version sign-off: LAPACK Version 3.12.0, page TESTING/LIN/dpbt05.f(3). That's the footer vibe, and we're obsessed. β¨π«Ά
π¦ 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