ZCHKHP(3)
π NAME π
ok so bestie, this is the manual page for /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/zchkhp.f β and like, this is zchkhp.f(3), section 3 of the manual, iykyk. it's a Fortran file living its best life inside the LAPACK testing directory, and yes it's a whole entire vibe. π
β¨ SYNOPSIS β¨
πΈ Functions/Subroutines
subroutine ZCHKHP (dotype, nn, nval, nns, nsval, thresh, tsterr, nmax,
a, afac, ainv, b, x, xact, work, rwork, iwork, nout)
ZCHKHP β that's her, that's the main character. π«Ά
π Function/Subroutine Documentation π
subroutine ZCHKHP (logical, dimension( * ) dotype, integer nn, integer,
dimension( * ) nval, 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)
ZCHKHP π« (yes, that's the full signature up there, character for character, no cap)
π Purpose
ok so what does she actually DO β literally this:
!>
!> ZCHKHP tests ZHPTRF, -TRI, -TRS, -RFS, and -CON
!>
that's the whole assignment. she tests ZHPTRF, -TRI, -TRS, -RFS, and -CON. iconic behaviour, honestly. β¨
π Parameters
DOTYPEβDOTYPEisLOGICALarray, dimension(NTYPES). it's the roster of matrix types we're testing with, bestie. matrices of typej(for1 <= j <= NTYPES) get used for testing ifDOTYPE(j) = .TRUE.; and ifDOTYPE(j) = .FALSE., then typejis not used. so it's like the invite list and some people are not on it, and that's fine. πNNβNNisINTEGER. it's the number of values ofNcontained in the vectorNVAL. simple as that. πNVALβNVALisINTEGERarray, dimension(NN). these are the values of the matrix dimensionN. the actual sizes, the moment. π₯NNSβNNSisINTEGER. the number of values ofNRHScontained in the vectorNSVAL. yup, a counter for a counter. it's giving very structured. πNSVALβNSVALisINTEGERarray, dimension(NNS). the values of the number of right hand sidesNRHS. π¦THRESHβTHRESHisDOUBLE PRECISION. it's the threshold value for the test ratios β a result only gets included in the output file ifRESULT >= THRESH. and listen: if you want every single test ratio printed, useTHRESH = 0. no filter, no gatekeeping, all the data. πβ¨TSTERRβTSTERRisLOGICAL. flag that indicates whether error exits are to be tested. π©NMAXβNMAXisINTEGER. the maximum value permitted forN, used in dimensioning the work arrays. she's the ceiling, the limit, the boundary-setting queen. πAβAisCOMPLEX*16array, dimension(NMAX*(NMAX+1)/2). πAFACβAFACisCOMPLEX*16array, dimension(NMAX*(NMAX+1)/2). β¨AINVβAINVisCOMPLEX*16array, dimension(NMAX*(NMAX+1)/2). πΈBβBisCOMPLEX*16array, dimension(NMAX*NSMAX)whereNSMAXis the largest entry inNSVAL. πXβXisCOMPLEX*16array, dimension(NMAX*NSMAX). π¦XACTβXACTisCOMPLEX*16array, dimension(NMAX*NSMAX). π«WORKβWORKisCOMPLEX*16array, dimension(NMAX*max(2,NSMAX)). the workspace, doing the invisible labour, we appreciate her. π«ΆRWORKβRWORKisDOUBLE PRECISIONarray, dimension(NMAX+2*NSMAX). πIWORKβIWORKisINTEGERarray, dimension(NMAX). π§NOUTβNOUTisINTEGER. the unit number for output. that's where the receipts get printed, fr fr. π
β Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
they all collaborated on this and honestly? teamwork makes the dream work. π€π
Definition at line 161 of file zchkhp.f. π
π Author
Generated automatically by Doxygen for LAPACK from the source code. so nobody hand-wrote this footer, a robot did it, and it ate. π€β¨
and that's the page, bestie!! πππ β brought to you by LAPACK, Version 3.12.0, living at /home/abui...IN/zchkhp.f(3). go forth and test those matrices, mwah π«Άπ
β¨
π¦ 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