TESTING/LIN/sptt01.f(3)
π NAME π
TESTING/LIN/sptt01.f β bestie, this is the LAPACK testing routine page for sptt01, and it's literally here to vibe-check a tridiagonal matrix reconstruction. π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine sptt01 (n, d, e, df, ef, work, resid)β SPTT01
π Function/Subroutine Documentation π
subroutine sptt01 (integer n, real, dimension( * ) d, real, dimension( * ) e, real, dimension( * ) df, real, dimension( * ) ef, real, dimension( * ) work, real resid)
SPTT01
π Purpose π
Okay so SPTT01 reconstructs a tridiagonal matrix A from its L*D*L' factorization and computes the residual:
norm(L*D*L' - A) / ( n * norm(A) * EPS ),
where EPS is the machine epsilon. Periodt. π«Ά
π Parameters π
NβNisINTEGER. The order of the matrixA. Slay, we know the size now. β¨DβDisREAL array, dimension (N). Thendiagonal elements of the tridiagonal matrixA. Iconic diagonal behavior. πEβEisREAL array, dimension (N-1). The(n-1)subdiagonal elements of the tridiagonal matrixA. Not me keeping track of every subdiagonal element πDFβDFisREAL array, dimension (N). Thendiagonal elements of the factorLfrom theL*D*L'factorization ofA. Main character factor energy. πEFβEFisREAL array, dimension (N-1). The(n-1)subdiagonal elements of the factorLfrom theL*D*L'factorization ofA. Bestie, this is the subdiagonal lore. πΈWORKβWORKisREAL array, dimension (2*N). Workspace, doing quiet background support like the real MVP. π§RESIDβRESIDisREAL. It's the residualnorm(L*D*L' - A) / (n * norm(A) * EPS). The vibe check result itself, no cap. π₯
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 90 of file sptt01.f. π
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
π Stay slay, bestie β this cutie is from LAPACK Version 3.12.0, source TESTING/LIN/sptt01.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