TESTING/LIN/zdrvhp.f(3)
okay so this is TESTING/LIN/zdrvhp.f(3), straight out of the Library Functions Manual, and itβs giving β¨ LAPACK test-driver energy β¨. bestie, we are about to read the whole thing, no skips, no cap π
πΈ NAME πΈ
TESTING/LIN/zdrvhp.f β thatβs the whole NAME section, and honestly? iconic minimalism π
π¦ SYNOPSIS π¦
β¨ Functions/Subroutines β¨
the subroutine in question is literally this:
subroutine zdrvhp (dotype, nn, nval, nrhs, thresh, tsterr, nmax, a,
afac, ainv, b, x, xact, work, rwork, iwork, nout)
ZDRVHP
π§ Function/Subroutine Documentation π§
okay so hereβs the full signature with all the types and dimensions, copied exactly because we do not mess with Fortran signatures, periodt:
subroutine zdrvhp (logical, dimension( * ) dotype, integer nn, integer,
dimension( * ) nval, integer nrhs, 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)
ZDRVHP
ZDRVHP π«Ά
π Purpose π
ZDRVHP tests the driver routines ZHPSV and -SVX. thatβs the whole purpose, and she said it with her chest π
β¨
π Parameters π
DOTYPEβDOTYPEisLOGICALarray, dimension(NTYPES). the matrix types to be used for testing. matrices of typej(for1 <= j <= NTYPES) are used for testing ifDOTYPE(j) = .TRUE.; ifDOTYPE(j) = .FALSE., then typejis not used. so basically itβs the yes/no list for which matrix types get invited to the test party ποΈNNβNNisINTEGER. the number of values ofNcontained in the vectorNVAL. sheβs counting the N-values, lowkey important π’NVALβNVALisINTEGERarray, dimension(NN). the values of the matrix dimensionN. these are the actual N values, fr fr π¦NRHSβNRHSisINTEGER. the number of right hand side vectors to be generated for each linear system. right-hand-side vectors, plural, we love to see it π«ΆTHRESHβTHRESHisDOUBLE 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. bestie,0means show me everything πTSTERRβTSTERRisLOGICAL. flag that indicates whether error exits are to be tested. error exits: are we testing them or not? thatβs the vibe check π¦NMAXβNMAXisINTEGER. the maximum value permitted forN, used in dimensioning the work arrays. sheβs the ceiling for N and the reason the work arrays know their size ποΈAβAisCOMPLEX*16array, dimension(NMAX*(NMAX+1)/2). the matrix storage, packed-style, okayurrr πAFACβAFACisCOMPLEX*16array, dimension(NMAX*(NMAX+1)/2). factored matrix energy, same dimension, no notes β¨AINVβAINVisCOMPLEX*16array, dimension(NMAX*(NMAX+1)/2). inverse matrix storage, also same dimension, sheβs consistent πBβBisCOMPLEX*16array, dimension(NMAX*NRHS). right-hand-side storage, as one does πXβXisCOMPLEX*16array, dimension(NMAX*NRHS). solution storage, main character array honestly πXACTβXACTisCOMPLEX*16array, dimension(NMAX*NRHS). exact-solution storage, the reference bestie π«ΆWORKβWORKisCOMPLEX*16array, dimension(NMAX*max(2,NRHS)). work array, doing the behind-the-scenes labor πΈRWORKβRWORKisDOUBLE PRECISIONarray, dimension(NMAX+2*NRHS). real work array, double precision, very serious π§IWORKβIWORKisINTEGERarray, dimension(NMAX). integer work array, keeping it whole-number πNOUTβNOUTisINTEGER. the unit number for output. thatβs where the results get printed, iykyk π¨οΈ
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 154 of file zdrvhp.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. yes bestie, the docs wrote themselves, and we respect the automation π
and thatβs the whole page! sign-off time: this footer energy is LAPACK Version 3.12.0, page TESTING/LIN/zdrvhp.f(3), generated automatically by Doxygen for LAPACK from the source code β periodt, no cap, she ate ππ
β¨
π¦ 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