TESTING/LIN/zptt02.f(3)
π NAME π
TESTING/LIN/zptt02.f β bestie, welcome to the TESTING/LIN/zptt02.f(3) page from the Library Functions Manual. This is the whole LAPACK test-routine vibe, and we are keeping every single detail. β¨
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
subroutine zptt02 (uplo, n, nrhs, d, e, x, ldx, b, ldb, resid)βZPTT02
π Function/Subroutine Documentation π
subroutine zptt02 (character uplo, integer n, integer nrhs, double
precision, dimension( * ) d, complex*16, dimension( * ) e, complex*16,
dimension( ldx, * ) x, integer ldx, complex*16, dimension( ldb, * ) b,
integer ldb, double precision resid)
ZPTT02 β iconic name, no notes needed beyond that.
π― Purpose π―
Okay so ZPTT02 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. That's the whole math moment. π₯
π Parameters π
UPLOβ isCHARACTER*1. It specifies whether the superdiagonal or the subdiagonal of the tridiagonal matrix A is stored.= 'U':Eis the superdiagonal of A.= 'L':Eis the subdiagonal of A.Nβ isINTEGER. The order of the matrix A.NRHSβ isINTEGER. The number of right hand sides, i.e., the number of columns of the matrices B and X.NRHS >= 0.Dβ isDOUBLE PRECISIONarray, dimension(N). The n diagonal elements of the tridiagonal matrix A.Eβ isCOMPLEX*16array, dimension(N-1). The(n-1)subdiagonal elements of the tridiagonal matrix A.Xβ isCOMPLEX*16array, dimension(LDX,NRHS). The n by nrhs matrix of solution vectors X.LDXβ isINTEGER. The leading dimension of the array X.LDX >= max(1,N).Bβ isCOMPLEX*16array, dimension(LDB,NRHS). On entry, the n by nrhs matrix of right hand side vectors B. On exit, B is overwritten with the differenceB - A*X.LDBβ isINTEGER. The leading dimension of the array B.LDB >= max(1,N).RESIDβ isDOUBLE PRECISION.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 114 of file zptt02.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
That's the whole page, bestie β source/version: LAPACK Version 3.12.0; footer date: not shown on this page; manual page: TESTING/LIN/zptt02.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