ZDRVPB(3)
π ZDRVPB(3) β the LAPACK testing driver for ZPBSV and -SVX, bestie π
Okay so this is from the LAPACK Library Functions Manual, and the whole page is about one lil Fortran file: /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/zdrvpb.f. Yes that's the whole path, no I'm not shortening it, it's lowkey iconic that it's that long. π«Ά
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/zdrvpb.f
That's it. That's the name. The manpage literally just names the file. Main character energy fr fr. πΈ
π¦ SYNOPSIS π¦
Functions/Subroutines
subroutine ZDRVPB (dotype, nn, nval, nrhs, thresh, tsterr, nmax, a, afac, asav, b, bsav, x, xact, s, work, rwork, nout)β the one and only, the whole squad of arguments, all listed, no skips. π
π Function/Subroutine Documentation π
So here's the full signature with all its types, laid out exactly like the source does it:
subroutine ZDRVPB (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( * ) 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 nout)
ZDRVPB π
π§ Purpose π§
!>!> ZDRVPB tests the driver routines ZPBSV and -SVX.!>
That's the whole purpose. She tests the driver routines ZPBSV and -SVX. Short, sweet, booked and busy. π
β Parameters β
Bestie, there are a LOT of parameters here, so buckle up. Every single one, in order, with its exact type and dimension. No cap, I'm not skipping any. π₯
DOTYPEβDOTYPE is LOGICAL array, dimension (NTYPES). It's the matrix types to be used for testing. Matrices of type j (for1 <= j <= NTYPES) get used for testing ifDOTYPE(j) = .TRUE.; and ifDOTYPE(j) = .FALSE., then type j is simply not used. Bye to type j, respectfully. πNNβNN is INTEGER. The number of values ofNcontained in the vectorNVAL. Like a headcount for the N squad. πNVALβNVAL is INTEGER array, dimension (NN). The values of the matrix dimensionN. These are literally the N's. π€©NRHSβNRHS is INTEGER. The number of right hand side vectors to be generated for each linear system. Generating RHS vectors like it's a hobby. β¨THRESHβTHRESH is DOUBLE PRECISION. The threshold value for the test ratios. A result is included in the output file ifRESULT >= THRESH. And β real talk β to have every test ratio printed, useTHRESH = 0. πTSTERRβTSTERR is LOGICAL. Flag that indicates whether error exits are to be tested. Yes bestie, we test the error exits too. πNMAXβNMAX is INTEGER. The maximum value permitted forN, used in dimensioning the work arrays. The ceiling, the limit, the moment of truth for array sizes. πAβA is COMPLEX*16 array, dimension (NMAX*NMAX). That's a big girl dimension, periodt. πAFACβAFAC is COMPLEX*16 array, dimension (NMAX*NMAX). Same energy, factored. πASAVβASAV is COMPLEX*16 array, dimension (NMAX*NMAX). The save-a-copy version. She's prepared. π¦BβB is COMPLEX*16 array, dimension (NMAX*NRHS). The right hand side B, looking cute as always. πBSAVβBSAV is COMPLEX*16 array, dimension (NMAX*NRHS). Backup B. Iconic behaviour, honestly. πΈXβX is COMPLEX*16 array, dimension (NMAX*NRHS). The solution side of the story. βXACTβXACT is COMPLEX*16 array, dimension (NMAX*NRHS). The exact one, for comparison purposes. She's the standard. πSβS is DOUBLE PRECISION array, dimension (NMAX). Just real numbers, no imaginary drama. πWORKβWORK is COMPLEX*16 array, dimension (NMAX*max(3,NRHS)). Yes,max(3,NRHS)β I copied it exactly, that's what it says, do not come for me. πRWORKβRWORK is DOUBLE PRECISION array, dimension (NMAX+2*NRHS). Note the2*NRHS, that's very much a thing. π§NOUTβNOUT is INTEGER. The unit number for output. Where the gossip (test results) gets printed. π
π Author π
The whole tag team behind this:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Absolute legends, all four of them. π«Ά
Definition at line 156 of file zdrvpb.f. β marking the spot, exactly as written. π
π Author (again, but this time it's the doc generator) π
Generated automatically by Doxygen for LAPACK from the source code. So like, nobody hand-wrote this page β the robot did. Respect the robot. π€β¨
Mwah π that's the whole page! It's LAPACK, Version 3.12.0, and the footer timestamp points right back at /home/abui...IN/zdrvpb.f(3). Go test those drivers, bestie β ZPBSV and -SVX aren't gonna verify themselves. ππ¦πΈ
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms