SGET02(3)

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

πŸ’– SGET02(3) β€” Library Functions Manual energy πŸ’–

okay so bestie, we're looking at SGET02(3) from the Library Functions Manual. The header path is /home/abui...IN/sget02.f(3), and then it says /home/abui...IN/sget02.f(3) again β€” yes, twice, it's giving duplicate-header energy πŸ’…. We folded that in so you don't have to stare at it.

✨ NAME ✨

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/sget02.f

πŸ¦‹ SYNOPSIS πŸ¦‹

Functions/Subroutines

subroutine SGET02 (trans, m, n, nrhs, a, lda, x, ldx, b, ldb, rwork,
    resid)
    SGET02

This is the synopsis vibe: SGET02 is a subroutine, and the full signature is right below. ✨

πŸ“š Function/Subroutine Documentation πŸ“š

🌟 subroutine SGET02 🌟

subroutine SGET02 (character trans, integer m, integer n, integer nrhs,
    real, dimension( lda, * ) a, integer lda, real, dimension( ldx, * ) x,
    integer ldx, real, dimension( ldb, * ) b, integer ldb, real, dimension(
    * ) rwork, real resid)

SGET02

🎯 Purpose 🎯

SGET02 computes the residual for a solution of a system of linear equations op(A)*X = B:

RESID = norm(B - op(A)*X) / ( norm(op(A)) * norm(X) * EPS ),

where op(A) = A or A**T, depending on TRANS, and EPS is the machine epsilon. The norm used is the 1-norm.

πŸŽ€ Parameters πŸŽ€

  • TRANS β€” CHARACTER*1. Specifies the form of the system of equations:
    • = 'N': A * X = B (No transpose) β€” no transpose.
    • = 'T': A**T * X = B (Transpose) β€” transpose.
    • = 'C': A**H * X = B (Conjugate transpose = Transpose) β€” conjugate transpose, which here is transpose.
  • M β€” INTEGER. The number of rows of the matrix A. M >= 0.
  • N β€” INTEGER. The number of columns of the matrix A. N >= 0.
  • NRHS β€” INTEGER. The number of columns of B, the matrix of right hand sides. NRHS >= 0.
  • A β€” REAL array, dimension (LDA,N). The original M x N matrix A.
  • LDA β€” INTEGER. The leading dimension of the array A. LDA >= max(1,M).
  • X β€” REAL array, dimension (LDX,NRHS). The computed solution vectors for the system of linear equations.
  • LDX β€” INTEGER. The leading dimension of the array X. If TRANS = 'N', LDX >= max(1,N); if TRANS = 'T' or 'C', LDX >= max(1,M).
  • B β€” REAL 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 β€” INTEGER. The leading dimension of the array B. IF TRANS = 'N', LDB >= max(1,M); if TRANS = 'T' or 'C', LDB >= max(1,N).
  • RWORK β€” REAL array, dimension (M).
  • RESID β€” REAL. The maximum over the number of right hand sides of 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 133 of file sget02.f.

πŸ“ Author πŸ“

Generated automatically by Doxygen for LAPACK from the source code.


okay bestie, that's the whole SGET02 page 🫢. Footer sign-off: LAPACK Version 3.12.0, and the footer path is /home/abui...IN/sget02.f(3) β€” she's iconic, periodt πŸ’…βœ¨

πŸ“¦ where this page comes from