TESTING/LIN/sgbt01.f(3)
π NAME π
okay bestie, this is TESTING/LIN/sgbt01.f β the page for the SGBT01 test routine. It's coming to you from the Library Functions Manual, and it's lowkey iconic π
.
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
subroutine sgbt01 (m, n, kl, ku, a, lda, afac, ldafac, ipiv, work,
resid)
SGBT01
πΈ Function/Subroutine Documentation πΈ
π SGBT01 π
subroutine sgbt01 (integer m, integer n, integer kl, integer ku, real,
dimension( lda, * ) a, integer lda, real, dimension( ldafac, * ) afac,
integer ldafac, integer, dimension( * ) ipiv, real, dimension( * ) work,
real resid)
SGBT01
π Purpose π
SGBT01 reconstructs a band matrix A from its L*U factorization and computes the residual:
norm(L*U - A) / ( N * norm(A) * EPS )
where EPS is the machine epsilon.
The expression L*U - A is computed one column at a time, so A and AFAC are not modified. no cap, that's the whole point π«Ά
π Parameters π
MβM is INTEGER; this is the number of rows of the matrixA.M >= 0.NβN is INTEGER; this is 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.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).AFACβAFAC is REAL array, dimension (LDAFAC,N); the factored form of the matrixA.AFACcontains the banded factorsLandUfrom theL*Ufactorization, as computed bySGBTRF.Uis stored as an upper triangular band matrix withKL+KUsuperdiagonals in rows1toKL+KU+1, and the multipliers used during the factorization are stored in rowsKL+KU+2to2*KL+KU+1. SeeSGBTRFfor further details.LDAFACβLDAFAC is INTEGER; the leading dimension of the arrayAFAC.LDAFAC >= max(1,2*KL*KU+1).IPIVβIPIV is INTEGER array, dimension (min(M,N)); the pivot indices fromSGBTRF.WORKβWORK is REAL array, dimension (2*KL+KU+1).RESIDβRESID is REAL;norm(L*U - A) / ( N * norm(A) * EPS ).
π§ Author π§
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
β Definition at line 124 of file sgbt01.f. β
Definition at line 124 of file sgbt01.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay that's the tea, bestie π This page is from LAPACK Version 3.12.0 β the footer doesn't show a separate date, so that's the version + source vibe: TESTING/LIN/sgbt01.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