SGERFS(3)

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

πŸ’… SGERFS(3) β€” like, the LAPACK manual, but make it make sense

okay so bestie, welcome to the LAPACK girlies' corner πŸ’– this is from Version 3.12.0, and the whole thing lives at /home/abui...RC/sgerfs.f(3) β€” yes the path is truncated in the header, that's just how it is, we don't fix it, we respect it πŸŽ€


✨ NAME ✨

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/sgerfs.f β€” that's the file, that's the whole name section, she's literally just a path and honestly? iconic. πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

Functions/Subroutines

subroutine SGERFS (trans, n, nrhs, a, lda, af, ldaf, ipiv, b, ldb, x,
    ldx, ferr, berr, work, iwork, info)

SGERFS β€” that's her, that's the girl 🌸


🧚 Function/Subroutine Documentation 🧚

subroutine SGERFS (character trans, integer n, integer nrhs, real,
    dimension( lda, * ) a, integer lda, real, dimension( ldaf, * ) af,
    integer ldaf, integer, dimension( * ) ipiv, real, dimension( ldb, * ) b,
    integer ldb, real, dimension( ldx, * ) x, integer ldx, real, dimension(
    * ) ferr, real, dimension( * ) berr, real, dimension( * ) work, integer,
    dimension( * ) iwork, integer info)

SGERFS

πŸ’œ Purpose:

!> !> SGERFS improves the computed solution to a system of linear !> equations and provides error bounds and backward error estimates for !> the solution. !>

ngl bestie, that's the whole gig: you already got a solution, she makes it better and then hands you receipts for how wrong it might still be. main character energy fr fr ✨


🌈 Parameters 🌈

  • TRANS β€” bestie this is a CHARACTER*1 and it picks which version of the system you're solving. the vibes are:
    • = 'N': A * X = B (No transpose)
    • = 'T': A**T * X = B (Transpose)
    • = 'C': A**H * X = B (Conjugate transpose = Transpose)
  • N β€” N is INTEGER. it's the order of the matrix A. rule: N >= 0. no negative girlies allowed 🚫
  • NRHS β€” NRHS is INTEGER. the number of right hand sides, aka the number of columns of the matrices B and X. rule: NRHS >= 0. 🫢
  • A β€” A is REAL array, dimension (LDA,N). the original N-by-N matrix A. the OG. the blueprint. πŸ’–
  • LDA β€” LDA is INTEGER. the leading dimension of the array A. rule: LDA >= max(1,N). ⭐
  • AF β€” AF is REAL array, dimension (LDAF,N). the factors L and U from the factorization A = P*L*U as computed by SGETRF. she's the pre-chewed version, we love a shortcut πŸ“
  • LDAF β€” LDAF is INTEGER. the leading dimension of the array AF. rule: LDAF >= max(1,N). 🌸
  • IPIV β€” IPIV is INTEGER array, dimension (N). the pivot indices from SGETRF; for 1<=i<=N, row i of the matrix was interchanged with row IPIV(i). the swap receipts πŸ’…
  • B β€” B is REAL array, dimension (LDB,NRHS). the right hand side matrix B. πŸŽ€
  • LDB β€” LDB is INTEGER. the leading dimension of the array B. rule: LDB >= max(1,N). πŸ¦‹
  • X β€” X is REAL array, dimension (LDX,NRHS). on entry, the solution matrix X, as computed by SGETRS. on exit, the improved solution matrix X. she goes in mid and comes out ✨glowed up✨
  • LDX β€” LDX is INTEGER. the leading dimension of the array X. rule: LDX >= max(1,N). πŸ’œ
  • FERR β€” FERR is REAL array, dimension (NRHS). the estimated forward error bound for each solution vector X(j) (the j-th column of the solution matrix X). if XTRUE is the true solution corresponding to X(j), FERR(j) is an estimated upper bound for the magnitude of the largest element in (X(j) - XTRUE) divided by the magnitude of the largest element in X(j). the estimate is as reliable as the estimate for RCOND, and is almost always a slight overestimate of the true error. so like… she's a lil dramatic, she rounds up, but she's trustworthy 😭
  • BERR β€” BERR is REAL array, dimension (NRHS). the componentwise relative backward error of each solution vector X(j) (i.e., the smallest relative change in any element of A or B that makes X(j) an exact solution). the "how much would i have to fudge the inputs to make this technically correct" number πŸ’€
  • WORK β€” WORK is REAL array, dimension (3*N). scratch space, mind your business πŸ”₯
  • IWORK β€” IWORK is INTEGER array, dimension (N). also scratch space, integer flavoured 🧚
  • INFO β€” INFO is INTEGER. the vibe check:
    • = 0: successful exit
    • < 0: if INFO = -i, the i-th argument had an illegal value

πŸ‘‘ Internal Parameters: πŸ‘‘

!> ITMAX is the maximum number of steps of iterative refinement. !>

that's it, that's the whole internal tea β˜•


🌺 Author 🌺

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

Definition at line 183 of file sgerfs.f. πŸ“


πŸŽ€ Author (again, but the auto-gen one) πŸŽ€

Generated automatically by Doxygen for LAPACK from the source code. she wasn't hand-written, she was born this way πŸ€–πŸ’–


okay bestie that's the whole page, no cap, nothing skipped 🫢

LAPACK, Version 3.12.0 β€” and the file is /home/abui...RC/sgerfs.f(3), mwah, bye, go refine some solutions iteratively πŸ’…βœ¨

πŸ“¦ where this page comes from