ZGTT02(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

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 matrix A. Constraint: N >= 0.
  • NRHS β€” NRHS is INTEGER. The number of right hand sides, i.e., the number of columns of the matrices B and X. Constraint: NRHS >= 0.
  • DL β€” DL is COMPLEX*16 array, dimension (N-1). The (n-1) sub-diagonal elements of A.
  • D β€” D is COMPLEX*16 array, dimension (N). The diagonal elements of A.
  • DU β€” DU is COMPLEX*16 array, dimension (N-1). The (n-1) super-diagonal elements of A.
  • X β€” X is COMPLEX*16 array, dimension (LDX,NRHS). The computed solution vectors X.
  • LDX β€” LDX is INTEGER. The leading dimension of the array X. 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, B is overwritten with the difference B - op(A)*X.
  • LDB β€” LDB is INTEGER. The leading dimension of the array B. 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