SQRT17(3)

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

πŸ’… SQRT17(3) πŸ’…

Okay bestie, this page is from the LAPACK Library Functions Manual, and the header shorthand path is /home/abui...IN/sqrt17.f(3). The title is SQRT17(3), and she is here to compute a residual ratio with main-character energy. ✨


🌸 NAME 🌸

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

Yes, that whole snack is the name line. No cap. πŸ’–


✨ SYNOPSIS ✨

Functions/Subroutines

       real function SQRT17 (trans, iresid, m, n, nrhs, a, lda, x, ldx, b, ldb,
           c, work, lwork)
           SQRT17

πŸ¦‹ Function/Subroutine Documentation πŸ¦‹

   real function SQRT17 (character trans, integer iresid, 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( ldb, * ) c, real, dimension( lwork ) work, integer lwork)
       SQRT17

SQRT17 is literally the function name, and she is serving. 🫢

πŸŽ€ Purpose πŸŽ€

SQRT17 computes the ratio:

norm(R**T * op(A)) / ( norm(A) * alpha * max(M,N,NRHS) * EPS ),

where:

R = B - op(A)*X

op(A) is A or A**T, depending on TRANS. EPS is the machine epsilon, and:

alpha = norm(B) if IRESID = 1 (zero-residual problem)
alpha = norm(R) if IRESID = 2 (otherwise).

The norm used is the 1-norm. Iconic. 🌈


πŸ’– Parameters πŸ’–

  • TRANS β€” TRANS is CHARACTER*1. Specifies whether or not the transpose of A is used.
    • = 'N': No transpose, op(A) = A.
    • = 'T': Transpose, op(A) = A**T.
  • IRESID β€” IRESID is INTEGER.
    • IRESID = 1 indicates zero-residual problem.
    • IRESID = 2 indicates non-zero residual.
  • M β€” M is INTEGER. The number of rows of the matrix A.
    • If TRANS = 'N', the number of rows of the matrix B.
    • If TRANS = 'T', the number of rows of the matrix X.
  • N β€” N is INTEGER. The number of columns of the matrix A.
    • If TRANS = 'N', the number of rows of the matrix X.
    • If TRANS = 'T', the number of rows of the matrix B.
  • NRHS β€” NRHS is INTEGER. The number of columns of the matrices X and B.
  • A β€” A is REAL array, dimension (LDA,N). The m-by-n matrix A.
  • LDA β€” LDA is INTEGER. The leading dimension of the array A. LDA >= M.
  • X β€” X is REAL array, dimension (LDX,NRHS).
    • If TRANS = 'N', the n-by-nrhs matrix X.
    • If TRANS = 'T', the m-by-nrhs matrix X.
  • LDX β€” LDX is INTEGER. The leading dimension of the array X.
    • If TRANS = 'N', LDX >= N.
    • If TRANS = 'T', LDX >= M.
  • B β€” B is REAL array, dimension (LDB,NRHS).
    • If TRANS = 'N', the m-by-nrhs matrix B.
    • If TRANS = 'T', the n-by-nrhs matrix B.
  • LDB β€” LDB is INTEGER. The leading dimension of the array B.
    • If TRANS = 'N', LDB >= M.
    • If TRANS = 'T', LDB >= N.
  • C β€” C is REAL array, dimension (LDB,NRHS).
  • WORK β€” WORK is REAL array, dimension (LWORK).
  • LWORK β€” LWORK is INTEGER. The length of the array WORK. LWORK >= NRHS*(M+N).

πŸ‘‘ Author πŸ‘‘

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

πŸ“ Definition at line 151 of file sqrt17.f. πŸ“

That’s the exact spot: line 151 of sqrt17.f. Slay. πŸ’…


πŸͺ„ Author πŸͺ„

Generated automatically by Doxygen for LAPACK from the source code.


Sign-off time, bestie: LAPACK, Version 3.12.0 β€” source /home/abui...IN/sqrt17.f(3) β€” the footer didn’t print a date, but the vibe is timeless πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from