TESTING/LIN/ddrvls.f(3)
okay bestie, welcome to TESTING/LIN/ddrvls.f(3) from the Library Functions Manual β this is the page for DDRVLS, and itβs giving βleast-squares driver test centralβ π
NAME
TESTING/LIN/ddrvls.f β literally the source file name, thatβs the whole NAME section, no cap π
β¨ SYNOPSIS β¨
Functions/Subroutines π§
subroutine ddrvls (dotype, nm, mval, nn, nval, nns, nsval, nnb, nbval,
nxval, thresh, tsterr, a, copya, b, copyb, c, s, copys, nout)
DDRVLS
π Function/Subroutine Documentation π
subroutine ddrvls π«Ά
Hereβs the whole signature, verbatim, because we do not play with technical details:
subroutine ddrvls (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, double precision, dimension( * ) a, double precision, dimension(
* ) copya, double precision, dimension( * ) b, double precision,
dimension( * ) copyb, double precision, dimension( * ) c, double
precision, dimension( * ) s, double precision, dimension( * ) copys,
integer nout)
DDRVLS
π― Purpose
DDRVLS tests the least squares driver routines DGELS, DGELST, DGETSLS, DGELSS, DGELSY, and DGELSD. Thatβs the assignment, periodt β¨
πΈ Parameters
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. 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 of1, butAis scaled up.j=3: The same of1, 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 of4, butAis scaled up.j=6: The same of5, butAis scaled down.
NMβNMisINTEGER. The number of values ofMcontained in the vectorMVAL.MVALβMVALisINTEGERarray, dimension(NM). The values of the matrix row dimensionM.NNβNNisINTEGER. The number of values ofNcontained in the vectorNVAL.NVALβNVALisINTEGERarray, dimension(NN). The values of the matrix column dimensionN.NNSβNNSisINTEGER. The number of values ofNRHScontained in the vectorNSVAL.NSVALβNSVALisINTEGERarray, dimension(NNS). The values of the number of right hand sidesNRHS.NNBβNNBisINTEGER. The number of values ofNBandNXcontained in the vectorsNBVALandNXVAL. The blocking parameters are used in pairs(NB,NX).NBVALβNBVALisINTEGERarray, dimension(NNB). The values of the blocksizeNB.NXVALβNXVALisINTEGERarray, dimension(NNB). The values of the crossover pointNX.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.TSTERRβTSTERRisLOGICAL. Flag that indicates whether error exits are to be tested.AβAisDOUBLE PRECISIONarray, dimension(MMAX*NMAX)whereMMAXis the maximum value ofMinMVALandNMAXis the maximum value ofNinNVAL.COPYAβCOPYAisDOUBLE PRECISIONarray, dimension(MMAX*NMAX).BβBisDOUBLE PRECISIONarray, dimension(MMAX*NSMAX)whereMMAXis the maximum value ofMinMVALandNSMAXis the maximum value ofNRHSinNSVAL.COPYBβCOPYBisDOUBLE PRECISIONarray, dimension(MMAX*NSMAX).CβCisDOUBLE PRECISIONarray, dimension(MMAX*NSMAX).SβSisDOUBLE PRECISIONarray, dimension(min(MMAX,NMAX)).COPYSβCOPYSisDOUBLE PRECISIONarray, dimension(min(MMAX,NMAX)).NOUTβNOUTisINTEGER. The unit number for output.
π Author
Univ. of TennesseeUniv. of California BerkeleyUniv. of Colorado DenverNAG Ltd.
Definition at line 189 of file ddrvls.f.
πΈ Author
Generated automatically by Doxygen for LAPACK from the source code.
and thatβs the tea, bestie: source/version/date vibes are LAPACK, Version 3.12.0, and TESTING/LIN/ddrvls.f(3) β mwah ππ¦β¨
π¦ 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