SGET36(3)
π SGET36(3) β the one where we vibe-check STREXC π
okay bestie, so this page lives in the lapack family β it's sget36.f, straight out of /home/abui...IG/sget36.f(3), and honestly it's giving "test suite main character." let's get into it β¨
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/EIG/sget36.f
yep, that's the whole name, it's a whole file path, she's long, she's iconic, we respect her π
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
subroutine SGET36 (rmax, lmax, ninfo, knt, nin)β this is the one, this is her, this isSGET36π«Ά
π Function/Subroutine Documentation π
subroutine SGET36 (real rmax, integer lmax, integer, dimension( 3 ) ninfo,
integer knt, integer nin)
SGET36 β say it with me, she's THE tester π₯
π Purpose:
so the whole point, no cap:
SGET36testsSTREXC, a routine for moving blocks (either 1 by 1 or 2 by 2) on the diagonal of a matrix in real Schur form. Thus,SLAEXCcomputes an orthogonal matrixQsuch that
Q' * T1 * Q = T2
and where one of the diagonal blocks ofT1(the one at rowIFST) has been moved to positionILST.
like, the block at row IFST gets yeeted over to position ILST, and Q is orthogonal, periodt π«
then, the receipts:
The test code verifies that the residualQ'*T1*Q-T2is small, thatT2is in Schur form, and that the final position of theIFSTblock isILST(within +-1).
three whole vibe checks bestie: residual small? β
Schur form? β
block landed at ILST within Β±1? β
The test matrices are read from a file with logical unit number NIN.
that's the tea β test matrices come in from a file, on logical unit NIN π
π§ Parameters π§
RMAXβRMAX is REAL. it's the value of the largest test ratio π the biggest one, she's the record holder.LMAXβLMAX is INTEGER. it's the example number where that largest test ratio was achieved π like which test case popped off hardest.NINFOβNINFO is INTEGER array, dimension (3). andNINFO(J)is the number of examples whereINFO=Jπ so it's just tallying up all theINFOvalues, 1, 2, 3, keepin' score.KNTβKNT is INTEGER. total number of examples tested π’ like how many we ran, total, fr fr.NINβNIN is INTEGER. input logical unit number π that's the file handle, iykyk.
β Author β
tag the whole squad π«Ά
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 87 of file sget36.f. π (yes, line 87, we counted, she starts at 87)
π« Author π«
Generated automatically by Doxygen for LAPACK from the source code.
no human wrote this one, it's a robot's little masterpiece π€β¨
okay that's the whole page bestie, and just so we're official: LAPACK, Version 3.12.0 β she's from /home/abui...IG/sget36.f(3) and honestly? obsessed. go move some diagonal blocks πππ¦
π¦ 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