SGET01(3)
β¨ 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 matrixA. and like,M >= 0, obviously. πNβN is INTEGER. number of columns of the matrixA. constraint isN >= 0. periodt. β¨AβA is REAL array, dimension (LDA,N). this is the originalM x NmatrixA. the main character, honestly. πLDAβLDA is INTEGERβ the leading dimension of the arrayA. rule isLDA >= max(1,M). don't argue with her. πAFACβAFAC is REAL array, dimension (LDAFAC,N). this one's the factored form of the matrixAβ she contains the factorsLandUfrom theL*Ufactorization as computed bySGETRF. and heads up π¨: she gets overwritten with the reconstructed matrix, and then again with the differenceL*U - A. she's been through some things. πLDAFACβLDAFAC is INTEGERβ leading dimension of the arrayAFAC.LDAFAC >= max(1,M). same energy asLDA, different girl. πIPIVβIPIV is INTEGER array, dimension (N). these are the pivot indices fromSGETRF. 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 equalsnorm(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
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms