TESTING/LIN/spbt02.f(3)
π spbt02.f(3) β Library Functions Manual π
okay so bestie, this is the page for TESTING/LIN/spbt02.f β yes, the Library Functions Manual is serving looks near the top, and the whole thing is about the SPBT02 subroutine. Lowkey, it's giving numerical residual energy, and honestly? iconic. No cap. β¨
πΈ NAME πΈ
TESTING/LIN/spbt02.f β that's the file, periodt. Library Functions Manual vibes only. π
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine spbt02 (uplo, n, kd, nrhs, a, lda, x, ldx, b, ldb, rwork,
resid)
SPBT02
π¦ Function/Subroutine Documentation π¦
subroutine spbt02 (character uplo, integer n, integer kd, integer nrhs,
real, dimension( lda, * ) a, integer lda, real, dimension( ldx, * ) x,
integer ldx, real, dimension( ldb, * ) b, integer ldb, real, dimension(
* ) rwork, real resid)
SPBT02
π Purpose π
okay so SPBT02 computes the residual for a solution of a symmetric banded system of equations A*x = b:
RESID = norm( B - A*X ) / ( norm(A) * norm(X) * EPS)
where EPS is the machine precision. Slay. π
π Parameters π
UPLOβUPLOisCHARACTER*1. 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 and columns 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 right hand sides.NRHS >= 0.AβAisREALarray, dimension(LDA,N). The original symmetric band matrixA, the main character. IfUPLO = 'U', the upper triangular part ofAis stored as a band matrix; ifUPLO = 'L', the lower triangular part ofAis stored. The columns of the appropriate triangle are stored in the columns ofAand the diagonals of the triangle are stored in the rows ofA. SeeSPBTRFfor further details.LDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,KD+1).XβXisREALarray, dimension(LDX,NRHS). The computed solution vectors for the system of linear equations.LDXβLDXisINTEGER. The leading dimension of the arrayX.LDX >= max(1,N).BβBisREALarray, dimension(LDB,NRHS). On entry, the right hand side vectors for the system of linear equations. On exit,Bis overwritten with the differenceB - A*X.LDBβLDBisINTEGER. The leading dimension of the arrayB.LDB >= max(1,N).RWORKβRWORKisREALarray, dimension(N).RESIDβRESIDisREAL. The maximum over the number of right hand sides ofnorm(B - A*X) / ( norm(A) * norm(X) * EPS ).
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 134 of file spbt02.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
Mwah π β this page is from LAPACK Version 3.12.0, and the file on deck is TESTING/LIN/spbt02.f(3). Byeee, bestie π«Άβ¨
π¦ 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