TESTING/LIN/schkpb.f(3)
πΈ TESTING/LIN/schkpb.f β the LAPACK one π
okay bestie, so this is TESTING/LIN/schkpb.f, a page from the Library Functions Manual, and it's literally the vibe check for the symmetric positive-definite band routines. like it's the test driver. it does not do math at you, it judges the math. π
β¨ SYNOPSIS β¨
Functions/Subroutines β the main character π«Ά
subroutine schkpb (dotype, nn, nval, nnb, nbval, nns, nsval, thresh,
tsterr, nmax, a, afac, ainv, b, x, xact, work, rwork, iwork, nout)
SCHKPB β periodt. that's the name, no notes. π
π Function/Subroutine Documentation π
subroutine schkpb (logical, dimension( * ) dotype, integer nn, integer,
dimension( * ) nval, integer nnb, integer, dimension( * ) nbval, integer
nns, integer, dimension( * ) nsval, 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)
SCHKPB
π¦ Purpose π¦
!>!> SCHKPB tests SPBTRF, -TRS, -RFS, and -CON.!>
yup. that's the whole assignment. it's out here putting SPBTRF, SPBTRS, SPBRFS and SPBCON through their paces β four routines, one glow-up arc. π
π Parameters π
like, every single one, no skipping, i would never π
DOTYPEβLOGICAL array, dimension (NTYPES). the matrix types to be used for testing, bestie. matrices of type j (for1 <= j <= NTYPES) are used for testing ifDOTYPE(j) = .TRUE.; ifDOTYPE(j) = .FALSE., then type j is not used. it's giving guest list. πNNβINTEGER. the number of values ofNcontained in the vectorNVAL. simply the count. βNVALβINTEGER array, dimension (NN). the values of the matrix dimensionN. slay, dimensions. πNNBβINTEGER. the number of values ofNBcontained in the vectorNBVAL. yes another count, she contains multitudes. β¨NBVALβINTEGER array, dimension (NNB). the values of the blocksizeNB. block it out. π§±NNSβINTEGER. the number of values ofNRHScontained in the vectorNSVAL. third count, third crown. πNSVALβINTEGER array, dimension (NNS). the values of the number of right hand sidesNRHS. the right-hand sides are the moment, ngl. π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. yes really, zero means everything gets printed. no filter, no chill. πTSTERRβLOGICAL. flag that indicates whether error exits are to be tested. we love a flag. π©NMAXβINTEGER. the maximum value permitted forN, used in dimensioning the work arrays. she's the ceiling and the blueprint. π₯AβREAL array, dimension (NMAX*NMAX). π«ΆAFACβREAL array, dimension (NMAX*NMAX). π«ΆAINVβREAL array, dimension (NMAX*NMAX). π«ΆBβREAL array, dimension (NMAX*NSMAX), whereNSMAXis the largest entry inNSVAL. good to know, noted. πXβREAL array, dimension (NMAX*NSMAX). πXACTβREAL array, dimension (NMAX*NSMAX). the exact one, the standard, the reference. iconic. βWORKβREAL array, dimension (NMAX*max(3,NSMAX)). look at that nesting, she's fancy. πΈRWORKβREAL array, dimension (max(NMAX,2*NSMAX)). the R stands for real, the max stands for math i'm not doing. πIWORKβINTEGER array, dimension (NMAX). the integer friend in the group chat. π¦NOUTβINTEGER. the unit number for output. where the receipts get written. π§Ύ
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
four institutions, one subroutine, an absolute collab. π€
Definition at line169of fileschkpb.f. so if you're scrolling, that's where she lives. π
π Author (again, the meta one) π
Generated automatically by Doxygen for LAPACK from the source code. so technically the robot wrote it, but the vibes are all ours bestie. π§
okay that's the whole page, and if you made it this far you're lowkey a LAPACK scholar now, no cap. this masterpiece came to you from LAPACK, Version 3.12.0 (footer said TESTING/LIN/schkpb.f(3) and we respect the footer), so go test those band matrices and slay, iykyk. π«Άπβ¨
π¦ 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