CGTT01(3)
π NAME π
ok so this is the manual page for /home/abui...IN/cgtt01.f(3) β it lives in the Library Functions Manual section, bestie. And the star of the show is the file /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/cgtt01.f, which is a whole lot of path but likeβ¦ that's literally where it lives, no cap.
β¨ SYNOPSIS β¨
Functions/Subroutines π«Ά
subroutine CGTT01 (n, dl, d, du, dlf, df, duf, du2, ipiv, work, ldwork,
rwork, resid)
CGTT01 β that's the girl. main character energy fr fr.
π 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 πΈ
!> !> 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. !>
so basically she takes the LU factorization, rebuilds A from it, and then checks how close norm(L*U - A) / ( norm(A) * EPS ) comes out β with EPS being the machine epsilon. vibe check for your factorization, literally.
π¦ Parameters π¦
Nβ!> N is INTEGERβ!> The order of the matrix A. N >= 0.β so like, how big the matrix is.N >= 0bestie, zero is allowed, negative is NOT the move.DLβ!> DL is COMPLEX array, dimension (N-1)β!> The (n-1) sub-diagonal elements of A.β the under-the-diagonal girlies, there'sN-1of them.Dβ!> D is COMPLEX array, dimension (N)β!> The diagonal elements of A.β the main diagonal,Nof them, iconic.DUβ!> DU is COMPLEX array, dimension (N-1)β!> The (n-1) super-diagonal elements of A.β the above-the-diagonal ones,N-1again.DLFβ!> DLF is COMPLEX array, dimension (N-1)β!> The (n-1) multipliers that define the matrix L from the!> LU factorization of A.β the multipliers doing the defining ofL. slay.DFβ!> DF is COMPLEX array, dimension (N)β!> The n diagonal elements of the upper triangular matrix U from!> the LU factorization of A.βndiagonal elements ofU, the upper triangular icon.DUFβ!> DUF is COMPLEX array, dimension (N-1)β!> The (n-1) elements of the first super-diagonal of U.β first super-diagonal ofU,N-1elements, we love her.DU2β!> DU2 is COMPLEX array, dimension (N-2)β!> The (n-2) elements of the second super-diagonal of U.β second super-diagonal,N-2elements. note theN-2ok don't come for me.IPIVβ!> IPIV is INTEGER array, dimension (N)β!> The pivot indices; for 1 <= i <= n, row i of the matrix was!> interchanged with row IPIV(i). IPIV(i) will always be either!> i or i+1; IPIV(i) = i indicates a row interchange was not!> required.β so for1 <= i <= n, rowigot swapped with rowIPIV(i). andIPIV(i)is always eitheriori+1. ifIPIV(i) = ithen no row interchange was needed, she stayed put πWORKβ!> WORK is COMPLEX array, dimension (LDWORK,N)β that's the workspace, dimension(LDWORK,N).LDWORKβ!> LDWORK is INTEGERβ!> The leading dimension of the array WORK. LDWORK >= max(1,N).β leading dimension ofWORK, and it must beLDWORK >= max(1,N)π₯RWORKβ!> RWORK is REAL array, dimension (N)β real array, dimension(N), doing real-girl things.RESIDβ!> RESID is REALβ!> The scaled residual: norm(L*U - A) / (norm(A) * EPS)β the moment of truth, the scaled residual,norm(L*U - A) / (norm(A) * EPS). this is THE number.
π 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. not a human, just vibes and a script π§
and that's the whole page bestie π β cute little sign-off: this is LAPACK, Version 3.12.0, dated /home/abui...IN/cgtt01.f(3) π
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms