CGTT01(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

πŸ’… 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 >= 0 bestie, 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's N-1 of them.
  • D β€” !> D is COMPLEX array, dimension (N) β€” !> The diagonal elements of A. β€” the main diagonal, N of them, iconic.
  • DU β€” !> DU is COMPLEX array, dimension (N-1) β€” !> The (n-1) super-diagonal elements of A. β€” the above-the-diagonal ones, N-1 again.
  • 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 of L. slay.
  • DF β€” !> DF is COMPLEX array, dimension (N) β€” !> The n diagonal elements of the upper triangular matrix U from !> the LU factorization of A. β€” n diagonal elements of U, 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 of U, N-1 elements, 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-2 elements. note the N-2 ok 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 for 1 <= i <= n, row i got swapped with row IPIV(i). and IPIV(i) is always either i or i+1. if IPIV(i) = i then 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 of WORK, and it must be LDWORK >= 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