SGTT01(3)

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

🌸 NAME 🌸

okay bestie, this is SGTT01(3) from the Library Functions Manual β€” and the header path-y bit is /home/abui...IN/sgtt01.f(3). The NAME section is literally this file, no cap:

  • /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/sgtt01.f β€” that's the whole NAME vibe. πŸ’…

✨ SYNOPSIS ✨

πŸ¦‹ Functions/Subroutines πŸ¦‹

Here's the subroutine, bestie β€” say it with me:

   subroutine SGTT01 (n, dl, d, du, dlf, df, duf, du2, ipiv, work, ldwork,
           rwork, resid)
           SGTT01

πŸ“š Function/Subroutine Documentation πŸ“š

This one is giving SGTT01 main character energy. Full signature, exactly as it appears:

   subroutine SGTT01 (integer n, real, dimension( * ) dl, real, dimension( * )
       d, real, dimension( * ) du, real, dimension( * ) dlf, real, dimension( *
       ) df, real, dimension( * ) duf, real, dimension( * ) du2, integer,
       dimension( * ) ipiv, real, dimension( ldwork, * ) work, integer ldwork,
       real, dimension( * ) rwork, real resid)
       SGTT01

🎯 Purpose 🎯

SGTT01 reconstructs a tridiagonal matrix A from its LU factorization, then computes the residual:

norm(L*U - A) / ( norm(A) * EPS ),

where EPS is the machine epsilon. That's the whole purpose, periodt. πŸ’–

🧾 Parameters 🧾

πŸ’– N πŸ’–

N is an INTEGER. It's the order of the matrix A, and bestie, N >= 0. πŸ’…

πŸ“ DL πŸ“

DL is a REAL array, dimension (N-1). It holds the (n-1) sub-diagonal elements of A.

🌸 D 🌸

D is a REAL array, dimension (N). It holds the diagonal elements of A.

πŸ¦‹ DU πŸ¦‹

DU is a REAL array, dimension (N-1). It holds the (n-1) super-diagonal elements of A.

πŸŽ€ DLF πŸŽ€

DLF is a REAL array, dimension (N-1). It holds the (n-1) multipliers that define the matrix L from the LU factorization of A.

✨ DF ✨

DF is a REAL array, dimension (N). It holds the n diagonal elements of the upper triangular matrix U from the LU factorization of A.

πŸ’œ DUF πŸ’œ

DUF is a REAL array, dimension (N-1). It holds the (n-1) elements of the first super-diagonal of U.

🌈 DU2 🌈

DU2 is a REAL array, dimension (N-2). It holds the (n-2) elements of the second super-diagonal of U.

πŸ‘‘ IPIV πŸ‘‘

IPIV is an INTEGER array, dimension (N). These are 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. (iykyk pivot tea β˜•)

🧚 WORK 🧚

WORK is a REAL array, dimension (LDWORK,N).

πŸ”₯ LDWORK πŸ”₯

LDWORK is an INTEGER. It's the leading dimension of the array WORK, and LDWORK >= max(1,N). Important, bestie.

⭐ RWORK ⭐

RWORK is a REAL array, dimension (N).

πŸ’€ RESID πŸ’€

RESID is a REAL. It's the scaled residual: norm(L*U - A) / (norm(A) * EPS). The math is mathing. 🫢

πŸ‘‘ Author πŸ‘‘

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

πŸ“ Definition at line 132 of file sgtt01.f πŸ“

Definition at line 132 of file sgtt01.f.


✨ Author ✨

This page was generated automatically by Doxygen for LAPACK from the source code β€” very demure, very automated. πŸ’–


bye bestie 🫢 β€” footer vibes are LAPACK Version 3.12.0 and /home/abui...IN/sgtt01.f(3). Mwah πŸ’‹

πŸ“¦ where this page comes from