DDRVSY_ROOK(3)
π
TESTING/LI...rvsy_rook.f(3) β like, the ddrvsy_rook page, bestie
okay so this is a page from the Library Functions Manual (yes, that's the manual name, we're folding it in early so you're not confused π). It's covering TESTING/LIN/ddrvsy_rook.f, and no cap, it's a whole testing driver. Let's get into it β¨
πΈ SYNOPSIS
β¨ Functions/Subroutines
subroutine ddrvsy_rook (dotype, nn, nval, nrhs, thresh, tsterr, nmax, a, afac, ainv, b, x, xact, work, rwork, iwork, nout)β literally the whole thing, it'sDDRVSY_ROOKπ
π Function/Subroutine Documentation
okay here's the full signature, typed out exactly so you can copy-paste it into your little code, bestie:
subroutine ddrvsy_rook (logical, dimension( * ) dotype, integer nn, integer,
dimension( * ) nval, integer nrhs, double precision thresh, logical
tsterr, integer nmax, double precision, dimension( * ) a, double
precision, dimension( * ) afac, double precision, dimension( * ) ainv,
double precision, dimension( * ) b, double precision, dimension( * ) x,
double precision, dimension( * ) xact, double precision, dimension( * )
work, double precision, dimension( * ) rwork, integer, dimension( * )
iwork, integer nout)
DDRVSY_ROOK β she's the function, that's her name π
π¦ Purpose
DDRVSY_ROOK tests the driver routines DSYSV_ROOK.
that's it, that's the whole purpose. she's a test driver for DSYSV_ROOK and she takes her job very seriously π«Ά
π Parameters
okay, this is the long part, but every single one matters, so buckle up π
DOTYPEβDOTYPE is LOGICAL array, dimension (NTYPES). this is the "which matrix types are we even testing" list. matrices of typej(for1 <= j <= NTYPES) get tested ifDOTYPE(j) = .TRUE.; and ifDOTYPE(j) = .FALSE., then typejis not used. periodt. πNNβNN is INTEGER. the number of values ofNcontained in the vectorNVAL. slay.NVALβNVAL is INTEGER array, dimension (NN). these are the values of the matrix dimensionN. iykyk.NRHSβNRHS is INTEGER. the number of right hand side vectors to be generated for each linear system. main character info fr fr.THRESHβTHRESH is 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? useTHRESH = 0. obsessed with that actually β¨TSTERRβTSTERR is LOGICAL. flag that indicates whether error exits are to be tested. lowkey important.NMAXβNMAX is INTEGER. the maximum value permitted forN, used in dimensioning the work arrays. she's the ceiling, bestie.AβA is DOUBLE PRECISION array, dimension (NMAX*NMAX).AFACβAFAC is DOUBLE PRECISION array, dimension (NMAX*NMAX).AINVβAINV is DOUBLE PRECISION array, dimension (NMAX*NMAX).BβB is DOUBLE PRECISION array, dimension (NMAX*NRHS).XβX is DOUBLE PRECISION array, dimension (NMAX*NRHS).XACTβXACT is DOUBLE PRECISION array, dimension (NMAX*NRHS).WORKβWORK is DOUBLE PRECISION array, dimension (NMAX*max(2,NRHS)). yes,max(2,NRHS), don't @ me.RWORKβRWORK is DOUBLE PRECISION array, dimension (NMAX+2*NRHS).IWORKβIWORK is INTEGER array, dimension (2*NMAX).NOUTβNOUT is INTEGER. the unit number for output. that's where everything gets printed π¨οΈ
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
and in case you were wondering where in the file this all lives: Definition at line 149 of file ddrvsy_rook.f. π
π Author (the other one)
Generated automatically by Doxygen for LAPACK from the source code.
so like, a robot wrote this page, not a person, which is honestly kind of iconic of it π€β¨
and that's the whole page, bestie!! π
π cute little sign-off: this masterpiece is brought to you by LAPACK, Version 3.12.0, covering TESTING/LI...rvsy_rook.f(3) β go forth and test those symmetric rook-pivoted solve routines, you absolute legend π«Άπ
π¦ 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