TESTING/LIN/sdrvls.f(3)
πΈ NAME πΈ
TESTING/LIN/sdrvls.f β okay bestie, this is the TESTING/LIN/sdrvls.f(3) page, and the manual name is Library Functions Manual. It's the home of the sdrvls subroutine, and yes, she's iconic π
.
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine sdrvls (dotype, nm, mval, nn, nval, nns, nsval, nnb, nbval,
nxval, thresh, tsterr, a, copya, b, copyb, c, s, copys, nout)
SDRVLS
π Function/Subroutine Documentation π
subroutine sdrvls (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, real thresh, logical tsterr, real,
dimension( * ) a, real, dimension( * ) copya, real, dimension( * ) b,
real, dimension( * ) copyb, real, dimension( * ) c, real, dimension( * )
s, real, dimension( * ) copys, integer nout)
SDRVLS
π Purpose π
SDRVLS tests the least squares driver routines SGELS, SGELST, SGETSLS, SGELSS, SGELSY and SGELSD. That's the whole vibe check, fr fr π₯.
π Parameters π
DOTYPEβDOTYPE is LOGICAL array, dimension (NTYPES). These are 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. The matrix of typejis generated as follows:j=1:A = U*D*VwhereUandVare random orthogonal 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 orthogonal 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βNM is INTEGER. The number of values ofMcontained in the vectorMVAL.MVALβMVAL is INTEGER array, dimension (NM). The values of the matrix row dimensionM.NNβNN is INTEGER. The number of values ofNcontained in the vectorNVAL.NVALβNVAL is INTEGER array, dimension (NN). The values of the matrix column dimensionN.NNSβNNS is INTEGER. The number of values ofNRHScontained in the vectorNSVAL.NSVALβNSVAL is INTEGER array, dimension (NNS). The values of the number of right hand sidesNRHS.NNBβNNB is INTEGER. The number of values ofNBandNXcontained in the vectorsNBVALandNXVAL. The blocking parameters are used in pairs(NB,NX).NBVALβNBVAL is INTEGER array, dimension (NNB). The values of the blocksizeNB.NXVALβNXVAL is INTEGER array, dimension (NNB). The values of the crossover pointNX.THRESHβTHRESH is REAL. 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.TSTERRβTSTERR is LOGICAL. Flag that indicates whether error exits are to be tested.AβA is REAL array, dimension (MMAX*NMAX)whereMMAXis the maximum value ofMinMVALandNMAXis the maximum value ofNinNVAL.COPYAβCOPYA is REAL array, dimension (MMAX*NMAX).BβB is REAL array, dimension (MMAX*NSMAX)whereMMAXis the maximum value ofMinMVALandNSMAXis the maximum value ofNRHSinNSVAL.COPYBβCOPYB is REAL array, dimension (MMAX*NSMAX).CβC is REAL array, dimension (MMAX*NSMAX).SβS is REAL array, dimension (min(MMAX,NMAX)).COPYSβCOPYS is REAL array, dimension (min(MMAX,NMAX)).NOUTβNOUT is INTEGER. The unit number for output.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 189 of file sdrvls.f.
π§ Author π§
Generated automatically by Doxygen for LAPACK from the source code.
No cap, the footer energy is LAPACK Version 3.12.0 and the page tag is TESTING/LIN/sdrvls.f(3) β slay, you made it to the end, bestie π«Άπβ¨
π¦ 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