TESTING/LIN/cgtt01.f(3)

πŸ“¦
version 3.12.1 Β· 2 versions
, in arch rolling

πŸ’… 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 β€” is INTEGER; the order of the matrix A. N >= 0.
  • DL β€” is COMPLEX array, dimension (N-1); the (n-1) sub-diagonal elements of A.
  • D β€” is COMPLEX array, dimension (N); the diagonal elements of A.
  • DU β€” is COMPLEX array, dimension (N-1); the (n-1) super-diagonal elements of A.
  • DLF β€” is COMPLEX array, dimension (N-1); the (n-1) multipliers that define the matrix L from the LU factorization of A.
  • DF β€” is COMPLEX array, dimension (N); the n diagonal elements of the upper triangular matrix U from the LU factorization of A.
  • DUF β€” is COMPLEX array, dimension (N-1); the (n-1) elements of the first super-diagonal of U.
  • DU2 β€” is COMPLEX array, dimension (N-2); the (n-2) elements of the second super-diagonal of U.
  • 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.
  • WORK β€” is COMPLEX array, dimension (LDWORK,N).
  • LDWORK β€” is INTEGER; the leading dimension of the array WORK. LDWORK >= max(1,N).
  • RWORK β€” is REAL array, dimension (N).
  • RESID β€” is REAL; 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