TESTING/LIN/sget04.f(3)

๐Ÿ“ฆ
version 3.12.1 ยท 2 versions
, in arch rolling

๐Ÿฆ‹ TESTING/LIN/sget04.f(3) โ€” Library Functions Manual ๐Ÿฆ‹

๐ŸŒธ NAME ๐ŸŒธ

TESTING/LIN/sget04.f โ€” thatโ€™s the page, bestie, and the manual name is Library Functions Manual. The actual subroutine living here is SGET04, and itโ€™s lowkey the main character of this file. ๐Ÿ’…

โœจ 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)

SGET04 โ€” yes, thatโ€™s the subroutine name, and it is absolutely the icon of this page. ๐Ÿ‘‘

๐ŸŽฏ Purpose ๐ŸŽฏ

SGET04 computes the difference between a computed solution and the true solution to a system of linear equations.

The formula is the whole vibe check:

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

where RCOND is the reciprocal of the condition number and EPS is the machine epsilon. No cap, thatโ€™s the math. ๐Ÿงฎโœจ

๐Ÿงฎ Parameters ๐Ÿงฎ

  • N โ€” INTEGER; the number of rows of the matrices X and XACT. N >= 0.
  • NRHS โ€” INTEGER; the number of columns of the matrices X and XACT. NRHS >= 0.
  • X โ€” REAL array, dimension (LDX,NRHS); the computed solution vectors. Each vector is stored as a column of the matrix X.
  • LDX โ€” INTEGER; the leading dimension of the array X. LDX >= max(1,N).
  • XACT โ€” REAL array, dimension( LDX, NRHS ); the exact solution vectors. Each vector is stored as a column of the matrix XACT.
  • LDXACT โ€” INTEGER; the leading dimension of the array XACT. LDXACT >= max(1,N).
  • RCOND โ€” REAL; the reciprocal of the condition number of the coefficient matrix in the system of equations.
  • RESID โ€” REAL; 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 ๐Ÿซถ โ€” footer vibes are LAPACK Version 3.12.0 and page TESTING/LIN/sget04.f(3). The footer didnโ€™t give me a date, so Iโ€™m not making one up. Periodt. ๐Ÿ’–

๐Ÿ“ฆ where this page comes from