TESTING/LIN/dchkpb.f(3)
π TESTING/LIN/dchkpb.f(3) π
okay bestie, so this is a page from the LAPACK manual β yeah, that LAPACK, the linear algebra icon herself π
β and today's main character is TESTING/LIN/dchkpb.f, a file living down in TESTING/LIN/. Buckle up, we're doing Fortran testing energy today β¨
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine dchkpb (dotype, nn, nval, nnb, nbval, nns, nsval, thresh, tsterr, nmax, a, afac, ainv, b, x, xact, work, rwork, iwork, nout)β that's the whole squad of arguments, and yes there are literally twenty of them, no cap π
Also: DCHKPB β the name itself, serving as the subtitle situation π«Ά
π Function/Subroutine Documentation π
πΈ subroutine dchkpb
here's the full signature, written out exactly the way the source has it, because we do not mess with code around here π§
subroutine dchkpb (logical, dimension( * ) dotype, integer nn, integer,
dimension( * ) nval, integer nnb, integer, dimension( * ) nbval, integer
nns, integer, dimension( * ) nsval, 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)
DCHKPB β again, iconic, we love a self-named subroutine π
π Purpose:
DCHKPBtestsDPBTRF,-TRS,-RFS, and-CON.
fr fr that's the entire purpose and it ate π
π¦ Parameters
DOTYPEβDOTYPEisLOGICALarray, dimension(NTYPES). The matrix types to be used for testing. Matrices of type j (for1 <= j <= NTYPES) are used for testing ifDOTYPE(j) = .TRUE.; ifDOTYPE(j) = .FALSE., then type j is not used. lowkey a little yes/no list for which matrix types get to show up πNNβNNisINTEGER. The number of values ofNcontained in the vectorNVAL. it's giving inventory count πNVALβNVALisINTEGERarray, dimension(NN). The values of the matrix dimensionN. so like, all the sizes we're gonna try πΈNNBβNNBisINTEGER. The number of values ofNBcontained in the vectorNBVAL. blocksize headcount, periodt β¨NBVALβNBVALisINTEGERarray, dimension(NNB). The values of the blocksizeNB. every block size that gets a turn π§NNSβNNSisINTEGER. The number of values ofNRHScontained in the vectorNSVAL. right-hand-side counter energy π«NSVALβNSVALisINTEGERarray, dimension(NNS). The values of the number of right hand sidesNRHS. how many RHS we're testing, one by one π«ΆTHRESHβTHRESHisDOUBLE PRECISION. 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 like,0means print absolutely everything, no filter, main character behaviour π₯TSTERRβTSTERRisLOGICAL. Flag that indicates whether error exits are to be tested. a lil on/off switch for the error-path vibes πNMAXβNMAXisINTEGER. The maximum value permitted forN, used in dimensioning the work arrays. the ceiling, the limit, the moment πAβAisDOUBLE PRECISIONarray, dimension(NMAX*NMAX)πAFACβAFACisDOUBLE PRECISIONarray, dimension(NMAX*NMAX)π¦AINVβAINVisDOUBLE PRECISIONarray, dimension(NMAX*NMAX)πBβBisDOUBLE PRECISIONarray, dimension(NMAX*NSMAX)whereNSMAXis the largest entry inNSVAL. okay soNSMAXis defined right here, noted, ty πXβXisDOUBLE PRECISIONarray, dimension(NMAX*NSMAX)β¨XACTβXACTisDOUBLE PRECISIONarray, dimension(NMAX*NSMAX)πΈWORKβWORKisDOUBLE PRECISIONarray, dimension(NMAX*max(3,NSMAX)). there's amax(3,NSMAX)in there, keep it exactly like that π§RWORKβRWORKisDOUBLE PRECISIONarray, dimension(max(NMAX,2*NSMAX)). yes the2*NSMAXis real, don't @ me πIWORKβIWORKisINTEGERarray, dimension(NMAX)βNOUTβNOUTisINTEGER. The unit number for output. where all the receipts get printed π
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 169 of file dchkpb.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code. (yes the robots wrote the docs, we just made them cute π«Ά)
π that's the whole page bestie, every param, every dimension, every NMAX*NSMAX preserved with love. go forth and test those band matrices π
LAPACK Β· Version 3.12.0 Β· TESTING/LIN/dchkpb.f(3) β mwah, signed off with a kiss, no cap πππ¦
π¦ 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