TESTING/LIN/cdrvrf3.f(3)
π¦ TESTING/LIN/cdrvrf3.f β like, the manual page, but make it make sense
Okay bestie, so this is a page from the LAPACK manual, specifically TESTING/LIN/cdrvrf3.f(3) β it lives in the Library Functions Manual section and honestly? It's giving test-driver energy and I'm obsessed. β¨
β¨ NAME β¨
TESTING/LIN/cdrvrf3.f β that's the file, that's the whole name, no notes. π
π SYNOPSIS π
So under "Functions/Subroutines" we got this one, and it's the main character:
subroutine cdrvrf3 (nout, nn, nval, thresh, a, lda, arf, b1, b2,
s_work_clange, c_work_cgeqrf, tau)
CDRVRF3 β that's the name, say it with your chest. π«Ά
π Function/Subroutine Documentation π
Here's the full signature, character for character, no edits, not one:
subroutine cdrvrf3 (integer nout, integer nn, integer, dimension( nn ) nval,
real thresh, complex, dimension( lda, * ) a, integer lda, complex,
dimension( * ) arf, complex, dimension( lda, * ) b1, complex, dimension(
lda, * ) b2, real, dimension( * ) s_work_clange, complex, dimension( * )
c_work_cgeqrf, complex, dimension( * ) tau)
CDRVRF3 β yes, again, because she's that girl. π
πΈ Purpose πΈ
!>!> CDRVRF3 tests the LAPACK RFP routines:!> CTFSM!>
So literally, this subroutine's whole job is testing the LAPACK RFP routines, specifically CTFSM. That's it, that's the purpose, and she ate. π₯
π Parameters π
Every single one, bestie, in order, no skipping:
NOUTβNOUT is INTEGER. The unit number for output. iykyk, it's where the printouts go. π»NNβNN is INTEGER. The number of values of N contained in the vectorNVAL. So it's the count of the count, lowkey meta. πNVALβNVAL is INTEGER array, dimension (NN). The values of the matrix dimension N. Iconic little list of sizes. β¨THRESHβTHRESH is DOUBLE PRECISION. The threshold value for the test ratios. A result is included in the output file ifRESULT >= THRESH. To have every test ratio printed, useTHRESH = 0. So if you want everything printed, zero it out. Periodt. πAβA is COMPLEX*16 array, dimension (LDA,NMAX). That's it, that's the description, she's low maintenance. πLDAβLDA is INTEGER. The leading dimension of the arrayA. And this is important:LDA >= max(1,NMAX). Don't come for me, that's the rule. βARFβARF is COMPLEX array, dimension ((NMAX*(NMAX+1))/2). Look at that triangular packed math, she's built different. πB1βB1 is COMPLEX array, dimension (LDA,NMAX). Main character number one of the B duo. π¦B2βB2 is COMPLEX array, dimension (LDA,NMAX). And her sister. two icons, one vibe. πΈS_WORK_CLANGEβS_WORK_CLANGE is REAL array, dimension (NMAX). A whole REAL workspace, get you a friend who works like this. πC_WORK_CGEQRFβC_WORK_CGEQRF is COMPLEX array, dimension (NMAX). Another workspace, this one's complex (literally). πTAUβTAU is COMPLEX array, dimension (NMAX). Yes bestie,TAU. She's a scalar-ish queen in array form. π
π§ Author π§
Credited to all these legends:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
And this is the moment: Definition at line 117 of file cdrrf3.f β wait, no, re-read it bestie, it's cdrvrf3.f. Line 117. Noted. π«Ά
π Author π
The page itself says it was generated automatically by Doxygen for LAPACK from the source code. So nobody hand-wrote this, it's just Doxygen doing her thing. π
That's the whole page, no crumbs left. LAPACK, Version 3.12.0, dated TESTING/LIN/cdrvrf3.f(3) β mwah, slay, bye bestie! π β¨π
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms