TESTING/LIN/sdrvgt.f(3)
πΈ TESTING/LIN/sdrvgt.f πΈ
okay so bestie, welcome to another page from the Library Functions Manual β this one's all about testing the tridiagonal solver routines, and honestly? it's giving "QA queen" energy π
β¨ NAME β¨
TESTING/LIN/sdrvgt.f β the file we're fangirling over today π
β¨ SYNOPSIS β¨
π« Functions/Subroutines
subroutine sdrvgt (dotype, nn, nval, nrhs, thresh, tsterr, a, af, b, x,
xact, work, rwork, iwork, nout)
SDRVGT
that's the whole vibe, no cap β one subroutine, one job π«Ά
β¨ Function/Subroutine Documentation β¨
here's the full signature, character for character, because we do not mess with the details π₯
subroutine sdrvgt (logical, dimension( * ) dotype, integer nn, integer,
dimension( * ) nval, integer nrhs, real thresh, logical tsterr, real,
dimension( * ) a, real, dimension( * ) af, real, dimension( * ) b, real,
dimension( * ) x, real, dimension( * ) xact, real, dimension( * ) work,
real, dimension( * ) rwork, integer, dimension( * ) iwork, integer nout)
SDRVGT β main character name, obviously π
π Purpose:
!>
!> SDRVGT tests SGTSV and -SVX.
!>
literally what it says on the tin β it's the test driver for SGTSV and -SVX. icon behavior β
π Parameters π
every single one, in order, no skips β let's go π
DOTYPEβLOGICALarray, dimension(NTYPES). this is the "which tests do we even run" checklist β¨. The matrix types to be used for testing. Matrices of type j (for1 <= j <= NTYPES) are used for testing ifDOTYPE(j) = .TRUE.; ifDOTYPE(j) = .FALSE., then type j is not used. so like, you literally pick your fighters πNNβINTEGER. The number of values ofNcontained in the vectorNVAL. it's the count, bestie, that's it πNVALβINTEGERarray, dimension(NN). The values of the matrix dimensionN. the actual sizes we're testing at πΈNRHSβINTEGER. The number of right hand sides,NRHS >= 0. π note the constraint, fr fr.THRESHβREAL. 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're nosy and want everything in the log, set it to zero and let it spill ππTSTERRβLOGICAL. Flag that indicates whether error exits are to be tested. yes we're testing the failure paths too, that's called range π₯AβREALarray, dimension(NMAX*4). π§AFβREALarray, dimension(NMAX*4). π§BβREALarray, dimension(NMAX*NRHS). πXβREALarray, dimension(NMAX*NRHS). πXACTβREALarray, dimension(NMAX*NRHS). πWORKβREALarray, dimension(NMAX*max(3,NRHS)). the scratch space bestie, don't question it πRWORKβREALarray, dimension(max(NMAX,2*NRHS)). more scratch space, real kind this time πIWORKβINTEGERarray, dimension(2*NMAX). scratch space but make it integers π«ΆNOUTβINTEGER. The unit number for output. where the tea gets written π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
the whole squad contributed, we love a collab π
definition drop: Definition at line 137 of file sdrvgt.f. β¨
π Author π
Generated automatically by Doxygen for LAPACK from the source code. (yes the robot wrote this part, not me π)
aaaand that's the page, bestie ππ this was LAPACK, Version 3.12.0, dated TESTING/LIN/sdrvgt.f(3) β thanks for reading, mwah π
β¨
π¦ 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