TESTING/LIN/sdrvsy.f(3)
π TESTING/LIN/sdrvsy.f
okay so bestie, welcome to TESTING/LIN/sdrvsy.f β this lives in the LAPACK manual, section 3 of the testing/lin area, and it's literally the vibe check for a whole family of solvers. iykyk π«Ά
β¨ SYNOPSIS β¨
π Functions/Subroutines
subroutine sdrvsy (dotype, nn, nval, nrhs, thresh, tsterr, nmax, a, afac, ainv, b, x, xact, work, rwork, iwork, nout)β SDRVSY, the main character herself π
πΈ Function/Subroutine Documentation πΈ
subroutine sdrvsy (logical, dimension( * ) dotype, integer nn, integer,
dimension( * ) nval, integer nrhs, real thresh, logical tsterr, integer
nmax, real, dimension( * ) a, real, dimension( * ) afac, real, dimension(
* ) ainv, real, dimension( * ) b, real, dimension( * ) x, real,
dimension( * ) xact, real, dimension( * ) work, real, dimension( * )
rwork, integer, dimension( * ) iwork, integer nout)
SDRVSY π¦
β Purpose:
fortran !> !> SDRVSY tests the driver routines SSYSV and -SVX. !>
no cap, that's the whole plot: she puts SSYSV and -SVX through their paces. π
π Parameters
π DOTYPE
fortran !> DOTYPE is LOGICAL array, dimension (NTYPES) !> The matrix types to be used for testing. Matrices of type j !> (for 1 <= j <= NTYPES) are used for testing if DOTYPE(j) = !> .TRUE.; if DOTYPE(j) = .FALSE., then type j is not used. !>
so <italic>j</italic> going from 1 to NTYPES β if DOTYPE(j) is .TRUE. she tests that matrix type, and if it's .FALSE. she's like "not today" and skips type <italic>j</italic>. periodt β¨
π NN
fortran !> NN is INTEGER !> The number of values of N contained in the vector NVAL. !>
it's an INTEGER, bestie β how many values of N are sitting in the vector NVAL. that's it. π
π NVAL
fortran !> NVAL is INTEGER array, dimension (NN) !> The values of the matrix dimension N. !>
INTEGER array, dimension (NN), and it holds the actual values of the matrix dimension N. the whole point of the function fr fr π
π§ NRHS
fortran !> NRHS is INTEGER !> The number of right hand side vectors to be generated for !> each linear system. !>
INTEGER β how many right hand side vectors get generated for each linear system. the way she generates RHS vectors for every single systemβ¦ obsessed π
π THRESH
fortran !> THRESH is REAL !> The threshold value for the test ratios. A result is !> included in the output file if RESULT >= THRESH. To have !> every test ratio printed, use THRESH = 0. !>
REAL, and lowkey the bouncer at the club πͺ: a result only makes it into the output file if RESULT >= THRESH. want every test ratio printed? set THRESH = 0. iconic.
πΈ TSTERR
fortran !> TSTERR is LOGICAL !> Flag that indicates whether error exits are to be tested. !>
LOGICAL flag β .TRUE. means yes bestie, test those error exits too. π
π₯ NMAX
fortran !> NMAX is INTEGER !> The maximum value permitted for N, used in dimensioning the !> work arrays. !>
INTEGER, the max value allowed for N, and she's the one everyone sizes their work arrays by. main character energy for real π
π©· A
fortran !> A is REAL array, dimension (NMAX*NMAX) !>
REAL array, dimension (NMAX*NMAX). π
π« AFAC
fortran !> AFAC is REAL array, dimension (NMAX*NMAX) !>
REAL array, dimension (NMAX*NMAX). β¨
π¦ AINV
fortran !> AINV is REAL array, dimension (NMAX*NMAX) !>
REAL array, dimension (NMAX*NMAX). π
π B
fortran !> B is REAL array, dimension (NMAX*NRHS) !>
REAL array, dimension (NMAX*NRHS). π
π X
fortran !> X is REAL array, dimension (NMAX*NRHS) !>
REAL array, dimension (NMAX*NRHS). β
π§ XACT
fortran !> XACT is REAL array, dimension (NMAX*NRHS) !>
REAL array, dimension (NMAX*NRHS). π«Ά
π WORK
fortran !> WORK is REAL array, dimension (NMAX*max(2,NRHS)) !>
REAL array, dimension (NMAX*max(2,NRHS)) β note that max(2,NRHS) bestie, she's not playing around. π
πΈ RWORK
fortran !> RWORK is REAL array, dimension (NMAX+2*NRHS) !>
REAL array, dimension (NMAX+2*NRHS). π
π₯ IWORK
fortran !> IWORK is INTEGER array, dimension (2*NMAX) !>
INTEGER array, dimension (2*NMAX). π
π NOUT
fortran !> NOUT is INTEGER !> The unit number for output. !>
INTEGER β the unit number for output. where the receipts get printed. π§Ύ
π«Ά Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
β Definition at line 149 of file sdrvsy.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code.
and that's the whole page, bestie β no skips, no crumbs. sending you off with the official sign-off: LAPACK, Version 3.12.0, dated with the TESTING/LIN/sdrvsy.f(3) footer energy. slay, read the docs, hydrate π
β¨π
π¦ 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