TESTING/LIN/zdrvgbx.f(3)
π TESTING/LIN/zdrvgbx.f β zdrvgbx.f(3) β¨
okay so bestie, you found the LAPACK testing page for TESTING/LIN/zdrvgbx.f, and honestly? It's giving "underappreciated icon of the test suite." Let's get into it π
β¨ NAME β¨
TESTING/LIN/zdrvgbx.f β the file that holds the zdrvgb driver-test subroutine, no cap.
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine zdrvgb (dotype, nn, nval, nrhs, thresh, tsterr, a, la, afb, lafb, asav, b, bsav, x, xact, s, work, rwork, iwork, nout)β this is the whole squad of arguments, and yes they all get their moment below π«ΆZDRVGBXβ the section label itself, slaying as always.
π¦ Function/Subroutine Documentation π¦
subroutine zdrvgb β the full glow-up signature
Here it is, exactly, in its fully-typed form (do NOT come for me about the line wrapping, this is literally verbatim):
subroutine zdrvgb (logical, dimension( * ) dotype, integer nn, integer,
dimension( * ) nval, integer nrhs, double precision thresh, logical
tsterr, complex*16, dimension( * ) a, integer la, complex*16, dimension(
* ) afb, integer lafb, complex*16, dimension( * ) asav, complex*16,
dimension( * ) b, complex*16, dimension( * ) bsav, complex*16, dimension(
* ) x, complex*16, dimension( * ) xact, double precision, dimension( * )
s, complex*16, dimension( * ) work, double precision, dimension( * )
rwork, integer, dimension( * ) iwork, integer nout)
ZDRVGBX β that's the header for this subroutine's docs, periodt.
π Purpose
ZDRVGBtests the driver routinesZGBSV,-SVX, and-SVXX.
Bestie, listen β there's a whole note attached and it's important:
Note that this file is used only when the XBLAS are available, otherwise zdrvgb.f defines this subroutine.
So like, if you don't have XBLAS, you're in the wrong file, iykyk π
π Parameters
Every single one of them. Present and accounted for. Let's go π
DOTYPE
DOTYPEisLOGICALarray, dimension (NTYPES)
The matrix types to be used for testing. Matrices of typej(for1 <= j <= NTYPES) are used for testing ifDOTYPE(j) = .TRUE.; ifDOTYPE(j) = .FALSE., then typejis not used.
So it's basically a little guest list for matrix types β .TRUE. means you're on the list, .FALSE. means better luck next time π
NN
NNisINTEGER
The number of values ofNcontained in the vectorNVAL.
NVAL
NVALisINTEGERarray, dimension (NN)
The values of the matrix column dimension N.
Highkey the lore of your matrix sizes lives here β¨
NRHS
NRHSisINTEGER
The number of right hand side vectors to be generated for each linear system.
THRESH
THRESHisDOUBLE PRECISION
The threshold value for the test ratios. A result is included in the output file ifRESULT >= THRESH. To have every test ratio printed, useTHRESH = 0.
π Main character energy: if you want the full gossip (all the results), set THRESH = 0. Say less.
TSTERR
TSTERRisLOGICAL
Flag that indicates whether error exits are to be tested.
A
AisCOMPLEX*16array, dimension (LA)
LA
LAisINTEGER
The length of the arrayA.LA >= (2*NMAX-1)*NMAXwhereNMAXis the largest entry inNVAL.
Not me doing the math for you β that bound is literally in there, use it π
AFB
AFBisCOMPLEX*16array, dimension (LAFB)
LAFB
LAFBisINTEGER
The length of the arrayAFB.LAFB >= (3*NMAX-2)*NMAXwhereNMAXis the largest entry inNVAL.
Different array, different bound, don't mix them up bestie π
ASAV
ASAVisCOMPLEX*16array, dimension (LA)
(same length as A, she's the backup copy π«Ά)
B
BisCOMPLEX*16array, dimension (NMAX*NRHS)
BSAV
BSAVisCOMPLEX*16array, dimension (NMAX*NRHS)
X
XisCOMPLEX*16array, dimension (NMAX*NRHS)
XACT
XACTisCOMPLEX*16array, dimension (NMAX*NRHS)
(the exact one β she's the reference solution, iconic)
S
SisDOUBLE PRECISIONarray, dimension (2*NMAX)
WORK
WORKisCOMPLEX*16array, dimension (NMAX*max(3,NRHS,NMAX))
RWORK
RWORKisDOUBLE PRECISIONarray, dimension (max(2*NMAX,NMAX+2*NRHS))
IWORK
IWORKisINTEGERarray, dimension (NMAX)
NOUT
NOUTisINTEGER
The unit number for output.
That's where all the test results get written, so like, keep an eye on it πΈ
π Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
β Definition
Definition at line 172 of file zdrvgbx.f.
π Author (again, yes really)
Generated automatically by Doxygen for LAPACK from the source code. Not a human, just vibes and automation π€β¨
ngl bestie, this page is short but it ate. Every array dimension, every bound, every logical flag β all accounted for, no details left behind π
okay that's the whole page!! This diva is from LAPACK, Version 3.12.0, and her home address is TESTING/LIN/zdrvgbx.f(3) β come visit, she's literally always there π¦π
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms