TESTING/LIN/dget08.f(3)

πŸ“¦
version 3.12.1 Β· 3 versions
, in arch rolling

🌸 TESTING/LIN/dget08.f(3) 🌸

Hey bestie πŸ’– you're looking at the Library Functions Manual page for TESTING/LIN/dget08.f(3) β€” yes, the LAPACK testing/LIN corner of the universe. This one is all about DGET08, a subroutine that does residual math for linear systems, and we are gonna cover every single argument because that's the vibe. ✨


πŸŽ€ NAME πŸŽ€

TESTING/LIN/dget08.f

✨ SYNOPSIS ✨

🧚 Functions/Subroutines 🧚

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

DGET08

πŸ’– Function/Subroutine Documentation πŸ’–

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

DGET08

🎯 Purpose

DGET08 computes the residual for a solution of a system of linear equations

A*x = b  or  A'*x = b:
   RESID = norm(B - A*X,inf) / ( norm(A,inf) * norm(X,inf) * EPS ),

where EPS is the machine epsilon. Periodt. πŸ’…

πŸ“‹ Parameters

Okay bestie, here's every parameter β€” no skipping, no summarizing, we're doing the whole list. 🫢

  • TRANS β€” CHARACTER*1. Specifies the form of the system of equations:
    • = 'N': A *x = b
    • = 'T': A'*x = b, where A' is the transpose of A
    • = 'C': A'*x = b, where A' is the transpose of A
  • 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 β€” DOUBLE PRECISION 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 β€” DOUBLE PRECISION 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 β€” DOUBLE PRECISION 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 - 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 β€” DOUBLE PRECISION array, dimension (M). 🌈
  • RESID β€” DOUBLE PRECISION. The maximum over the number of right hand sides of norm(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 131 of file dget08.f.

🧚 Author 🧚

Generated automatically by Doxygen for LAPACK from the source code.


Okay that's the whole page, bestie! 🫢 This is from LAPACK, Version 3.12.0, and it's the TESTING/LIN/dget08.f(3) page. The footer doesn't list a date, so no fake date energy here β€” auto-generated by Doxygen for LAPACK from the source code, periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from