TESTING/LIN/zptt01.f(3)

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

πŸ¦‹ zptt01.f β€” LAPACK testing routine πŸ¦‹

okay so this is the manual page for TESTING/LIN/zptt01.f(3) β€” yes, a Library Functions Manual moment, and it’s literally all about one tiny subroutine. bestie, buckle up πŸ’–


✨ NAME ✨

TESTING/LIN/zptt01.f β€” that’s the name. iconic, no notes. πŸ’…

🌸 SYNOPSIS 🌸

Functions/Subroutines

  • subroutine zptt01 (n, d, e, df, ef, work, resid) β€” the one and only routine, also known as ZPTT01. slay. ✨

🌟 Function/Subroutine Documentation 🌟

Here’s the full signature, exactly as the source says it, bestie:

subroutine zptt01 (integer n, double precision, dimension( * ) d,
       complex*16, dimension( * ) e, double precision, dimension( * ) df,
       complex*16, dimension( * ) ef, complex*16, dimension( * ) work, double
       precision resid)

ZPTT01 β€” that’s the routine name. main character energy, fr fr. 🫢

🧚 Purpose 🧚

The glow-up math is literally this:

!>
!> ZPTT01 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.
!>

So yes: it rebuilds a tridiagonal matrix A from its L*D*L' factorization, then computes that residual. no cap, that’s the whole purpose. πŸ”₯

πŸŽ€ Parameters πŸŽ€

  • N β€” N is INTEGER. The order of the matrix A. πŸ’–
  • D β€” D is DOUBLE PRECISION array, dimension (N). The n diagonal elements of the tridiagonal matrix A.
  • E β€” E is COMPLEX*16 array, dimension (N-1). The (n-1) subdiagonal elements of the tridiagonal matrix A.
  • DF β€” DF is DOUBLE PRECISION array, dimension (N). The n diagonal elements of the factor L from the L*D*L' factorization of A.
  • EF β€” EF is COMPLEX*16 array, dimension (N-1). The (n-1) subdiagonal elements of the factor L from the L*D*L' factorization of A.
  • WORK β€” WORK is COMPLEX*16 array, dimension (2*N). ✨
  • RESID β€” RESID is DOUBLE PRECISION. norm(L*D*L' - A) / (n * norm(A) * EPS). πŸ’…

πŸ‘‘ Author πŸ‘‘

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

Definition at line 91 of file zptt01.f. πŸŽ€

πŸ’» Author πŸ’»

Generated automatically by Doxygen for LAPACK from the source code.


okay bye bestie πŸ’‹ β€” source/version vibes: LAPACK, Version 3.12.0, for TESTING/LIN/zptt01.f(3). mwah! πŸ¦‹πŸ’–

πŸ“¦ where this page comes from