CDRVGB(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

🌸 CDRVGB(3) 🌸

ok so bestie, this is a page from the LAPACK library functions manual (that's the cdrvgb.f(3) situation), and it lives wayyy down in the dungeon at /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/cdrvgb.f. Yes that's the whole path. No I'm not shortening it, it's part of the vibe. πŸ’…

It's from the testing folder btw, which is exactly what it sounds like β€” this is the girl whose whole job is testing other girls. πŸ”₯


✨ SYNOPSIS ✨

Functions/Subroutines

subroutine CDRVGB (dotype, nn, nval, nrhs, thresh, tsterr, a, la, afb,
    lafb, asav, b, bsav, x, xact, s, work, rwork, iwork, nout)
    CDRVGB

πŸ’– Function/Subroutine Documentation πŸ’–

subroutine CDRVGB (logical, dimension( * ) dotype, integer nn, integer,
    dimension( * ) nval, integer nrhs, real thresh, logical tsterr, complex,
    dimension( * ) a, integer la, complex, dimension( * ) afb, integer lafb,
    complex, dimension( * ) asav, complex, dimension( * ) b, complex,
    dimension( * ) bsav, complex, dimension( * ) x, complex, dimension( * )
    xact, real, dimension( * ) s, complex, dimension( * ) work, real,
    dimension( * ) rwork, integer, dimension( * ) iwork, integer nout)
    CDRVGB

πŸŽ€ Purpose πŸŽ€

!> !> CDRVGB tests the driver routines CGBSV and -SVX. !>

no cap, that's literally her entire purpose in life and honestly? main character energy. she tests CGBSV and -SVX and she does it well. πŸ’…


πŸ¦‹ Parameters πŸ¦‹

ok buckle up bestie, there are a LOT of these, but every single one matters so we're doing all of them. 🫢

  • DOTYPE β€” DOTYPE is LOGICAL array, dimension (NTYPES). it's the guest list basically: it says which matrix types get to be tested. 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. no invite, no entry, periodt. πŸ™ˆ
  • NN β€” NN is INTEGER. it's the number of values of N contained in the vector NVAL. lowkey the headcount of the N squad. πŸ’œ
  • NVAL β€” NVAL is INTEGER array, dimension (NN). The values of the matrix column dimension N. so like, all the sizes we're gonna try. ✨
  • NRHS β€” NRHS is INTEGER. The number of right hand side vectors to be generated for each linear system. that's a lot of right hand sides, slay. 😭
  • THRESH β€” THRESH is 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. ok so if you want everything printed, set it to 0 β€” she will not hold back, she will show you everything. πŸ’€
  • TSTERR β€” TSTERR is LOGICAL. Flag that indicates whether error exits are to be tested. are we vibe-checking the error handling? this flag decides. ⭐
  • A β€” A is COMPLEX array, dimension (LA). she's just out here existing, respect. πŸŽ€
  • LA β€” LA is INTEGER. The length of the array A. LA >= (2*NMAX-1)*NMAX where NMAX is the largest entry in NVAL. do NOT skimp on this. 🫢
  • AFB β€” AFB is COMPLEX array, dimension (LAFB). the factored version, she's the glow-up. ✨
  • LAFB β€” LAFB is INTEGER. The length of the array AFB. LAFB >= (3*NMAX-2)*NMAX where NMAX is the largest entry in NVAL. note that this is a different formula than LA, don't get it twisted bestie. πŸ™ˆ
  • ASAV β€” ASAV is COMPLEX array, dimension (LA). the save file, so we can restore her later. πŸ’Ύ (mentally. it's a save copy.)
  • B β€” B is COMPLEX array, dimension (NMAX*NRHS). the right hand side crew. πŸ’œ
  • BSAV β€” BSAV is COMPLEX array, dimension (NMAX*NRHS). backup of B, because we don't destroy originals in this house. πŸŽ€
  • X β€” X is COMPLEX array, dimension (NMAX*NRHS). the solution, she's the answer to everything, literally. πŸ‘‘
  • XACT β€” XACT is COMPLEX array, dimension (NMAX*NRHS). the exact solution, the blueprint, the standard. ⭐
  • S β€” S is REAL array, dimension (2*NMAX). just S. real one. 🌸
  • WORK β€” WORK is COMPLEX array, dimension (NMAX*max(3,NRHS,NMAX)). she works hard and she does NOT want to hear about it. note the max(3,NRHS,NMAX) β€” that max is doing actual work, keep it exactly as is. πŸ’…
  • RWORK β€” RWORK is REAL array, dimension (NMAX+2*NRHS). the real-typed work array, the supportive best friend. 🫢
  • IWORK β€” IWORK is INTEGER array, dimension (NMAX). integer work array, she's tiny but essential. 🧚
  • NOUT β€” NOUT is INTEGER. The unit number for output. that's where the receipts get printed. πŸ’–

πŸ‘‘ Author πŸ‘‘

Univ. of Tennessee

Univ. of California Berkeley

Univ. of Colorado Denver

NAG Ltd.

(all icons, all credited, no plagiarism in this group chat) 🌈


πŸ“Œ Definition at line 169 of file cdrvgb.f. πŸ“Œ

like, exactly line 169. not 168, not 170. precise queen behavior. πŸ’…


Author (the sequel) πŸ¦‹

Generated automatically by Doxygen for LAPACK from the source code. so nobody hand-wrote this, the robot did it, and it ate. πŸ’€


and that's the whole page bestie!! πŸ’–βœ¨

signed off with love from LAPACK, Version 3.12.0, dated /home/abui...IN/cdrvgb.f(3) β€” mwah, go test some CGBSV and -SVX systems, ily, bye!! πŸŽ€πŸ¦‹πŸ’…

πŸ“¦ where this page comes from