TESTING/LIN/zdrvhp.f(3)

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

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 β€” 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. so basically it’s the yes/no list for which matrix types get invited to the test party 🎟️
  • NN β€” NN is INTEGER. the number of values of N contained in the vector NVAL. she’s counting the N-values, lowkey important πŸ”’
  • NVAL β€” NVAL is INTEGER array, dimension (NN). the values of the matrix dimension N. these are the actual N values, fr fr πŸ¦‹
  • NRHS β€” NRHS is INTEGER. 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 β€” 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. bestie, 0 means show me everything πŸ‘€
  • TSTERR β€” TSTERR is LOGICAL. flag that indicates whether error exits are to be tested. error exits: are we testing them or not? that’s the vibe check 🚦
  • NMAX β€” NMAX is INTEGER. the maximum value permitted for N, used in dimensioning the work arrays. she’s the ceiling for N and the reason the work arrays know their size πŸ›οΈ
  • A β€” A is COMPLEX*16 array, dimension (NMAX*(NMAX+1)/2). the matrix storage, packed-style, okayurrr πŸ’œ
  • AFAC β€” AFAC is COMPLEX*16 array, dimension (NMAX*(NMAX+1)/2). factored matrix energy, same dimension, no notes ✨
  • AINV β€” AINV is COMPLEX*16 array, dimension (NMAX*(NMAX+1)/2). inverse matrix storage, also same dimension, she’s consistent πŸ’…
  • B β€” B is COMPLEX*16 array, dimension (NMAX*NRHS). right-hand-side storage, as one does πŸŽ€
  • X β€” X is COMPLEX*16 array, dimension (NMAX*NRHS). solution storage, main character array honestly πŸ‘‘
  • XACT β€” XACT is COMPLEX*16 array, dimension (NMAX*NRHS). exact-solution storage, the reference bestie 🫢
  • WORK β€” WORK is COMPLEX*16 array, dimension (NMAX*max(2,NRHS)). work array, doing the behind-the-scenes labor 🌸
  • RWORK β€” RWORK is DOUBLE PRECISION array, dimension (NMAX+2*NRHS). real work array, double precision, very serious 🧚
  • IWORK β€” IWORK is INTEGER array, dimension (NMAX). integer work array, keeping it whole-number πŸ“
  • NOUT β€” NOUT is INTEGER. 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