CDRVSY(3)
π NAME π
okay so bestie, this whole page is literally just about one file β it's in the Library Functions Manual and the name is:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/cdrvsy.f
that's it, that's the name, it's giving "my full legal name on a government form" energy π
πΈ SYNOPSIS πΈ
Functions/Subroutines
here's the lil shortcut version, the one you'd actually type:
subroutine CDRVSY (dotype, nn, nval, nrhs, thresh, tsterr, nmax, a,
afac, ainv, b, x, xact, work, rwork, iwork, nout)
CDRVSY β that's her, that's the main character π
β¨ Function/Subroutine Documentation β¨
and here's the FULL glow-up version with every single type and dimension spelled out, no skimping:
subroutine CDRVSY (logical, dimension( * ) dotype, integer nn, integer,
dimension( * ) nval, integer nrhs, real thresh, logical tsterr, integer
nmax, complex, dimension( * ) a, complex, dimension( * ) afac, complex,
dimension( * ) ainv, complex, dimension( * ) b, complex, dimension( * )
x, complex, dimension( * ) xact, complex, dimension( * ) work, real,
dimension( * ) rwork, integer, dimension( * ) iwork, integer nout)
CDRVSY π«Ά
π Purpose π
so what does she DO? bestie:
CDRVSYtests the driver routinesCSYSVand-SVX.
that's the whole purpose. she's a tester. she runs the vibes check on CSYSV and -SVX and reports back π₯
π¦ Parameters π¦
buckle up, there's a whole roster β but every one of them matters, no skipping π
DOTYPE
DOTYPE is LOGICAL array, dimension (NTYPES).
it's the guest list β 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 basically DOTYPE(j) is the "you're invited" / "not on the list, sorry" toggle ποΈ
NN
NN is INTEGER.
the number of values of N contained in the vector NVAL.
NVAL
NVAL is INTEGER array, dimension (NN).
the values of the matrix dimension N. 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. yes, plural, we're generating a whole crowd of them.
THRESH
THRESH is REAL.
the threshold value for the test ratios. a result is included in the output file if RESULT >= THRESH. and β super important, don't miss this β to have every test ratio printed, use THRESH = 0. periodt. π
TSTERR
TSTERR is LOGICAL.
flag that indicates whether error exits are to be tested. yes queen, test the errors too, we love a thorough icon.
NMAX
NMAX is INTEGER.
the maximum value permitted for N, used in dimensioning the work arrays. she's the ceiling, she's the limit π
A
A is COMPLEX array, dimension (NMAX*NMAX).
AFAC
AFAC is COMPLEX array, dimension (NMAX*NMAX).
AINV
AINV is COMPLEX array, dimension (NMAX*NMAX).
B
B is COMPLEX array, dimension (NMAX*NRHS).
X
X is COMPLEX array, dimension (NMAX*NRHS).
XACT
XACT is COMPLEX array, dimension (NMAX*NRHS).
WORK
WORK is COMPLEX array, dimension (NMAX*max(2,NRHS)).
(that's max(2,NRHS) β literally max, not a typo, she's conditional like that π¦)
RWORK
RWORK is REAL array, dimension (NMAX+2*NRHS).
IWORK
IWORK is INTEGER array, dimension (NMAX).
NOUT
NOUT is INTEGER.
the unit number for output. that's where the receipts go π§Ύ
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
the whole group chat wrote this one ngl π«Ά
Definition at line150of filecdrvsy.f.
β Author β
Generated automatically by Doxygen for LAPACK from the source code. not a human, a robot, and honestly she ate π€β¨
okay that's the whole page bestie β LAPACK, Version 3.12.0, and the source path on the footer was /home/abui...IN/cdrvsy.f(3) (they truncated it, iykyk π). love u, go run your tests ππ
π¦ 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