TESTING/LIN/sgbt02.f(3)
π TESTING/LIN/sgbt02.f(3) π
okay bestie, this page is straight outta the Library Functions Manual β no cap, it's the sgbt02 routine's moment. β¨
πΈ NAME πΈ
TESTING/LIN/sgbt02.f
π SYNOPSIS π
Functions/Subroutines
subroutine sgbt02 (trans, m, n, kl, ku, nrhs, a, lda, x, ldx, b, ldb,
rwork, resid)
SGBT02
π¦ Function/Subroutine Documentation π¦
subroutine sgbt02 (character trans, integer m, integer n, integer kl,
integer ku, 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)
SGBT02
β¨ Purpose β¨
okay so SGBT02 computes the residual for a solution of a banded system of equations op(A)*X = B:
RESID = norm(B - op(A)*X) / ( norm(op(A)) * norm(X) * EPS ),
where op(A) = A or A**T, depending on TRANS, and EPS is the machine epsilon. The norm used is the 1-norm. π
π Parameters π
TRANSβTRANS is CHARACTER*1. Specifies the form of the system of equations:
= 'N': A * X = B (No transpose)
= 'T': A**T * X = B (Transpose)
= 'C': A**H * X = B (Conjugate transpose = Transpose)
MβM is INTEGER. The number of rows of the matrixA.M >= 0.NβN is INTEGER. The number of columns of the matrixA.N >= 0.KLβKL is INTEGER. The number of subdiagonals within the band ofA.KL >= 0.KUβKU is INTEGER. The number of superdiagonals within the band ofA.KU >= 0.NRHSβNRHS is INTEGER. The number of columns ofB.NRHS >= 0.AβA is REAL array, dimension (LDA,N). The original matrixAin band storage, stored in rows1toKL+KU+1.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,KL+KU+1).XβX is REAL array, dimension (LDX,NRHS). The computed solution vectors for the system of linear equations.LDXβLDX is INTEGER. The leading dimension of the arrayX. IfTRANS = 'N',LDX >= max(1,N); ifTRANS = 'T'or'C',LDX >= max(1,M).BβB is REAL array, 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βLDB is INTEGER. The leading dimension of the arrayB.IF TRANS = 'N',LDB >= max(1,M); ifTRANS = 'T'or'C',LDB >= max(1,N).RWORKβRWORK is REAL array, dimension (MAX(1,LRWORK)), whereLRWORK >= MwhenTRANS = 'T'or'C'; otherwise,RWORKis not referenced.RESIDβRESID is REAL. The maximum over the number of right hand sides of:
norm(B - op(A)*X) / ( norm(op(A)) * norm(X) * EPS ).
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 147 of file sgbt02.f.
π«Ά Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
that's the whole page, bestie β source/version: LAPACK, Version 3.12.0; page: TESTING/LIN/sgbt02.f(3). πβ¨
π¦ 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