ZDRVLS(3)
π ZDRVLS(3) β like, the LAPACK test routine bestie π
okay so bestie, this is a <pink>Library Functions Manual</pink> situation and honestly? it's giving "I test least squares drivers for fun" energy. no cap.
β¨ SYNOPSIS β¨
πΈ Functions/Subroutines πΈ
subroutine ZDRVLS (dotype, nm, mval, nn, nval, nns, nsval, nnb, nbval,
nxval, thresh, tsterr, a, copya, b, copyb, c, s, copys, nout)
ZDRVLS β literally the main character of this whole page fr fr.
π Function/Subroutine Documentation π
subroutine ZDRVLS (logical, dimension( * ) dotype, integer nm, integer,
dimension( * ) mval, integer nn, integer, dimension( * ) nval, integer
nns, integer, dimension( * ) nsval, integer nnb, integer, dimension( * )
nbval, integer, dimension( * ) nxval, double precision thresh, logical
tsterr, complex*16, dimension( * ) a, complex*16, dimension( * ) copya,
complex*16, dimension( * ) b, complex*16, dimension( * ) copyb,
complex*16, dimension( * ) c, double precision, dimension( * ) s, double
precision, dimension( * ) copys, integer nout)
ZDRVLS β yeah, she's iconic like that π
π Purpose: π
ZDRVLStests the least squares driver routinesZGELS,ZGELST,ZGETSLS,ZGELSS,ZGELSYandZGELSD. π β¨
like, she's the vibe check for ALL of them. obsessed.
π¦ Parameters π¦
π DOTYPE
DOTYPEisLOGICALarray, dimension(NTYPES)The matrix types to be used for testing. Matrices of type j (for1 <= j <= NTYPES) are used for testing ifDOTYPE(j) = .TRUE.; ifDOTYPE(j) = .FALSE., then type j is not used. The matrix of type j is generated as follows: -j=1:A = U*D*VwhereUandVare random unitary matrices andDhas random entries(> 0.1)taken from a uniform distribution(0,1).Ais full rank. π― -j=2: The same of 1, butAis scaled up. π₯ -j=3: The same of 1, butAis scaled down. π§ -j=4:A = U*D*VwhereUandVare random unitary matrices andDhas3*min(M,N)/4random entries(> 0.1)taken from a uniform distribution(0,1)and the remaining entries set to0.Ais rank-deficient. π -j=5: The same of 4, butAis scaled up. π -j=6: The same of 5, butAis scaled down. π
π NM
NMisINTEGERThe number of values ofMcontained in the vectorMVAL. periodt. π
π MVAL
MVALisINTEGERarray, dimension(NM)The values of the matrix row dimensionM. slay.
π NN
NNisINTEGERThe number of values ofNcontained in the vectorNVAL. fr fr.
π NVAL
NVALisINTEGERarray, dimension(NN)The values of the matrix column dimensionN. π
π NNB
NNBisINTEGERThe number of values ofNBandNXcontained in the vectorsNBVALandNXVAL. The blocking parameters are used in pairs(NB,NX). iykyk. β¨
π NBVAL
NBVALisINTEGERarray, dimension(NNB)The values of the blocksizeNB. lowkey important.
π NXVAL
NXVALisINTEGERarray, dimension(NNB)The values of the crossover pointNX. highkey relevant.
π NNS
NNSisINTEGERThe number of values ofNRHScontained in the vectorNSVAL. not me being obsessed with this parameter.
π NSVAL
NSVALisINTEGERarray, dimension(NNS)The values of the number of right hand sidesNRHS. π
π THRESH
THRESHisDOUBLE PRECISIONThe threshold value for the test ratios. A result is included in the output file ifRESULT >= THRESH. To have every test ratio printed, useTHRESH = 0. π«Ά
π TSTERR
TSTERRisLOGICALFlag that indicates whether error exits are to be tested. main character energy.
π A
AisCOMPLEX*16array, dimension(MMAX*NMAX)whereMMAXis the maximum value ofMinMVALandNMAXis the maximum value ofNinNVAL. π
π COPYA
COPYAisCOMPLEX*16array, dimension(MMAX*NMAX). literally her twin.
π B
BisCOMPLEX*16array, dimension(MMAX*NSMAX)whereMMAXis the maximum value ofMinMVALandNSMAXis the maximum value ofNRHSinNSVAL. πΈ
π COPYB
COPYBisCOMPLEX*16array, dimension(MMAX*NSMAX). the way that she copies... iconic.
π C
CisCOMPLEX*16array, dimension(MMAX*NSMAX). just vibing here.
π S
SisDOUBLE PRECISIONarray, dimension(min(MMAX,NMAX)). π¦
π COPYS
COPYSisDOUBLE PRECISIONarray, dimension(min(MMAX,NMAX)). matching set bestie.
π NOUT
NOUTisINTEGERThe unit number for output. where the tea gets spilled. β
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
the academic icons that made this happen. we stan. π
π« Definition π«
Definition at line 189 of file zdrvls.f. that's the exact spot bestie. no cap.
β¨ Author (again but make it cute) β¨
Generated automatically by Doxygen for LAPACK from the source code. like, the code wrote this about itself. meta af. π€π
π okay so that's literally the whole vibe ofZDRVLS(3). she's a LAPACK testing routine, she testsZGELS,ZGELST,ZGETSLS,ZGELSS,ZGELSYandZGELSD, and she does it with style. periodt. π
LAPACK β Version 3.12.0 β and the file is literally zdrvls.f(3). you're welcome bestie π«Άβ¨
π¦ 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