TESTING/LIN/cptt01.f(3)
πΈ NAME πΈ
okay bestie, welcome to TESTING/LIN/cptt01.f(3) from the Library Functions Manual β this is the page for TESTING/LIN/cptt01.f, and it's lowkey all about one little testing subroutine. π
β¨ SYNOPSIS β¨
π«Ά Functions/Subroutines π«Ά
subroutine cptt01 (n, d, e, df, ef, work, resid)βCPTT01
π Function/Subroutine Documentation π
subroutine cptt01 (integer n, real, dimension( * ) d, complex, dimension( * ) e, real, dimension( * ) df, complex, dimension( * ) ef, complex, dimension( * ) work, real resid)
CPTT01
π₯ Purpose π₯
CPTT01 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. That's the whole main-character job, no cap. π
π Parameters π
NβNisINTEGER; the order of the matrixA. slay, we know the size.DβDisREALarray, dimension(N); thendiagonal elements of the tridiagonal matrixA.EβEisCOMPLEXarray, dimension(N-1); the(n-1)subdiagonal elements of the tridiagonal matrixA.DFβDFisREALarray, dimension(N); thendiagonal elements of the factorLfrom theL*D*L'factorization ofA.EFβEFisCOMPLEXarray, dimension(N-1); the(n-1)subdiagonal elements of the factorLfrom theL*D*L'factorization ofA.WORKβWORKisCOMPLEXarray, dimension(2*N).RESIDβRESIDisREAL;norm(L*D*L' - A) / (n * norm(A) * EPS).
π«Ά Author π«Ά
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Definition at line 91 of file cptt01.f.
π¦ Author π¦
Generated automatically by Doxygen for LAPACK from the source code.
π cute little sign-off bestie: this page is from LAPACK Version 3.12.0, and the footer points at TESTING/LIN/cptt01.f(3) β periodt, go slay your tests β¨π
π¦ 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