SGET04(3)

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

🌸 NAME

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

Okay bestie, this is the SGET04(3) page β€” specifically the sget04.f(3) manpage from the Library Functions Manual. And yes, the whole path above is literally the NAME. We are not editing it. Periodt. πŸ’…


✨ SYNOPSIS ✨

πŸ› οΈ Functions/Subroutines

subroutine SGET04 (n, nrhs, x, ldx, xact, ldxact, rcond, resid)
    SGET04

🧚 Function/Subroutine Documentation 🧚

subroutine SGET04 (integer n, integer nrhs, real, dimension( ldx, * ) x,
    integer ldx, real, dimension( ldxact, * ) xact, integer ldxact, real
    rcond, real resid)

This one is SGET04, no cap. 🫢

🎯 Purpose

SGET04 computes the difference between a computed solution and the true solution to a system of linear equations. It’s giving math-girl main character energy. 😭✨

Here’s the exact formula vibe:

RESID =  ( norm(X-XACT) * RCOND ) / ( norm(XACT) * EPS ),

where RCOND is the reciprocal of the condition number and EPS is the machine epsilon. πŸ’–

🧾 Parameters

  • N β€” N is INTEGER; it’s the number of rows of the matrices X and XACT. N >= 0. 🌸
  • NRHS β€” NRHS is INTEGER; it’s the number of columns of the matrices X and XACT. NRHS >= 0. πŸ¦‹
  • X β€” X is a REAL array, dimension (LDX,NRHS); these are the computed solution vectors, and each vector is stored as a column of the matrix X. πŸ’…
  • LDX β€” LDX is INTEGER; it’s the leading dimension of the array X. LDX >= max(1,N). πŸ”₯
  • XACT β€” XACT is a REAL array, dimension ( LDX, NRHS ); these are the exact solution vectors, and each vector is stored as a column of the matrix XACT. πŸ‘‘
  • LDXACT β€” LDXACT is INTEGER; it’s the leading dimension of the array XACT. LDXACT >= max(1,N). 🌈
  • RCOND β€” RCOND is REAL; it’s the reciprocal of the condition number of the coefficient matrix in the system of equations. ⭐
  • RESID β€” RESID is REAL; it’s the maximum over the NRHS solution vectors of ( norm(X-XACT) * RCOND ) / ( norm(XACT) * EPS ). πŸ’€

πŸ‘‘ Author

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

Definition at line 101 of file sget04.f.

πŸ‘‘ Author

Generated automatically by Doxygen for LAPACK from the source code.


πŸ’– That’s the whole page, bestie β€” the footer has LAPACK Version 3.12.0 and /home/abui...IN/sget04.f(3). Iconic. πŸŽ€

πŸ“¦ where this page comes from