TESTING/LIN/zgbt01.f(3)
π NAME π
TESTING/LIN/zgbt01.f β bestie, this is the page for that file, and itβs chillinβ in the Library Functions Manual (page label: TESTING/LIN/zgbt01.f(3)). Weβre about to get into the ZGBT01 subroutine, and yes, itβs giving main-character linear-algebra energy. β¨
πΈ SYNOPSIS πΈ
π Functions/Subroutines π
subroutine zgbt01 (m, n, kl, ku, a, lda, afac, ldafac, ipiv, work,
resid)
ZGBT01 β thatβs the subroutine name, and itβs literally the whole point of this page. π
π¦ Function/Subroutine Documentation π¦
subroutine zgbt01 (integer m, integer n, integer kl, integer ku, complex*16,
dimension( lda, * ) a, integer lda, complex*16, dimension( ldafac, * )
afac, integer ldafac, integer, dimension( * ) ipiv, complex*16,
dimension( * ) work, double precision resid)
ZGBT01 β okay so this is the full signature situation, and we are obsessed with how specific it is. π
π Purpose π
ZGBT01 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. π«Ά
π Parameters π
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.AβA is COMPLEX*16 array, dimension (LDA,N); the original matrixAin band storage, stored in rows 1 toKL+KU+1.LDAβLDA is INTEGER.The leading dimension of the arrayA.LDA >= max(1,KL+KU+1).AFACβAFAC is COMPLEX*16 array, dimension (LDAFAC,N); the factored form of the matrixA.AFACcontains the banded factorsLandUfrom theL*Ufactorization, as computed byZGBTRF.Uis stored as an upper triangular band matrix withKL+KUsuperdiagonals in rows 1 toKL+KU+1, and the multipliers used during the factorization are stored in rowsKL+KU+2to2*KL+KU+1. SeeZGBTRFfor 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 fromZGBTRF.WORKβWORK is COMPLEX*16 array, dimension (2*KL+KU+1).RESIDβRESID is DOUBLE PRECISION;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 zgbt01.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
xoxo, your Unix bestie π β source/version: LAPACK Version 3.12.0, page: TESTING/LIN/zgbt01.f(3). Stay reconstructed, 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