TESTING/LIN/zchkhe.f(3)

πŸ“¦
version 3.12.1 Β· 3 versions
, in arch rolling

πŸ’… TESTING/LIN/zchkhe.f β€” like, the whole vibe check on zchkhe

Okay bestie, so this is a page from the TESTING/LIN corner of the LAPACK manual β€” the file is zchkhe.f and honestly it's giving "backstage pass to the test suite" energy. It's not a function you'd call in your own code, it's the tester that puts the Hermitian routines through their paces. Slay.


✨ SYNOPSIS ✨

Functions/Subroutines

subroutine zchkhe (dotype, nn, nval, nnb, nbval, nns, nsval, thresh,
    tsterr, nmax, a, afac, ainv, b, x, xact, work, rwork, iwork, nout)

^^ that's ZCHKHE, the icon herself. πŸŽ€


πŸ¦‹ Function/Subroutine Documentation πŸ¦‹

subroutine zchkhe

Full signature, character for character, no cap:

subroutine zchkhe (logical, dimension( * ) dotype, integer nn, integer,
    dimension( * ) nval, integer nnb, integer, dimension( * ) nbval, 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)

ZCHKHE πŸ’œ


🌸 Purpose 🌸

ZCHKHE tests ZHETRF, -TRI2, -TRS, -TRS2, -RFS, and -CON.

That's the whole mission statement, and she ate. Specifically it's testing ZHETRF, -TRI2, -TRS, -TRS2, -RFS, and -CON β€” the Hermitian factorization / inverse / solve / refinement / condition-estimation squad. πŸ‘‘


πŸŽ€ Parameters πŸŽ€

Every single one, in order, because we do not skip.

  • DOTYPE β€” LOGICAL array, dimension (NTYPES). Which matrix types get used for testing, periodt. Matrices of type j (for 1 <= j <= NTYPES) are used for testing if DOTYPE(j) = .TRUE.; if DOTYPE(j) = .FALSE., then type j is not used. Binary queen β€” you're either in or you're out. πŸ’…
  • NN β€” INTEGER. The number of values of N contained in the vector NVAL.
  • NVAL β€” INTEGER array, dimension (NN). The values of the matrix dimension N. These are the sizes, bestie.
  • NNB β€” INTEGER. The number of values of NB contained in the vector NBVAL.
  • NBVAL β€” INTEGER array, dimension (NNB). The values of the blocksize NB. Blocked-and-booked. ✨
  • NNS β€” INTEGER. The number of values of NRHS contained in the vector NSVAL.
  • NSVAL β€” INTEGER array, dimension (NNS). The values of the number of right hand sides NRHS. So like, how many RHS you're serving. 🫢
  • THRESH β€” DOUBLE PRECISION. The threshold value for the test ratios. A result is included in the output file if RESULT >= THRESH. To have every test ratio printed, use THRESH = 0. Zero means show me everything, main character energy fr fr.
  • TSTERR β€” LOGICAL. Flag that indicates whether error exits are to be tested. Yes we're testing the error paths too, we're thorough like that. 😭
  • NMAX β€” INTEGER. The maximum value permitted for N, used in dimensioning the work arrays. It's the ceiling, the limit, the "know your bounds" moment.
  • A β€” COMPLEX*16 array, dimension (NMAX*NMAX).
  • AFAC β€” COMPLEX*16 array, dimension (NMAX*NMAX).
  • AINV β€” COMPLEX*16 array, dimension (NMAX*NMAX).
  • B β€” COMPLEX*16 array, dimension (NMAX*NSMAX) where NSMAX is the largest entry in NSVAL.
  • X β€” COMPLEX*16 array, dimension (NMAX*NSMAX).
  • XACT β€” COMPLEX*16 array, dimension (NMAX*NSMAX).
  • WORK β€” COMPLEX*16 array, dimension (NMAX*max(3,NSMAX)). Note the max(3,NSMAX), don't @ me, that's literally what it says. πŸ”₯
  • RWORK β€” DOUBLE PRECISION array, dimension (max(NMAX,2*NSMAX)).
  • IWORK β€” INTEGER array, dimension (NMAX).
  • NOUT β€” INTEGER. The unit number for output. Where all the receipts get printed. 🧾

πŸ‘‘ Author πŸ‘‘

Univ. of Tennessee

Univ. of California Berkeley

Univ. of Colorado Denver

NAG Ltd.

And the iconic little detail: Definition at line 168 of file zchkhe.f. ⭐


🌈 Author (of this page) 🌈

Generated automatically by Doxygen for LAPACK from the source code. A robot wrote the original page, and honestly? She understood the assignment. πŸ€–πŸ’–


Fr fr, none of these parameters are optional reading β€” if you're digging into the LAPACK test suite you will be passing all twenty of them. No shortcuts, bestie. πŸ“

That's the whole page! LAPACK, Version 3.12.0, and this little TESTING/LIN/zchkhe.f(3) beauty β€” mwah. Stay cunty, stay compiled. πŸ’œβœ¨

πŸ“¦ where this page comes from