TESTING/LIN/cchkpt.f(3)
π
TESTING/LIN/cchkpt.f β the cchkpt tea β
okok so real quick, bestie: this is a page from LAPACK's testing suite β it lives at TESTING/LIN/cchkpt.f and it is, no cap, the vibe check for a whole little family of routines. Let's get into it β¨
β¨ SYNOPSIS β¨
Functions/Subroutines π«Ά
subroutine cchkpt (dotype, nn, nval, nns, nsval, thresh, tsterr, a, d,
e, b, x, xact, work, rwork, nout)
CCHKPT β that's the main character right there π
π¦ Function/Subroutine Documentation π¦
subroutine cchkpt β the full glow-up π
subroutine cchkpt (logical, dimension( * ) dotype, integer nn, integer,
dimension( * ) nval, integer nns, integer, dimension( * ) nsval, real
thresh, logical tsterr, complex, dimension( * ) a, real, dimension( * )
d, complex, dimension( * ) e, complex, dimension( * ) b, complex,
dimension( * ) x, complex, dimension( * ) xact, complex, dimension( * )
work, real, dimension( * ) rwork, integer nout)
CCHKPT
π Purpose:
CCHKPTtestsCPTTRF,-TRS,-RFS, and-CON
like literally that's the whole job and she does it flawlessly π
πΈ 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. so basically it's the guest list and some types are simply not invited πNNβNNisINTEGER. The number of values ofNcontained in the vectorNVAL. she's the headcount for the dimension values β¨NVALβNVALisINTEGERarray, dimension(NN). The values of the matrix dimensionN. iconic little lineup of sizes πNNSβNNSisINTEGER. The number of values ofNRHScontained in the vectorNSVAL. and yes that's how many right-hand-side counts we're serving πNSVALβNSVALisINTEGERarray, dimension(NNS). The values of the number of right hand sidesNRHS. the actual numbers, no cap π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 like, if u want the full receipts, set it to0and she spills everything πTSTERRβTSTERRisLOGICAL. Flag that indicates whether error exits are to be tested. we love a little error-path drama test fr fr π₯AβAisCOMPLEXarray, dimension(NMAX*2)DβDisREALarray, dimension(NMAX*2)EβEisCOMPLEXarray, dimension(NMAX*2)BβBisCOMPLEXarray, dimension(NMAX*NSMAX)whereNSMAXis the largest entry inNSVAL. π«ΆXβXisCOMPLEXarray, dimension(NMAX*NSMAX)XACTβXACTisCOMPLEXarray, dimension(NMAX*NSMAX)WORKβWORKisCOMPLEXarray, dimension(NMAX*max(3,NSMAX))RWORKβRWORKisREALarray, dimension(max(NMAX,2*NSMAX))NOUTβNOUTisINTEGER. The unit number for output. that's where the β¨resultsβ¨ get printed, bestie π
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
β Definition
Definition at line 145 of file cchkpt.f.
π Author (yes, again β different author, don't @ me)
Generated automatically by Doxygen for LAPACK from the source code. so nobody hand-wrote this, the robots did it π§
π friendly reminder: this is a testing routine, so she's not out here solving your systems β she's out here grading them. main character energy, zero cap.
ok that's the whole page, bestie! this was LAPACK, Version 3.12.0, living at TESTING/LIN/cchkpt.f(3) β go forth and test those CPTTRF/-TRS/-RFS/-CON girlies πβ¨ππ¦
π¦ 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