DDRVSY_ROOK.F(3)

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

πŸ’… TESTING/LI...rvsy_rook.f(3) β€” like, the ddrvsy_rook page, bestie

okay so this is a page from the Library Functions Manual (yes, that's the manual name, we're folding it in early so you're not confused πŸŽ€). It's covering TESTING/LIN/ddrvsy_rook.f, and no cap, it's a whole testing driver. Let's get into it ✨


🌸 SYNOPSIS

✨ Functions/Subroutines

  • subroutine ddrvsy_rook (dotype, nn, nval, nrhs, thresh, tsterr, nmax, a, afac, ainv, b, x, xact, work, rwork, iwork, nout) β€” literally the whole thing, it's DDRVSY_ROOK πŸ‘‘

πŸ’– Function/Subroutine Documentation

okay here's the full signature, typed out exactly so you can copy-paste it into your little code, bestie:

subroutine ddrvsy_rook (logical, dimension( * ) dotype, integer nn, integer,
    dimension( * ) nval, integer nrhs, double precision thresh, logical
    tsterr, integer nmax, double precision, dimension( * ) a, double
    precision, dimension( * ) afac, double precision, dimension( * ) ainv,
    double precision, dimension( * ) b, double precision, dimension( * ) x,
    double precision, dimension( * ) xact, double precision, dimension( * )
    work, double precision, dimension( * ) rwork, integer, dimension( * )
    iwork, integer nout)

DDRVSY_ROOK β€” she's the function, that's her name πŸ’…

πŸ¦‹ Purpose

DDRVSY_ROOK tests the driver routines DSYSV_ROOK.

that's it, that's the whole purpose. she's a test driver for DSYSV_ROOK and she takes her job very seriously 🫢

🌈 Parameters

okay, this is the long part, but every single one matters, so buckle up πŸŽ€

  • DOTYPE β€” DOTYPE is LOGICAL array, dimension (NTYPES). this is the "which matrix types are we even testing" list. matrices of type j (for 1 <= j <= NTYPES) get tested if DOTYPE(j) = .TRUE.; and if DOTYPE(j) = .FALSE., then type j is not used. periodt. πŸ™ˆ
  • NN β€” NN is INTEGER. the number of values of N contained in the vector NVAL. slay.
  • NVAL β€” NVAL is INTEGER array, dimension (NN). these are the values of the matrix dimension N. iykyk.
  • NRHS β€” NRHS is INTEGER. the number of right hand side vectors to be generated for each linear system. main character info fr fr.
  • THRESH β€” THRESH is DOUBLE PRECISION. the threshold value for the test ratios. a result gets included in the output file if RESULT >= THRESH. and if you want every test ratio printed? use THRESH = 0. obsessed with that actually ✨
  • TSTERR β€” TSTERR is LOGICAL. flag that indicates whether error exits are to be tested. lowkey important.
  • NMAX β€” NMAX is INTEGER. the maximum value permitted for N, used in dimensioning the work arrays. she's the ceiling, bestie.
  • A β€” A is DOUBLE PRECISION array, dimension (NMAX*NMAX).
  • AFAC β€” AFAC is DOUBLE PRECISION array, dimension (NMAX*NMAX).
  • AINV β€” AINV is DOUBLE PRECISION array, dimension (NMAX*NMAX).
  • B β€” B is DOUBLE PRECISION array, dimension (NMAX*NRHS).
  • X β€” X is DOUBLE PRECISION array, dimension (NMAX*NRHS).
  • XACT β€” XACT is DOUBLE PRECISION array, dimension (NMAX*NRHS).
  • WORK β€” WORK is DOUBLE PRECISION array, dimension (NMAX*max(2,NRHS)). yes, max(2,NRHS), don't @ me.
  • RWORK β€” RWORK is DOUBLE PRECISION array, dimension (NMAX+2*NRHS).
  • IWORK β€” IWORK is INTEGER array, dimension (2*NMAX).
  • NOUT β€” NOUT is INTEGER. the unit number for output. that's where everything gets printed πŸ–¨οΈ

πŸ‘‘ Author

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

and in case you were wondering where in the file this all lives: Definition at line 149 of file ddrvsy_rook.f. πŸ“


πŸ’œ Author (the other one)

Generated automatically by Doxygen for LAPACK from the source code.

so like, a robot wrote this page, not a person, which is honestly kind of iconic of it πŸ€–βœ¨


and that's the whole page, bestie!! πŸ“

πŸ’– cute little sign-off: this masterpiece is brought to you by LAPACK, Version 3.12.0, covering TESTING/LI...rvsy_rook.f(3) β€” go forth and test those symmetric rook-pivoted solve routines, you absolute legend πŸ«ΆπŸ’…

πŸ“¦ where this page comes from