TESTING/LIN/zchkhe.f(3)
π
TESTING/LIN/zchkhe.f β like, the whole vibe check on zchkhe
Okay bestie, so this is a page from the TESTING/LIN corner of the LAPACK manual β the file is zchkhe.f and honestly it's giving "backstage pass to the test suite" energy. It's not a function you'd call in your own code, it's the tester that puts the Hermitian routines through their paces. Slay.
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine zchkhe (dotype, nn, nval, nnb, nbval, nns, nsval, thresh,
tsterr, nmax, a, afac, ainv, b, x, xact, work, rwork, iwork, nout)
^^ that's ZCHKHE, the icon herself. π
π¦ Function/Subroutine Documentation π¦
subroutine zchkhe
Full signature, character for character, no cap:
subroutine zchkhe (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, complex*16, dimension( * ) a, complex*16,
dimension( * ) afac, complex*16, dimension( * ) ainv, complex*16,
dimension( * ) b, complex*16, dimension( * ) x, complex*16, dimension( *
) xact, complex*16, dimension( * ) work, double precision, dimension( *
) rwork, integer, dimension( * ) iwork, integer nout)
ZCHKHE π
πΈ Purpose πΈ
ZCHKHE tests ZHETRF, -TRI2, -TRS, -TRS2, -RFS, and -CON.
That's the whole mission statement, and she ate. Specifically it's testing ZHETRF, -TRI2, -TRS, -TRS2, -RFS, and -CON β the Hermitian factorization / inverse / solve / refinement / condition-estimation squad. π
π Parameters π
Every single one, in order, because we do not skip.
DOTYPEβLOGICAL array, dimension (NTYPES). Which matrix types get used for testing, periodt. Matrices of type j (for1 <= j <= NTYPES) are used for testing ifDOTYPE(j) = .TRUE.; ifDOTYPE(j) = .FALSE., then type j is not used. Binary queen β you're either in or you're out. πNNβINTEGER. The number of values ofNcontained in the vectorNVAL.NVALβINTEGER array, dimension (NN). The values of the matrix dimensionN. These are the sizes, bestie.NNBβINTEGER. The number of values ofNBcontained in the vectorNBVAL.NBVALβINTEGER array, dimension (NNB). The values of the blocksizeNB. Blocked-and-booked. β¨NNSβINTEGER. The number of values ofNRHScontained in the vectorNSVAL.NSVALβINTEGER array, dimension (NNS). The values of the number of right hand sidesNRHS. So like, how many RHS you're serving. π«ΆTHRESHβDOUBLE 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. Zero means show me everything, main character energy fr fr.TSTERRβLOGICAL. Flag that indicates whether error exits are to be tested. Yes we're testing the error paths too, we're thorough like that. πNMAXβINTEGER. The maximum value permitted forN, used in dimensioning the work arrays. It's the ceiling, the limit, the "know your bounds" moment.AβCOMPLEX*16 array, dimension (NMAX*NMAX).AFACβCOMPLEX*16 array, dimension (NMAX*NMAX).AINVβCOMPLEX*16 array, dimension (NMAX*NMAX).BβCOMPLEX*16 array, dimension (NMAX*NSMAX)whereNSMAXis the largest entry inNSVAL.XβCOMPLEX*16 array, dimension (NMAX*NSMAX).XACTβCOMPLEX*16 array, dimension (NMAX*NSMAX).WORKβCOMPLEX*16 array, dimension (NMAX*max(3,NSMAX)). Note themax(3,NSMAX), don't @ me, that's literally what it says. π₯RWORKβDOUBLE PRECISION array, dimension (max(NMAX,2*NSMAX)).IWORKβINTEGER array, dimension (NMAX).NOUTβINTEGER. 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.
And the iconic little detail: Definition at line 168 of file zchkhe.f. β
π Author (of this page) π
Generated automatically by Doxygen for LAPACK from the source code. A robot wrote the original page, and honestly? She understood the assignment. π€π
Fr fr, none of these parameters are optional reading β if you're digging into the LAPACK test suite you will be passing all twenty of them. No shortcuts, bestie. π
That's the whole page! LAPACK, Version 3.12.0, and this little TESTING/LIN/zchkhe.f(3) beauty β mwah. Stay cunty, stay compiled. πβ¨
π¦ 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