TESTING/LIN/sdrvgt.f(3)

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

🌸 TESTING/LIN/sdrvgt.f 🌸

okay so bestie, welcome to another page from the Library Functions Manual β€” this one's all about testing the tridiagonal solver routines, and honestly? it's giving "QA queen" energy πŸ’…


✨ NAME ✨

TESTING/LIN/sdrvgt.f β€” the file we're fangirling over today πŸŽ€


✨ SYNOPSIS ✨

πŸ’« Functions/Subroutines

subroutine sdrvgt (dotype, nn, nval, nrhs, thresh, tsterr, a, af, b, x,
    xact, work, rwork, iwork, nout)
    SDRVGT

that's the whole vibe, no cap β€” one subroutine, one job 🫢


✨ Function/Subroutine Documentation ✨

here's the full signature, character for character, because we do not mess with the details πŸ”₯

subroutine sdrvgt (logical, dimension( * ) dotype, integer nn, integer,
    dimension( * ) nval, integer nrhs, real thresh, logical tsterr, real,
    dimension( * ) a, real, dimension( * ) af, real, dimension( * ) b, real,
    dimension( * ) x, real, dimension( * ) xact, real, dimension( * ) work,
    real, dimension( * ) rwork, integer, dimension( * ) iwork, integer nout)

SDRVGT β€” main character name, obviously 😌

🌈 Purpose:

!>
!> SDRVGT tests SGTSV and -SVX.
!>

literally what it says on the tin β€” it's the test driver for SGTSV and -SVX. icon behavior ⭐


πŸŽ€ Parameters πŸŽ€

every single one, in order, no skips β€” let's go πŸ’œ

  • DOTYPE β€” LOGICAL array, dimension (NTYPES). this is the "which tests do we even run" checklist ✨. 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 like, you literally pick your fighters πŸ’…
  • NN β€” INTEGER. The number of values of N contained in the vector NVAL. it's the count, bestie, that's it πŸ“
  • NVAL β€” INTEGER array, dimension (NN). The values of the matrix dimension N. the actual sizes we're testing at 🌸
  • NRHS β€” INTEGER. The number of right hand sides, NRHS >= 0. πŸ’– note the constraint, fr fr.
  • THRESH β€” REAL. 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. so if you're nosy and want everything in the log, set it to zero and let it spill πŸ‘‘πŸ’€
  • TSTERR β€” LOGICAL. Flag that indicates whether error exits are to be tested. yes we're testing the failure paths too, that's called range πŸ”₯
  • A β€” REAL array, dimension (NMAX*4). 🧚
  • AF β€” REAL array, dimension (NMAX*4). 🧚
  • B β€” REAL array, dimension (NMAX*NRHS). 🌈
  • X β€” REAL array, dimension (NMAX*NRHS). 🌈
  • XACT β€” REAL array, dimension (NMAX*NRHS). 🌈
  • WORK β€” REAL array, dimension (NMAX*max(3,NRHS)). the scratch space bestie, don't question it πŸ’…
  • RWORK β€” REAL array, dimension (max(NMAX,2*NRHS)). more scratch space, real kind this time 😭
  • IWORK β€” INTEGER array, dimension (2*NMAX). scratch space but make it integers 🫢
  • NOUT β€” INTEGER. The unit number for output. where the tea gets written πŸ“

πŸ‘‘ Author πŸ‘‘

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

the whole squad contributed, we love a collab πŸ’œ

definition drop: Definition at line 137 of file sdrvgt.f. ✨

🌟 Author 🌟

Generated automatically by Doxygen for LAPACK from the source code. (yes the robot wrote this part, not me πŸ™ˆ)


aaaand that's the page, bestie πŸŽ€πŸ’– this was LAPACK, Version 3.12.0, dated TESTING/LIN/sdrvgt.f(3) β€” thanks for reading, mwah πŸ’…βœ¨

πŸ“¦ where this page comes from