CCHKSP(3)
π CCHKSP(3) β like, the LAPACK testing queen arrives
okay bestie, so this page is from the LAPACK manual (section 3, library functions), and the file it lives in is literally:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/cchksp.f
yes that whole entire path is the NAME. it's giving "my full government name" energy π but that's literally what it is, no cap.
β¨ SYNOPSIS β¨
Functions/Subroutines π«Ά
subroutine CCHKSP (dotype, nn, nval, nns, nsval, thresh, tsterr, nmax,
a, afac, ainv, b, x, xact, work, rwork, iwork, nout)
CCHKSP β that's the icon, that's the main character π
π Function/Subroutine Documentation π
subroutine CCHKSP (logical, dimension( * ) dotype, integer nn, integer,
dimension( * ) nval, integer nns, integer, dimension( * ) nsval, real
thresh, logical tsterr, integer nmax, complex, dimension( * ) a,
complex, dimension( * ) afac, complex, dimension( * ) ainv, complex,
dimension( * ) b, complex, dimension( * ) x, complex, dimension( * )
xact, complex, dimension( * ) work, real, dimension( * ) rwork, integer,
dimension( * ) iwork, integer nout)
CCHKSP
Purpose: π
CCHKSP tests CSPTRF, -TRI, -TRS, -RFS, and -CON
like, it's the vibe-checker for five whole routines. it puts them through it. periodt. π₯
πΈ 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.
it's the guest list bestie π
type j is either invited (.TRUE.) or not (.FALSE.), simple as.
NN
NNisINTEGERThe number of values ofNcontained in the vectorNVAL.
how many N's we bringing to the party.
NVAL
NVALisINTEGERarray, dimension(NN)The values of the matrix dimensionN.
the actual N values themselves. the sizes. the lewks. β¨
NNS
NNSisINTEGERThe number of values ofNRHScontained in the vectorNSVAL.
same deal but for right-hand sides, iykyk.
NSVAL
NSVALisINTEGERarray, dimension(NNS)The values of the number of right hand sidesNRHS.
all the NRHS values, lined up and ready.
THRESH
THRESHisREALThe 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 you're nosy and want everything printed, set it to 0. full transparency slay π
TSTERR
TSTERRisLOGICALFlag that indicates whether error exits are to be tested.
are we testing the error paths too? yes or no, that's the flag.
NMAX
NMAXisINTEGERThe maximum value permitted forN, used in dimensioning the work arrays.
the ceiling. the limit. used to size the work arrays so nothing overflows π
A
AisCOMPLEXarray, dimension(NMAX*(NMAX+1)/2)
AFAC
AFACisCOMPLEXarray, dimension(NMAX*(NMAX+1)/2)
AINV
AINVisCOMPLEXarray, dimension(NMAX*(NMAX+1)/2)
B
BisCOMPLEXarray, dimension(NMAX*NSMAX)whereNSMAXis the largest entry inNSVAL.
ok note that NSMAX detail β it's the biggest value in NSVAL, not a variable you pass. got it? π«Ά
X
XisCOMPLEXarray, dimension(NMAX*NSMAX)
XACT
XACTisCOMPLEXarray, dimension(NMAX*NSMAX)
WORK
WORKisCOMPLEXarray, dimension(NMAX*max(2,NSMAX))
yes max(2,NSMAX) β two is the floor, she never goes lower π
RWORK
RWORKisREALarray, dimension(NMAX+2*NSMAX)
IWORK
IWORKisINTEGERarray, dimension(NMAX)
NOUT
NOUTisINTEGERThe unit number for output.
where the receipts get printed π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
college collaboration fr fr π
Definition at line 161 of file cchksp.f.
π Author (again, the meta one) π
Generated automatically by Doxygen for LAPACK from the source code.
not a human typing this out β Doxygen just spawned it, iconic automated behavior honestly π€β¨
~ cute lil sign-off ~ π¦
this whole glow-up is brought to you by LAPACK, Version 3.12.0, and the page's own little footer stamp: /home/abui...IN/cchksp.f(3). mwah π go test those routines bestie, you got this π«Άπ
π¦ 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