ZGTT02(3)
okay bestie, welcome to the zgtt02.f(3) page from the Library Functions Manual β header check done, now letβs get into the LAPACK of it all π
β¨
π·οΈ NAME
The NAME section is literally one long path, no cap: /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/zgtt02.f π«Ά
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine ZGTT02 (trans, n, nrhs, dl, d, du, x, ldx, b, ldb, resid)
ZGTT02
ZGTT02 β thatβs the subroutine, bestie. π
π« Function/Subroutine Documentation π«
subroutine ZGTT02 (character trans, integer n, integer nrhs, complex*16,
dimension( * ) dl, complex*16, dimension( * ) d, complex*16, dimension(
* ) du, complex*16, dimension( ldx, * ) x, integer ldx, complex*16,
dimension( ldb, * ) b, integer ldb, double precision resid)
ZGTT02
ZGTT02 β yes, again, the subroutine name. Iconic repetition, honestly. π
π― Purpose
Okay so ZGTT02 computes the residual for the solution to a tridiagonal system of equations:
RESID = norm(B - op(A)*X) / (norm(op(A)) * norm(X) * EPS),
where EPS is the machine epsilon. β
π§© Parameters
TRANSβTRANS is CHARACTER. It specifies the form of the residual:= 'N':B - A * X (No transpose)= 'T':B - A**T * X (Transpose)= 'C':B - A**H * X (Conjugate transpose)
NβN is INTEGER. The order of the matrixA. Constraint:N >= 0.NRHSβNRHS is INTEGER. The number of right hand sides, i.e., the number of columns of the matricesBandX. Constraint:NRHS >= 0.DLβDL is COMPLEX*16 array, dimension (N-1). The(n-1)sub-diagonal elements ofA.DβD is COMPLEX*16 array, dimension (N). The diagonal elements ofA.DUβDU is COMPLEX*16 array, dimension (N-1). The(n-1)super-diagonal elements ofA.XβX is COMPLEX*16 array, dimension (LDX,NRHS). The computed solution vectorsX.LDXβLDX is INTEGER. The leading dimension of the arrayX. Constraint:LDX >= max(1,N).BβB is COMPLEX*16 array, dimension (LDB,NRHS). On entry, the right hand side vectors for the system of linear equations. On exit,Bis overwritten with the differenceB - op(A)*X.LDBβLDB is INTEGER. The leading dimension of the arrayB. Constraint:LDB >= max(1,N).RESIDβRESID is DOUBLE PRECISION.norm(B - op(A)*X) / (norm(op(A)) * norm(X) * EPS).
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 122 of file zgtt02.f. π
πͺ Author
Generated automatically by Doxygen for LAPACK from the source code.
okay thatβs the whole page, bestie π β footer sign-off: LAPACK, Version 3.12.0, and the path /home/abui...IN/zgtt02.f(3). Slay and bye π«Άβ¨
π¦ 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