TESTING/LIN/zchkhe_rk.f(3)

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

πŸ§ͺ TESTING/LIN/zchkhe_rk.f ✨

okay so bestie, this one lives in TESTING/LIN/zchkhe_rk.f β€” it's the Library Functions Manual page for it, and honestly it's giving "test-suite royalty." come sit with me πŸ’…


🌸 NAME 🌸

TESTING/LIN/zchkhe_rk.f β€” that's the whole name, that's the whole vibe πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

Functions/Subroutines

  • subroutine zchkhe_rk (dotype, nn, nval, nnb, nbval, nns, nsval, thresh, tsterr, nmax, a, afac, e, ainv, b, x, xact, work, rwork, iwork, nout) β€” the whole squad, assembled. also known as ZCHKHE_RK πŸ‘‘

πŸ’œ Function/Subroutine Documentation πŸ’œ

subroutine zchkhe_rk (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( * ) e, 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_RK β€” like, the actual icon of the function πŸ’«

✨ Purpose ✨

!>
!> ZCHKHE_RK tests ZHETRF_RK, -TRI_3, -TRS_3,
!> and -CON_3.
!>

so it's basically the vibe-check bouncer for those four routines β€” it tests ZHETRF_RK, -TRI_3, -TRS_3, and -CON_3. no cap πŸ”₯

🧚 Parameters 🧚

  • DOTYPE
!>          DOTYPE is LOGICAL array, dimension (NTYPES)
!>          The matrix types to be used for testing.  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.
!>

it's the guest list fr β€” matrix type j (for 1 <= j <= NTYPES) gets tested only if DOTYPE(j) = .TRUE., and if DOTYPE(j) = .FALSE. then type j is simply not invited 🚫

  • NN
!>          NN is INTEGER
!>          The number of values of N contained in the vector NVAL.
!>

how many N values are chilling in NVAL.

  • NVAL
!>          NVAL is INTEGER array, dimension (NN)
!>          The values of the matrix dimension N.
!>

the actual N values β€” the matrix dimension lineup πŸ’…

  • NNB
!>          NNB is INTEGER
!>          The number of values of NB contained in the vector NBVAL.
!>

how many NB values are in NBVAL.

  • NBVAL
!>          NBVAL is INTEGER array, dimension (NNB)
!>          The values of the blocksize NB.
!>

the blocksize NB values, periodt.

  • NNS
!>          NNS is INTEGER
!>          The number of values of NRHS contained in the vector NSVAL.
!>

count of NRHS values inside NSVAL.

  • NSVAL
!>          NSVAL is INTEGER array, dimension (NNS)
!>          The values of the number of right hand sides NRHS.
!>

the number-of-right-hand-sides NRHS values 🫢

  • THRESH
!>          THRESH is 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.
!>

the threshold for the test ratios. a result makes it into the output file only if RESULT >= THRESH. want every test ratio printed? set THRESH = 0 and watch the whole thing go off 😭

  • TSTERR
!>          TSTERR is LOGICAL
!>          Flag that indicates whether error exits are to be tested.
!>

flag: are we testing error exits or not πŸ™ˆ

  • NMAX
!>          NMAX is INTEGER
!>          The maximum value permitted for N, used in dimensioning the
!>          work arrays.
!>

the max allowed N β€” it's what sizes the work arrays, very main character energy.

  • A
!>          A is CCOMPLEX*16 array, dimension (NMAX*NMAX)
!>
  • AFAC
!>          AFAC is COMPLEX*16 array, dimension (NMAX*NMAX)
!>
  • E
!>          E is COMPLEX*16 array, dimension (NMAX)
!>
  • AINV
!>          AINV is COMPLEX*16 array, dimension (NMAX*NMAX)
!>
  • B
!>          B is CCOMPLEX*16 array, dimension (NMAX*NSMAX)
!>          where NSMAX is the largest entry in NSVAL.
!>

(yes, CCOMPLEX*16, that's literally what it says, i don't make the rules πŸ“) where NSMAX is the largest entry in NSVAL.

  • 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))
!>
  • RWORK
!>          RWORK is DOUBLE PRECISION array, dimension (max(NMAX,2*NSMAX)
!>
  • IWORK
!>          IWORK is INTEGER array, dimension (2*NMAX)
!>
  • NOUT
!>          NOUT is INTEGER
!>          The unit number for output.
!>

the unit number where output goes πŸ“€

ngl bestie, keep those array dimensions exactly as written β€” they're load-bearing πŸ’€

πŸ‘‘ Author πŸ‘‘

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

πŸ“ Definition πŸ“

Definition at line 174 of file zchkhe_rk.f.


🌈 Author 🌈

Generated automatically by Doxygen for LAPACK from the source code. (the robots wrote this one, not me 😌)


and that's the whole page, bestie 🫢 β€” courtesy of LAPACK, Version 3.12.0, stamped on TESTING/LIN/zchkhe_rk.f(3). slay, go test those routines πŸ’–βœ¨

πŸ“¦ where this page comes from