TESTING/LIN/cgtt01.f(3)
π TESTING/LIN/cgtt01.f(3) π
okay so welcome to the Library Functions Manual page for TESTING/LIN/cgtt01.f, bestie β this is the cgtt01 function page, aka CGTT01, and we are keeping every single detail intact. No cap. π
β¨ NAME β¨
TESTING/LIN/cgtt01.f β the file page for cgtt01, aka CGTT01. π«
πΈ SYNOPSIS πΈ
β¨ Functions/Subroutines β¨
subroutine cgtt01βCGTT01
subroutine cgtt01 (n, dl, d, du, dlf, df, duf, du2, ipiv, work, ldwork,
rwork, resid)
π« Function/Subroutine Documentation π«
subroutine cgtt01 (integer n, complex, dimension( * ) dl, complex,
dimension( * ) d, complex, dimension( * ) du, complex, dimension( * )
dlf, complex, dimension( * ) df, complex, dimension( * ) duf, complex,
dimension( * ) du2, integer, dimension( * ) ipiv, complex, dimension(
ldwork, * ) work, integer ldwork, real, dimension( * ) rwork, real
resid)
CGTT01
π Purpose π
Okay so CGTT01 reconstructs a tridiagonal matrix A from its LU factorization and computes the residual
norm(L*U - A) / ( norm(A) * EPS ),
where EPS is the machine epsilon. π
π§ Parameters π§
Nβ isINTEGER; the order of the matrixA.N >= 0.DLβ isCOMPLEXarray, dimension(N-1); the(n-1)sub-diagonal elements ofA.Dβ isCOMPLEXarray, dimension(N); the diagonal elements ofA.DUβ isCOMPLEXarray, dimension(N-1); the(n-1)super-diagonal elements ofA.DLFβ isCOMPLEXarray, dimension(N-1); the(n-1)multipliers that define the matrixLfrom the LU factorization ofA.DFβ isCOMPLEXarray, dimension(N); thendiagonal elements of the upper triangular matrixUfrom the LU factorization ofA.DUFβ isCOMPLEXarray, dimension(N-1); the(n-1)elements of the first super-diagonal ofU.DU2β isCOMPLEXarray, dimension(N-2); the(n-2)elements of the second super-diagonal ofU.IPIVβ isINTEGERarray, dimension(N); the pivot indices; for1 <= i <= n, rowiof the matrix was interchanged with rowIPIV(i).IPIV(i)will always be eitheriori+1;IPIV(i) = iindicates a row interchange was not required.WORKβ isCOMPLEXarray, dimension(LDWORK,N).LDWORKβ isINTEGER; the leading dimension of the arrayWORK.LDWORK >= max(1,N).RWORKβ isREALarray, dimension(N).RESIDβ isREAL; the scaled residual:norm(L*U - A) / (norm(A) * EPS).
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 132 of file cgtt01.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay bye bestie β this page is from LAPACK, Version 3.12.0, for TESTING/LIN/cgtt01.f(3). The original footer didn't print a date, so I'm not inventing one, fr fr. πβ¨
π¦ 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