SGET01(3)

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

✨ SGET01(3) ✨ β€” like, the LAPACK testing file sget01.f bestie πŸ’…

okay so real quick, this page lives in the Library Functions Manual section, and it's documenting /home/abui...IN/sget01.f(3) β€” yes the path is giving "I was built in someone's rpmbuild directory" and honestly? iconic. πŸŽ€


🌸 NAME 🌸

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

like… that's the whole name. it's a whole path, bestie. she's long, she's specific, she's not sorry. πŸ¦‹


⭐ SYNOPSIS ⭐

Functions/Subroutines

subroutine SGET01 (m, n, a, lda, afac, ldafac, ipiv, rwork, resid)

SGET01 β€” that's her. that's the girl. πŸ‘‘


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

subroutine SGET01 (integer m, integer n, real, dimension( lda, * ) a,
    integer lda, real, dimension( ldafac, * ) afac, integer ldafac, integer,
    dimension( * ) ipiv, real, dimension( * ) rwork, real resid)

SGET01

🫢 Purpose:

!>
!> SGET01 reconstructs a matrix A from its L*U factorization and
!> computes the residual
!>    norm(L*U - A) / ( N * norm(A) * EPS ),
!> where EPS is the machine epsilon.
!>

so basically the vibe check here is: take a matrix A, rebuild her from her L*U factorization, and then compute that residual formula up there β€” norm(L*U - A) / ( N * norm(A) * EPS ) β€” where EPS is the machine epsilon. no cap, that's the whole job. 🧚


🌈 Parameters 🌈

  • M β€” M is INTEGER, bestie. it's the number of rows of the matrix A. and like, M >= 0, obviously. πŸ’œ
  • N β€” N is INTEGER. number of columns of the matrix A. constraint is N >= 0. periodt. ✨
  • A β€” A is REAL array, dimension (LDA,N). this is the original M x N matrix A. the main character, honestly. 🌟
  • LDA β€” LDA is INTEGER β€” the leading dimension of the array A. rule is LDA >= max(1,M). don't argue with her. πŸ’…
  • AFAC β€” AFAC is REAL array, dimension (LDAFAC,N). this one's the factored form of the matrix A β€” she contains the factors L and U from the L*U factorization as computed by SGETRF. and heads up 🚨: she gets overwritten with the reconstructed matrix, and then again with the difference L*U - A. she's been through some things. 😭
  • LDAFAC β€” LDAFAC is INTEGER β€” leading dimension of the array AFAC. LDAFAC >= max(1,M). same energy as LDA, different girl. πŸŽ€
  • IPIV β€” IPIV is INTEGER array, dimension (N). these are the pivot indices from SGETRF. slay. πŸ”₯
  • RWORK β€” RWORK is REAL array, dimension (M). that's it. that's the whole description. she's mysterious. πŸ¦‹
  • RESID β€” RESID is REAL, and it equals norm(L*U - A) / ( N * norm(A) * EPS ). the final girl. the payoff. the number you actually came here for. πŸ‘‘

πŸ‘‘ Author πŸ‘‘

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

the whole squad contributed, we love a collaborative moment 🫢

Definition at line 105 of file sget01.f.

so if you need to find her in the wild, line 105, file sget01.f. iykyk. πŸ“


πŸ’€ Author (yes, again)

Generated automatically by Doxygen for LAPACK from the source code. so she didn't even write this herself, a robot did, and honestly? she ate. πŸ€–βœ¨


okay that's the page!! stay hydrated, check your array bounds, and remember β€” leading dimensions are >= max(1,M), always and forever πŸ’–

🌺 this has been LAPACK, Version 3.12.0, dated /home/abui...IN/sget01.f(3) β€” mwah, bye bestie!! πŸŽ€πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from