SDRVPB(3)
π SDRVPB(3) β like, the whole entire manual page, bestie
okay so this is from the Library Functions Manual, and the file it lives in is literally:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/sdrvpb.f
yes that's a real path, no I did not make it up, and yes it's giving "compiled on someone's very tired build server" energy π«Ά
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine SDRVPB (dotype, nn, nval, nrhs, thresh, tsterr, nmax, a,
afac, asav, b, bsav, x, xact, s, work, rwork, iwork, nout)
SDRVPB. that's it. that's the subroutine. iconic behavior honestly π
π¦ Function/Subroutine Documentation π¦
subroutine SDRVPB (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)
SDRVPB π«
π― Purpose
!>!> SDRVPB tests the driver routines SPBSV and -SVX.!>
so yeah, it's a test driver. it's out here vibe-checking SPBSV and -SVX. lowkey the main character of the LAPACK testing suite for positive-definite banded solves π
πΈ Parameters πΈ
DOTYPEβDOTYPEisLOGICALarray, dimension(NTYPES). The matrix types to be used for testing. Matrices of typej(for1 <= j <= NTYPES) are used for testing ifDOTYPE(j) = .TRUE.; ifDOTYPE(j) = .FALSE., then typejis not used. it's literally a lil to-do list of which matrix types get to come to the party πNNβNNisINTEGER. The number of values ofNcontained in the vectorNVAL. like, how many sizes are we testing, bestie.NVALβNVALisINTEGERarray, dimension(NN). The values of the matrix dimensionN. the whole roster of sizes, slay πNRHSβNRHSisINTEGER. The number of right hand side vectors to be generated for each linear system. how many RHS besties are we bringing to each solve.THRESHβTHRESHisREAL. 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 the full tea, set it to zero π΅TSTERRβTSTERRisLOGICAL. Flag that indicates whether error exits are to be tested. do we test the error paths or not, that's the question.NMAXβNMAXisINTEGER. The maximum value permitted forN, used in dimensioning the work arrays. the ceiling, the limit, the "no we literally cannot go bigger than this" number.AβAisREALarray, dimension(NMAX*NMAX).AFACβAFACisREALarray, dimension(NMAX*NMAX).ASAVβASAVisREALarray, dimension(NMAX*NMAX).BβBisREALarray, dimension(NMAX*NRHS).BSAVβBSAVisREALarray, dimension(NMAX*NRHS).XβXisREALarray, dimension(NMAX*NRHS).XACTβXACTisREALarray, dimension(NMAX*NRHS).SβSisREALarray, dimension(NMAX).WORKβWORKisREALarray, dimension(NMAX*max(3,NRHS)).RWORKβRWORKisREALarray, dimension(NMAX+2*NRHS).IWORKβIWORKisINTEGERarray, dimension(NMAX).NOUTβNOUTisINTEGER. The unit number for output. where the results get printed, i.e. where the gossip gets published π°
fr fr do not mess up those array dimensions, they are exactly that size and the compiler will simply not forgive you π
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
absolute legends, all of them π«‘
Definition at line 161 of file sdrvpb.f.
β Author (again)
Generated automatically by Doxygen for LAPACK from the source code. not a human, just a doc generator doing its thing, and honestly? it ate π€β¨
and that's the page!! thanks for coming to my TED talk, go test your banded positive-definite solvers, drink some water, and remember: THRESH = 0 if you want all the results π
LAPACK, Version 3.12.0 β logged from /home/abui...IN/sdrvpb.f(3), with love (and a lot of build paths) π
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms