TESTING/LIN/cgbt01.f(3)
π CGBT01 β TESTING/LIN/cgbt01.f π
okay so bestie, this is the Library Functions Manual page for TESTING/LIN/cgbt01.f, and we're talking about CGBT01 β yes, the reconstruction/residual-check girlie. No cap, it's giving numerical linear algebra realness. π
β¨ NAME β¨
TESTING/LIN/cgbt01.f
πΈ SYNOPSIS πΈ
π Functions/Subroutines π
subroutine cgbt01 (m, n, kl, ku, a, lda, afac, ldafac, ipiv, work,
resid)
CGBT01
π¦ Function/Subroutine Documentation π¦
π CGBT01 π
subroutine cgbt01 (integer m, integer n, integer kl, integer ku, complex,
dimension( lda, * ) a, integer lda, complex, dimension( ldafac, * )
afac, integer ldafac, integer, dimension( * ) ipiv, complex, dimension(
* ) work, real resid)
CGBT01
π Purpose π
CGBT01 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. iconic.
The expression L*U - A is computed one column at a time, so A and AFAC are not modified. no touching, no mutating, just checking. π«Ά
π Parameters π
MβMisINTEGER; the number of rows of the matrixA.M >= 0.NβNisINTEGER; the number of columns of the matrixA.N >= 0.KLβKLisINTEGER; the number of subdiagonals within the band ofA.KL >= 0.KUβKUisINTEGER; the number of superdiagonals within the band ofA.KU >= 0.AβAisCOMPLEX array, dimension (LDA,N); the original matrixAin band storage, stored in rows1toKL+KU+1.LDAβLDAisINTEGER; the leading dimension of the arrayA.LDA >= max(1,KL+KU+1).AFACβAFACisCOMPLEX array, dimension (LDAFAC,N); the factored form of the matrixA.AFACcontains the banded factorsLandUfrom theL*Ufactorization, as computed byCGBTRF.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. SeeCGBTRFfor further details.LDAFACβLDAFACisINTEGER; the leading dimension of the arrayAFAC.LDAFAC >= max(1,2*KL*KU+1).IPIVβIPIVisINTEGER array, dimension (min(M,N)); the pivot indices fromCGBTRF.WORKβWORKisCOMPLEX array, dimension (2*KL+KU+1).RESIDβRESIDisREAL;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 cgbt01.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay that's the whole page, bestie π β footer send-off: LAPACK Version 3.12.0 and TESTING/LIN/cgbt01.f(3). No date in the footer, so that's the full vibe. πβ¨
π¦ 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