TESTING/LIN/sptt01.f(3)

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

πŸŽ€ NAME πŸŽ€

TESTING/LIN/sptt01.f β€” bestie, this is the LAPACK testing routine page for sptt01, and it's literally here to vibe-check a tridiagonal matrix reconstruction. πŸ’–


✨ SYNOPSIS ✨

Functions/Subroutines

  • subroutine sptt01 (n, d, e, df, ef, work, resid) β€” SPTT01

πŸ’… Function/Subroutine Documentation πŸ’…

subroutine sptt01 (integer n, real, dimension( * ) d, real, dimension( * ) e, real, dimension( * ) df, real, dimension( * ) ef, real, dimension( * ) work, real resid)

SPTT01

🌟 Purpose 🌟

Okay so SPTT01 reconstructs a tridiagonal matrix A from its L*D*L' factorization and computes the residual:

norm(L*D*L' - A) / ( n * norm(A) * EPS ),

where EPS is the machine epsilon. Periodt. 🫢

πŸ“ Parameters πŸ“

  • N β€” N is INTEGER. The order of the matrix A. Slay, we know the size now. ✨
  • D β€” D is REAL array, dimension (N). The n diagonal elements of the tridiagonal matrix A. Iconic diagonal behavior. πŸ’…
  • E β€” E is REAL array, dimension (N-1). The (n-1) subdiagonal elements of the tridiagonal matrix A. Not me keeping track of every subdiagonal element 😭
  • DF β€” DF is REAL array, dimension (N). The n diagonal elements of the factor L from the L*D*L' factorization of A. Main character factor energy. πŸ‘‘
  • EF β€” EF is REAL array, dimension (N-1). The (n-1) subdiagonal elements of the factor L from the L*D*L' factorization of A. Bestie, this is the subdiagonal lore. 🌸
  • WORK β€” WORK is REAL array, dimension (2*N). Workspace, doing quiet background support like the real MVP. 🧚
  • RESID β€” RESID is REAL. It's the residual norm(L*D*L' - A) / (n * norm(A) * EPS). The vibe check result itself, no cap. πŸ”₯

πŸ‘‘ Author πŸ‘‘

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

Definition at line 90 of file sptt01.f. πŸŽ€


🌈 Author 🌈

Generated automatically by Doxygen for LAPACK from the source code.


πŸ’– Stay slay, bestie β€” this cutie is from LAPACK Version 3.12.0, source TESTING/LIN/sptt01.f(3). πŸ’…βœ¨

πŸ“¦ where this page comes from