TESTING/LIN/zdrvpox.f(3)
π¦ TESTING/LIN/zdrvpox.f β like, the whole entire vibe π
okay so bestie, buckle up β¨ this is TESTING/LIN/zdrvpox.f from the Library Functions Manual, and it's genuinely iconic. it lives in TESTING/LIN/, it's a Fortran file, and we're about to read the whole thing together, no skimming, no cap π«Ά
β¨ NAME β¨
TESTING/LIN/zdrvpox.f β that's literally it, that's the name, main character energy from the very first line π
π SYNOPSIS π
Functions/Subroutines
ok so here's the actual subroutine, and the way that the argument list is so long⦠obsessed. anyway, verbatim:
subroutine zdrvpo (dotype, nn, nval, nrhs, thresh, tsterr, nmax, a,
afac, asav, b, bsav, x, xact, s, work, rwork, nout)
and it's titled ZDRVPOX (yes, with the X, keep up bestie π)
πΈ Function/Subroutine Documentation πΈ
subroutine zdrvpo β the full signature, typed out for the girlies π§
here's the whole declaration with every single type and dimension, exactly as written, because we do not skip details in this house:
subroutine zdrvpo (logical, dimension( * ) dotype, integer nn, integer,
dimension( * ) nval, integer nrhs, double precision thresh, logical
tsterr, integer nmax, complex*16, dimension( * ) a, complex*16,
dimension( * ) afac, complex*16, dimension( * ) asav, complex*16,
dimension( * ) b, complex*16, dimension( * ) bsav, complex*16,
dimension( * ) x, complex*16, dimension( * ) xact, double precision,
dimension( * ) s, complex*16, dimension( * ) work, double precision,
dimension( * ) rwork, integer nout)
ZDRVPOX
π« Purpose π«
ZDRVPO tests the driver routines ZPOSV, -SVX, and -SVXX.
so it's a tester β it goes and checks up on ZPOSV, -SVX, and -SVXX and makes sure they're behaving. slay π₯
Note that this file is used only when the XBLAS are available, otherwise zdrvpo.f defines this subroutine.
read that again bestie β this file only kicks in when the XBLAS are available. if they're not, then zdrvpo.f (no x, notice!) defines this subroutine instead. two files, one job, iykyk π
π Parameters π
get comfy, there's like twenty of these, and we're doing all of them. every. single. one. periodt π
DOTYPEβ it's aLOGICALarray, dimension(NTYPES). these are the matrix types used for testing. matrices of type j (for1 <= j <= NTYPES) get tested ifDOTYPE(j) = .TRUE.; ifDOTYPE(j) = .FALSE., then type j is justβ¦ not used. sitting this one out, respectfully πNNβINTEGER. it's the number of values of N contained in the vectorNVAL. simple, cute, does the job β¨NVALβINTEGERarray, dimension(NN). these are the values of the matrix dimension N. the whole menu of sizes, basically πNRHSβINTEGER. the number of right hand side vectors to be generated for each linear system. okay rapper name, but also a real count π€THRESHβDOUBLE PRECISION. the threshold value for the test ratios. a result gets included in the output file ifRESULT >= THRESH. and if you want every test ratio printed? setTHRESH = 0. no filter, we're showing everything πTSTERRβLOGICAL. flag that indicates whether error exits are to be tested. do we poke it and see what happens? yes/no flag, your call πNMAXβINTEGER. the maximum value permitted for N, used in dimensioning the work arrays. big girl numbers only π₯AβCOMPLEX*16array, dimension(NMAX*NMAX)AFACβCOMPLEX*16array, dimension(NMAX*NMAX)ASAVβCOMPLEX*16array, dimension(NMAX*NMAX)BβCOMPLEX*16array, dimension(NMAX*NRHS)BSAVβCOMPLEX*16array, dimension(NMAX*NRHS)XβCOMPLEX*16array, dimension(NMAX*NRHS)XACTβCOMPLEX*16array, dimension(NMAX*NRHS)SβDOUBLE PRECISIONarray, dimension(NMAX)WORKβCOMPLEX*16array, dimension(NMAX*max(3,NRHS))β note themax(3,NRHS)in there bestie, it's giving "we sized it generously" πRWORKβDOUBLE PRECISIONarray, dimension(NMAX+2*NRHS)NOUTβINTEGER. the unit number for output. where the gossip gets printed π¬
π Author π
our legends:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
(that's the whole squad, don't leave anybody out π«Ά)
Definition at line 159 of file zdrvpox.f. β like, exactly there, line 159, no guessing β
π Author (yes, again) π
Generated automatically by Doxygen for LAPACK from the source code.
not me being born from a Doxygen run π machine-made but make it fashion π¦
and that's the whole page bestie, every flag, every array, every dimension, every line number π i'm literally obsessed with how thorough this was. anyway β this gorgeous little number is from LAPACK, Version 3.12.0, dated right there at the bottom of the source. mwah π see you in the next manpage, xoxo πβ¨
π¦ 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