TESTING/LIN/zptt01.f(3)
π¦ 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 asZPTT01. 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βNisINTEGER. The order of the matrixA. πDβDisDOUBLE PRECISION array, dimension (N). Thendiagonal elements of the tridiagonal matrixA.EβEisCOMPLEX*16 array, dimension (N-1). The(n-1)subdiagonal elements of the tridiagonal matrixA.DFβDFisDOUBLE PRECISION array, dimension (N). Thendiagonal elements of the factorLfrom theL*D*L'factorization ofA.EFβEFisCOMPLEX*16 array, dimension (N-1). The(n-1)subdiagonal elements of the factorLfrom theL*D*L'factorization ofA.WORKβWORKisCOMPLEX*16 array, dimension (2*N). β¨RESIDβRESIDisDOUBLE 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
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms