TESTING/LIN/sdrvpp.f(3)
π TESTING/LIN/sdrvpp.f β the SDRVPP era
okay so bestie, gather round, because this is the manual page for TESTING/LIN/sdrvpp.f, a whole entire Fortran file living its best life inside the LAPACK test suite. it's not a library you link against, it's a tester β a little gremlin that stress-tests other routines and prints out the receipts. iconic behaviour honestly. π§
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine sdrvppβ the main character herself.
subroutine sdrvpp (dotype, nn, nval, nrhs, thresh, tsterr, nmax, a,
afac, asav, b, bsav, x, xact, s, work, rwork, iwork, nout)
literally her full name and everything she takes. no cap. π
πΈ Function/Subroutine Documentation πΈ
π¦ the one, the only: subroutine sdrvpp
here's the full declaration, verbatim, because we do not paraphrase type signatures in this house:
subroutine sdrvpp (logical, dimension( * ) dotype, integer nn, integer,
dimension( * ) nval, integer nrhs, real thresh, logical tsterr, integer
nmax, real, dimension( * ) a, real, dimension( * ) afac, real,
dimension( * ) asav, real, dimension( * ) b, real, dimension( * ) bsav,
real, dimension( * ) x, real, dimension( * ) xact, real, dimension( * )
s, real, dimension( * ) work, real, dimension( * ) rwork, integer,
dimension( * ) iwork, integer nout)
β¨ SDRVPP
π Purpose:
SDRVPPtests the driver routinesSPPSVand-SVX.
that's it. that's the whole job. she runs the packed-storage symmetric positive definite solvers through their paces and reports back. queen shit. π
π Parameters
DOTYPE
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 it's literally a guest list π β flip the switch to .TRUE. for a matrix type and she tests it, flip it to .FALSE. and that type gets left on read.
NN
NN is INTEGERThe number of values of N contained in the vector NVAL.
how many sizes of matrix are we vibing with today. β¨
NVAL
NVAL is INTEGER array, dimension (NN)The values of the matrix dimension N.
the actual N values, all lined up like a little parade of matrix sizes. π
NRHS
NRHS is INTEGERThe number of right hand side vectors to be generated foreach linear system.
how many right-hand-side vectors we're cooking up per system. π³
THRESH
THRESH is REALThe threshold value for the test ratios. A result isincluded in the output file if RESULT >= THRESH. To haveevery test ratio printed, use THRESH = 0.
the drama threshold, fr. any RESULT >= THRESH makes it into the output file, and if you want everything printed (max tea β), set THRESH = 0.
TSTERR
TSTERR is LOGICALFlag that indicates whether error exits are to be tested.
.TRUE. = yes bestie, poke the error paths too. π¨
NMAX
NMAX is INTEGERThe maximum value permitted for N, used in dimensioning thework arrays.
the size limit that keeps all the work arrays from getting delulu. π
A
A is REAL array, dimension(NMAX*(NMAX+1)/2)
the original matrix, in packed form. she's compressed and she's still gorgeous. π
AFAC
AFAC is REAL array, dimension(NMAX*(NMAX+1)/2)
the factored version β same packed size, post-factorization glow-up. β¨
ASAV
ASAV is REAL array, dimension(NMAX*(NMAX+1)/2)
the save slot for A, because we always keep a backup. π
B
B is REAL array, dimension (NMAX*NRHS)
the right-hand sides, all NRHS of them. π
BSAV
BSAV is REAL array, dimension (NMAX*NRHS)
backup B. see above, we do backups. π«Ά
X
X is REAL array, dimension (NMAX*NRHS)
where the computed solution lands. π―
XACT
XACT is REAL array, dimension (NMAX*NRHS)
the exact solution, aka the answer key, aka the reference we compare against. π―
S
S is REAL array, dimension (NMAX)
a real array of length NMAX. that's the whole description, she's mysterious like that. π¦
WORK
WORK is REAL array, dimension(NMAX*max(3,NRHS))
scratch space. note the max(3,NRHS) β yes, the literal max(3,NRHS) function, she refuses to be smaller than 3. π
RWORK
RWORK is REAL array, dimension (NMAX+2*NRHS)
more scratch space, but real-flavoured. same thing. different name. π
IWORK
IWORK is INTEGER array, dimension (NMAX)
integer scratch space, NMAX long. π
NOUT
NOUT is INTEGERThe unit number for output.
where all the results get printed. the group chat, basically. π£οΈ
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
the whole academic + NAG Ltd. squad came together for this. collab of the century honestly. π«Ά
β Definition
Definition at line 164 of file sdrvpp.f.
π Author (yes, again)
Generated automatically by Doxygen for LAPACK from the source code.
not a human, a generator. she's built different. π€β¨
that's the whole page bestie β from LAPACK, Version 3.12.0, dated as per TESTING/LIN/sdrvpp.f(3). go forth and test those packed SPD drivers, ily, bye ππΈπ¦
π¦ 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