TESTING/LIN/sptt02.f(3)
π¦ NAME π¦
okay bestie, this is TESTING/LIN/sptt02.f(3) from the Library Functions Manual, and it's literally all about the Fortran subroutine sptt02. slay π
π SYNOPSIS π
π Functions/Subroutines π
subroutine sptt02 (n, nrhs, d, e, x, ldx, b, ldb, resid)βSPTT02
π Function/Subroutine Documentation π
π¦ subroutine sptt02 (integer n, integer nrhs, real, dimension( * ) d, real, dimension( * ) e, real, dimension( ldx, * ) x, integer ldx, real, dimension( ldb, * ) b, integer ldb, real resid) π¦
SPTT02
π Purpose π
okay so SPTT02 computes the residual for the solution to a symmetric tridiagonal system of equations:
RESID = norm(B - A*X) / (norm(A) * norm(X) * EPS),
where EPS is the machine epsilon. periodt β¨
π§ Parameters π§
NβNis INTEGER. The order of the matrixA.NRHSβNRHSis INTEGER. The number of right hand sides, i.e., the number of columns of the matricesBandX.NRHS >= 0.DβDis REAL array, dimension(N). Thendiagonal elements of the tridiagonal matrixA.EβEis REAL array, dimension(N-1). The(n-1)subdiagonal elements of the tridiagonal matrixA.XβXis REAL array, dimension(LDX,NRHS). Thenbynrhsmatrix of solution vectorsX.LDXβLDXis INTEGER. The leading dimension of the arrayX.LDX >= max(1,N).BβBis REAL array, dimension(LDB,NRHS). On entry, thenbynrhsmatrix of right hand side vectorsB. On exit,Bis overwritten with the differenceB - A*X.LDBβLDBis INTEGER. The leading dimension of the arrayB.LDB >= max(1,N).RESIDβRESIDis REAL.norm(B - A*X) / (norm(A) * norm(X) * EPS).
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition at line 103 of file sptt02.f. π
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay bye bestie π«Ά the footer stamp is LAPACK, Version 3.12.0, TESTING/LIN/sptt02.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