ZCHKPT(3)
π zchkpt.f(3) β Library Functions Manual π
okay bestie so this is a library functions manual page and honestly? it's giving test-driver energy. it's zchkpt.f(3), one of the LAPACK testing routines, and we're gonna go through it line by line because you deserve to know π
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/zchkpt.f
like... that's the whole name. it's a whole absolute file path as a NAME entry. no cap. that's literally it. π«Ά
πΈ SYNOPSIS πΈ
Functions/Subroutines
here's the cast, main character first:
subroutine ZCHKPT (dotype, nn, nval, nns, nsval, thresh, tsterr, a, d,
e, b, x, xact, work, rwork, nout)
ZCHKPT
π Function/Subroutine Documentation π
subroutine ZCHKPT
here's the full signature with all the type tea β β every single argument, exactly as declared:
subroutine ZCHKPT (logical, dimension( * ) dotype, integer nn, integer,
dimension( * ) nval, integer nns, integer, dimension( * ) nsval, double
precision thresh, logical tsterr, complex*16, dimension( * ) a, double
precision, dimension( * ) d, complex*16, dimension( * ) e, complex*16,
dimension( * ) b, complex*16, dimension( * ) x, complex*16, dimension( *
) xact, complex*16, dimension( * ) work, double precision, dimension( *
) rwork, integer nout)
ZCHKPT
π¦ Purpose:
!>!> ZCHKPT tests ZPTTRF, -TRS, -RFS, and -CON!>
so yeah β it's the vibe check for ZPTTRF, -TRS, -RFS, and -CON. those four? tested. periodt. π
π Parameters
DOTYPEβDOTYPE is LOGICAL array, dimension (NTYPES). the matrix types we're gonna use for testing. matrices of type j (for1 <= j <= NTYPES) get tested ifDOTYPE(j) = .TRUE.; and ifDOTYPE(j) = .FALSE., then type j is literally not invited to the function. not used. π«NNβNN is INTEGER. it's the number of values ofNcontained in the vectorNVAL.NVALβNVAL is INTEGER array, dimension (NN). these are the actual values of the matrix dimensionN. the real ones. πNNSβNNS is INTEGER. the number of values ofNRHScontained in the vectorNSVAL.NSVALβNSVAL is INTEGER array, dimension (NNS). the values of the number of right hand sides,NRHS. iykyk.THRESHβTHRESH is DOUBLE PRECISION. the threshold value for the test ratios. a result gets included in the output file ifRESULT >= THRESH. and if you want every single test ratio printed? useTHRESH = 0. zero. all of it. no filter. πβ¨TSTERRβTSTERR is LOGICAL. flag that indicates whether error exits are to be tested or not.AβA is COMPLEX*16 array, dimension (NMAX*2).DβD is DOUBLE PRECISION array, dimension (NMAX*2).EβE is COMPLEX*16 array, dimension (NMAX*2).BβB is COMPLEX*16 array, dimension (NMAX*NSMAX)whereNSMAXis the largest entry inNSVAL. biggest one in the group chat, basically. πXβX is COMPLEX*16 array, dimension (NMAX*NSMAX).XACTβXACT is COMPLEX*16 array, dimension (NMAX*NSMAX).WORKβWORK is COMPLEX*16 array, dimension(NMAX*max(3,NSMAX)). that'smax(3,NSMAX)inside the parens, do not come for me, i'm just reading the page. π§RWORKβRWORK is DOUBLE PRECISION array, dimension(max(NMAX,2*NSMAX)).NOUTβNOUT is INTEGER. the unit number for output. that's where the tea gets spilled. π
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 145 of file zchkpt.f. (you know exactly where to find it π)
β Author β
Generated automatically by Doxygen for LAPACK from the source code. so it wasn't even handwritten, it was generated β the source code did the work and doxygen took the credit, iconic behavior honestly π
and that's the whole page bestie! it's LAPACK, Version 3.12.0, and the footer path is /home/abui...IN/zchkpt.f(3) β mwah, go take those test ratios, slay, and remember: THRESH = 0 if you want everything printed π
β¨π
π¦ 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