CPTT02(3)
okay so this is the cptt02.f(3) page, and yes bestie, it's from the Library Functions Manual π
β¨
π NAME π
the name block is literally this path, no edits, no renaming, no cap:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/cptt02.f
β¨ SYNOPSIS β¨
Functions/Subroutines π§
subroutine CPTT02 (uplo, n, nrhs, d, e, x, ldx, b, ldb, resid)βCPTT02, that's the whole vibe.
π οΈ Function/Subroutine Documentation π οΈ
here's the full signature, copied exactly:
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 β yep, same main character energy, same exact name π
Purpose π‘
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. lowkey iconic.
Parameters π
UPLOβUPLO is CHARACTER*1, and it specifies whether the superdiagonal or the subdiagonal of the tridiagonal matrixAis stored. The values are:= 'U': E is the superdiagonal of A;= 'L': E is the subdiagonal of A. those are the only two, periodt.NβN is INTEGER, and it's the order of the matrixA.NRHSβNRHS is INTEGER, the number of right hand sides, i.e., the number of columns of the matricesBandX. Also,NRHS >= 0. bestie, keep it non-negative.DβD is REAL array, dimension (N), and it holds the n diagonal elements of the tridiagonal matrixA.EβE is COMPLEX array, dimension (N-1), and it holds the (n-1) subdiagonal elements of the tridiagonal matrixA.XβX is COMPLEX array, dimension (LDX,NRHS), the n by nrhs matrix of solution vectorsX.LDXβLDX is INTEGER, the leading dimension of the arrayX. AndLDX >= max(1,N). no skipping that check πBβB is COMPLEX array, dimension (LDB,NRHS). On entry, it's the n by nrhs matrix of right hand side vectorsB. On exit,Bis overwritten with the differenceB - A*X. yes, it gets changed, so don't act surprised.LDBβLDB is INTEGER, the leading dimension of the arrayB. AndLDB >= max(1,N). same energy asLDX, fr fr.RESIDβRESID is REAL, and it equalsnorm(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 cptt02.f.
Author β¨
Generated automatically by Doxygen for LAPACK from the source code.
okay bestie, cute sign-off time π the footer's source/version situation is LAPACK, Version 3.12.0, and the path /home/abui...IN/cptt02.f(3) β no separate date printed, just those footer bits. slay and goodbye π
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms