TESTING/LIN/cptt02.f(3)
π NAME π
okay bestie, this is the Library Functions Manual page for TESTING/LIN/cptt02.f β yes, the manual name is folded right into the intro because we are not copy-pasting the header line, we are living it. It's the home of the CPTT02 routine, and we're gonna get into every last parameter. π«Ά
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine cptt02 (uplo, n, nrhs, d, e, x, ldx, b, ldb, resid)
CPTT02
π Function/Subroutine Documentation π
π« CPTT02 π«
subroutine cptt02 (character uplo, integer n, integer nrhs, real, dimension(
* ) d, complex, dimension( * ) e, complex, dimension( ldx, * ) x,
integer ldx, complex, dimension( ldb, * ) b, integer ldb, real resid)
CPTT02
π Purpose π
Okay so the whole purpose is: CPTT02 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 math, and it ate. π
π Parameters π
UPLOβ isCHARACTER*1. It specifies whether the superdiagonal or the subdiagonal of the tridiagonal matrixAis stored.= 'U':Eis the superdiagonal ofA.= 'L':Eis the subdiagonal ofA.Nβ isINTEGER. The order of the matrixA.NRHSβ isINTEGER. The number of right hand sides, i.e., the number of columns of the matricesBandX.NRHS >= 0.Dβ isREAL array, dimension (N). The n diagonal elements of the tridiagonal matrixA.Eβ isCOMPLEX array, dimension (N-1). The (n-1) subdiagonal elements of the tridiagonal matrixA.Xβ isCOMPLEX array, dimension (LDX,NRHS). The n by nrhs matrix of solution vectorsX.LDXβ isINTEGER. The leading dimension of the arrayX.LDX >= max(1,N).Bβ isCOMPLEX array, dimension (LDB,NRHS). On entry, the n by nrhs matrix of right hand side vectorsB. On exit,Bis overwritten with the differenceB - A*X.LDBβ isINTEGER. The leading dimension of the arrayB.LDB >= max(1,N).RESIDβ isREAL.norm(B - A*X) / (norm(A) * norm(X) * EPS)
π Author π
Shoutout to the author squad, no cap:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition at line 114 of file cptt02.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
Okay that's the whole page, bestie β mwah! π This footer energy is LAPACK, Version 3.12.0, and the page path is TESTING/LIN/cptt02.f(3). πβ¨
π¦ 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