double_eig(3)
double_eig(3) ๐
okay so bestie, welcome to double_eig โ manual section 3, straight outta LAPACK โจ this page is the whole squad of double-precision EIG testing routines and honestly it's giving โจmain character energyโจ. she's long, she's thorough, and she's about to tell you literally everything. let's go ๐ฆ
๐ธ NAME ๐ธ
double_eig โ double ๐
(that's it. that's the name. mysterious, iconic, no notes.)
โจ SYNOPSIS โจ
Functions
program dchkeeDCHKEE
๐ซ DETAILED DESCRIPTION ๐ซ
This is the group of double LAPACK TESTING EIG routines. ๐
๐ FUNCTION DOCUMENTATION ๐
๐ง program dchkee
DCHKEE
Purpose: ๐ซถ
DCHKEE tests the DOUBLE PRECISION LAPACK subroutines for the matrix eigenvalue problem. the test paths in this version are, bestie, get comfy:
NEP(Nonsymmetric Eigenvalue Problem) โ testDGEHRD,DORGHR,DHSEQR,DTREVC,DHSEIN, andDORMHRSEP(Symmetric Eigenvalue Problem) โ testDSYTRD,DORGTR,DSTEQR,DSTERF,DSTEIN,DSTEDC, and driversDSYEV(X),DSBEV(X),DSPEV(X),DSTEV(X),DSYEVD,DSBEVD,DSPEVD,DSTEVDSVD(Singular Value Decomposition) โ testDGEBRD,DORGBR,DBDSQR,DBDSDCand the driversDGESVD,DGESDDDEV(Nonsymmetric Eigenvalue/eigenvector Driver) โ testDGEEVDES(Nonsymmetric Schur form Driver) โ testDGEESDVX(Nonsymmetric Eigenvalue/eigenvector Expert Driver) โ testDGEEVXDSX(Nonsymmetric Schur form Expert Driver) โ testDGEESXDGG(Generalized Nonsymmetric Eigenvalue Problem) โ testDGGHD3,DGGBAL,DGGBAK,DHGEQZ, andDTGEVCDGS(Generalized Nonsymmetric Schur form Driver) โ testDGGESDGV(Generalized Nonsymmetric Eigenvalue/eigenvector Driver) โ testDGGEVDGX(Generalized Nonsymmetric Schur form Expert Driver) โ testDGGESXDXV(Generalized Nonsymmetric Eigenvalue/eigenvector Expert Driver) โ testDGGEVXDSG(Symmetric Generalized Eigenvalue Problem) โ testDSYGST,DSYGV,DSYGVD,DSYGVX,DSPGST,DSPGV,DSPGVD,DSPGVX,DSBGST,DSBGV,DSBGVD, andDSBGVXDSB(Symmetric Band Eigenvalue Problem) โ testDSBTRDDBB(Band Singular Value Decomposition) โ testDGBBRDDEC(Eigencondition estimation) โ testDLALN2,DLASY2,DLAEQU,DLAEXC,DTRSYL,DTREXC,DTRSNA,DTRSEN, andDLAQTRDBL(Balancing a general matrix) โ testDGEBALDBK(Back transformation on a balanced matrix) โ testDGEBAKDGL(Balancing a matrix pair) โ testDGGBALDGK(Back transformation on a matrix pair) โ testDGGBAKGLM(Generalized Linear Regression Model) โ testsDGGGLMGQR(Generalized QR and RQ factorizations) โ testsDGGQRFandDGGRQFGSV(Generalized Singular Value Decomposition) โ testsDGGSVD,DGGSVP,DTGSJA,DLAGS2,DLAPLL, andDLAPMTCSD(CS decomposition) โ testsDORCSDLSE(Constrained Linear Least Squares) โ testsDGGLSE
each test path has a different set of inputs, but the data sets for the driver routines xEV, xES, xVX, and xSX can be concatenated into a single input file ๐ง. the first line of input should contain one of the 3-character path names in columns 1-3, and the number of remaining lines depends on what is found on that first line. iykyk.
the number of matrix types used in testing is often controllable from the input file. the number of matrix types for each path, and the test routine that describes them, is as follows โ columns are path name(s), types, test routine:
DHSorNEPโ 21 โDCHKHSDSTorSEPโ 21 โDCHKST(routines)DSTorSEPโ 18 โDDRVST(drivers)DBDorSVDโ 16 โDCHKBD(routines)DBDorSVDโ 5 โDDRVBD(drivers)DEVโ 21 โDDRVEVDESโ 21 โDDRVESDVXโ 21 โDDRVVXDSXโ 21 โDDRVSXDGGโ 26 โDCHKGG(routines)DGSโ 26 โDDRGESDGXโ 5 โDDRGSXDGVโ 26 โDDRGEVDXVโ 2 โDDRGVXDSGโ 21 โDDRVSGDSBโ 15 โDCHKSBDBBโ 15 โDCHKBBDECโ-โDCHKECDBLโ-โDCHKBLDBKโ-โDCHKBKDGLโ-โDCHKGLDGKโ-โDCHKGKGLMโ 8 โDCKGLMGQRโ 8 โDCKGQRGSVโ 8 โDCKGSVCSDโ 3 โDCKCSDLSEโ 8 โDCKLSE
okay bestie, now the input files. each path wants its own lil setup and here's exactly what each one expects ๐
NEP input file ๐
- line 2:
NN, INTEGER โ number of values ofN. - line 3:
NVAL, INTEGER array, dimension (NN) โ the values for the matrix dimensionN. - line 4:
NPARMS, INTEGER โ number of values of the parametersNB,NBMIN,NX,NS, andMAXB. - line 5:
NBVAL, INTEGER array, dimension (NPARMS) โ the values for the blocksizeNB. - line 6:
NBMIN, INTEGER array, dimension (NPARMS) โ the values for the minimum blocksizeNBMIN. - line 7:
NXVAL, INTEGER array, dimension (NPARMS) โ the values for the crossover pointNX. - line 8:
INMIN, INTEGER array, dimension (NPARMS) โLAHQRvsTTQREcrossover point, >= 11 - line 9:
INWIN, INTEGER array, dimension (NPARMS) โ recommended deflation window size - line 10:
INIBL, INTEGER array, dimension (NPARMS) โ nibble crossover point - line 11:
ISHFTS, INTEGER array, dimension (NPARMS) โ number of simultaneous shifts) - line 12:
IACC22, INTEGER array, dimension (NPARMS) โ select structured matrix multiply: 0, 1 or 2) - line 13:
THRESHโ threshold value for the test ratios. info gets printed about each test whose test ratio is greater than or equal to the threshold. and if you want all of the test ratios printed, useTHRESH = 0.0๐ - line 14:
NEWSD, INTEGER โ a code indicating how to set the random number seed.- = 0: set the seed to a default value before each run
- = 1: initialize the seed to a default value only before the first run
- = 2: like 1, but use the seed values on the next line
if line 14 was 2:
- line 15: INTEGER array, dimension (4) โ four integer values for the random number seed.
lines 15-EOF: the remaining lines occur in sets of 1 or 2 and let the user specify the matrix types. each line has a 3-character path name in columns 1-3, and the number of matrix types must be the first nonblank item in columns 4-80. if the number of matrix types is at least 1 but is less than the maximum number of possible types, a second line gets read to grab the numbers of the matrix types to be used. for example:
NEP 21
requests all of the matrix types for the nonsymmetric eigenvalue problem, while
NEP 4
9 10 11 12
requests only matrices of type 9, 10, 11, and 12.
the valid 3-character path names are 'NEP' or 'SHS' for the nonsymmetric eigenvalue routines.
SEP or DSG input file ๐ธ
- line 2:
NN, INTEGER โ number of values ofN. - line 3:
NVAL, INTEGER array, dimension (NN) โ the values for the matrix dimensionN. - line 4:
NPARMS, INTEGER โ number of values of the parametersNB,NBMIN, andNX. - line 5:
NBVAL, INTEGER array, dimension (NPARMS) โ the values for the blocksizeNB. - line 6:
NBMIN, INTEGER array, dimension (NPARMS) โ the values for the minimum blocksizeNBMIN. - line 7:
NXVAL, INTEGER array, dimension (NPARMS) โ the values for the crossover pointNX. - line 8:
THRESHโ threshold value for the test ratios. info gets printed about each test whose test ratio is greater than or equal to the threshold. - line 9:
TSTCHK, LOGICAL โ flag indicating whether or not to test the LAPACK routines. - line 10:
TSTDRV, LOGICAL โ flag indicating whether or not to test the driver routines. - line 11:
TSTERR, LOGICAL โ flag indicating whether or not to test the error exits for the LAPACK routines and driver routines. - line 12:
NEWSD, INTEGER โ a code indicating how to set the random number seed.- = 0: set the seed to a default value before each run
- = 1: initialize the seed to a default value only before the first run
- = 2: like 1, but use the seed values on the next line
if line 12 was 2:
- line 13: INTEGER array, dimension (4) โ four integer values for the random number seed.
lines 13-EOF: lines specifying matrix types, as for NEP. the 3-character path names are 'SEP' or 'SST' for the symmetric eigenvalue routines and driver routines, and 'DSG' for the routines for the symmetric generalized eigenvalue problem. ๐ฆ
SVD input file โญ
- line 2:
NN, INTEGER โ number of values ofMandN. - line 3:
MVAL, INTEGER array, dimension (NN) โ the values for the matrix row dimensionM. - line 4:
NVAL, INTEGER array, dimension (NN) โ the values for the matrix column dimensionN. - line 5:
NPARMS, INTEGER โ number of values of the parameterNB,NBMIN,NX, andNRHS. - line 6:
NBVAL, INTEGER array, dimension (NPARMS) โ the values for the blocksizeNB. - line 7:
NBMIN, INTEGER array, dimension (NPARMS) โ the values for the minimum blocksizeNBMIN. - line 8:
NXVAL, INTEGER array, dimension (NPARMS) โ the values for the crossover pointNX. - line 9:
NSVAL, INTEGER array, dimension (NPARMS) โ the values for the number of right hand sidesNRHS. - line 10:
THRESHโ threshold value for the test ratios. info gets printed about each test whose test ratio is greater than or equal to the threshold.
ok bestie that's the vibe so far, and we're literally not even done ๐ญ keep scrolling, part 2 is right there and she has MORE. don't go anywhere ๐
โจ bestie we're back and we're still in the test-file-format trenches โจ
line 11: TSTCHK, LOGICALโ flag indicating whether or not to test the LAPACK routines. ๐line 12: TSTDRV, LOGICALโ flag indicating whether or not to test the driver routines. ๐line 13: TSTERR, LOGICALโ flag indicating whether or not to test the error exits for the LAPACK routines and driver routines. ๐จline 14: NEWSD, INTEGERโ a code indicating how to set the random number seed. ๐ฑ= 0: Set the seed to a default value before each run.= 1: Initialize the seed to a default value only before the first run.= 2: Like1, but use the seed values on the next line.
If line 14 was 2:
line 15: INTEGER array, dimension (4)โ four integer values for the random number seed. ๐ฒlines 15-EOFโ lines specifying matrix types, as for NEP. The 3-character path names are'SVD'or'SBD'for both the SVD routines and the SVD driver routines. ๐
โจ DEV and DES data files โจ
line 1:'DEV'or'DES'in columns 1 to 3. ๐line 2: NSIZES, INTEGERโ number of sizes of matrices to use. Should be at least 0 and at most 20. IfNSIZES = 0, no testing is done (although the remaining 3 lines are still read). ๐ญline 3: NN, INTEGER array, dimension(NSIZES)โ dimensions of matrices to be tested. ๐line 4: NB, NBMIN, NX, NS, NBCOL, INTEGERsโ these integer parameters determine how blocking is done (seeILAENVfor details).NB: block sizeNBMIN: minimum block sizeNX: minimum dimension for blockingNS: number of shifts in xHSEQRNBCOL: minimum column dimension for blocking
line 5: THRESH, REALโ the test threshold against which computed residuals are compared. Should generally be in the range from10.to20.. If it is0., all test case data will be printed. ๐จ๏ธline 6: TSTERR, LOGICALโ flag indicating whether or not to test the error exits. ๐ชline 7: NEWSD, INTEGERโ a code indicating how to set the random number seed.= 0: Set the seed to a default value before each run.= 1: Initialize the seed to a default value only before the first run.= 2: Like1, but use the seed values on the next line.
If line 7 was 2:
line 8: INTEGER array, dimension (4)โ four integer values for the random number seed. ๐ฒlines 9 and followingโ lines specifying matrix types, as for NEP. The 3-character path name is'DEV'to test SGEEV, or'DES'to test SGEES. ๐
โจ DVX data โจ
The DVX data has two parts. The first part is identical to DEV, and the second part consists of test matrices with precomputed solutions. ๐ฏ
line 1:'DVX'in columns 1-3. ๐ฆline 2: NSIZES, INTEGERโ ifNSIZES = 0, no testing of randomly generated examples is done, but any precomputed examples are tested. ๐งชline 3: NN, INTEGER array, dimension(NSIZES)โ dimensions. ๐line 4: NB, NBMIN, NX, NS, NBCOL, INTEGERsโ blocking parameters. ๐งฑline 5: THRESH, REALโ threshold. ๐ก๏ธline 6: TSTERR, LOGICALโ test error exits flag. ๐จline 7: NEWSD, INTEGERโ seed code. ๐ฑ
If line 7 was 2:
line 8: INTEGER array, dimension (4)โ seed values. ๐ฒlines 9 and following: The first line contains'DVX'in columns 1-3 followed by the number of matrix types, possibly with a second line to specify certain matrix types. If the number of matrix types = 0, no testing of randomly generated examples is done, but any precomputed examples are tested. ๐remaining lines :Each matrix is stored on1+2*Nlines, whereNis its dimension. The first line contains the dimension (a single integer). The nextNlines contain the matrix, one row per line. The lastNlines correspond to each eigenvalue. Each of these lastNlines contains 4 real values: the real part of the eigenvalue, the imaginary part of the eigenvalue, the reciprocal condition number of the eigenvalues, and the reciprocal condition number of the eigenvector. The end of data is indicated by dimensionN=0. Even if no data is to be tested, there must be at least one line containingN=0. ๐งฎ
โจ DSX data โจ
The DSX data is like DVX. The first part is identical to DEV, and the second part consists of test matrices with precomputed solutions. ๐ฏ
line 1:'DSX'in columns 1-3. ๐ฆline 2: NSIZES, INTEGERโ ifNSIZES = 0, no testing of randomly generated examples is done, but any precomputed examples are tested. ๐งชline 3: NN, INTEGER array, dimension(NSIZES)โ dimensions. ๐line 4: NB, NBMIN, NX, NS, NBCOL, INTEGERsโ blocking parameters. ๐งฑline 5: THRESH, REALโ threshold. ๐ก๏ธline 6: TSTERR, LOGICALโ test error exits flag. ๐จline 7: NEWSD, INTEGERโ seed code. ๐ฑ
If line 7 was 2:
line 8: INTEGER array, dimension (4)โ seed values. ๐ฒlines 9 and following: The first line contains'DSX'in columns 1-3 followed by the number of matrix types, possibly with a second line to specify certain matrix types. If the number of matrix types = 0, no testing of randomly generated examples is done, but any precomputed examples are tested. ๐remaining lines :Each matrix is stored on3+Nlines, whereNis its dimension. The first line contains the dimensionNand the dimensionMof an invariant subspace. The second line containsMintegers, identifying the eigenvalues in the invariant subspace (by their position in a list of eigenvalues ordered by increasing real part). The nextNlines contain the matrix. The last line contains the reciprocal condition number for the average of the selected eigenvalues, and the reciprocal condition number for the corresponding right invariant subspace. The end of data is indicated by a line containingN=0andM=0. Even if no data is to be tested, there must be at least one line containingN=0andM=0. ๐งฎ
โจ DGG input file โจ
line 2: NN, INTEGERโ number of values ofN. ๐ขline 3: NVAL, INTEGER array, dimension (NN)โ the values for the matrix dimensionN. ๐line 4: NPARMS, INTEGERโ number of values of the parametersNB,NBMIN,NS,MAXB, andNBCOL. ๐๏ธline 5: NBVAL, INTEGER array, dimension (NPARMS)โ the values for the blocksizeNB. ๐งฑline 6: NBMIN, INTEGER array, dimension (NPARMS)โ the values forNBMIN, the minimum row dimension for blocks. ๐line 7: NSVAL, INTEGER array, dimension (NPARMS)โ the values for the number of shifts. ๐line 8: MXBVAL, INTEGER array, dimension (NPARMS)โ the values forMAXB, used in determining minimum blocksize. ๐line 9: IACC22, INTEGER array, dimension (NPARMS)โ select structured matrix multiply:1or2). ๐คline 10: NBCOL, INTEGER array, dimension (NPARMS)โ the values forNBCOL, the minimum column dimension for blocks. ๐line 11: THRESHโ threshold value for the test ratios. Information will be printed about each test for which the test ratio is greater than or equal to the threshold. ๐จ๏ธline 12: TSTCHK, LOGICALโ flag indicating whether or not to test the LAPACK routines. ๐line 13: TSTDRV, LOGICALโ flag indicating whether or not to test the driver routines. ๐line 14: TSTERR, LOGICALโ flag indicating whether or not to test the error exits for the LAPACK routines and driver routines. ๐จline 15: NEWSD, INTEGERโ a code indicating how to set the random number seed.= 0: Set the seed to a default value before each run.= 1: Initialize the seed to a default value only before the first run.= 2: Like1, but use the seed values on the next line.
If line 15 was 2:
line 16: INTEGER array, dimension (4)โ four integer values for the random number seed. ๐ฒlines 17-EOFโ lines specifying matrix types, as for NEP. The 3-character path name is'DGG'for the generalized eigenvalue problem routines and driver routines. ๐
โจ DGS and DGV input files โจ
line 1:'DGS'or'DGV'in columns 1 to 3. ๐line 2: NN, INTEGERโ number of values ofN. ๐ขline 3: NVAL, INTEGER array, dimension(NN)โ dimensions of matrices to be tested. ๐line 4: NB, NBMIN, NX, NS, NBCOL, INTEGERsโ these integer parameters determine how blocking is done (seeILAENVfor details).NB: block sizeNBMIN: minimum block sizeNX: minimum dimension for blockingNS: number of shifts in xHGEQRNBCOL: minimum column dimension for blocking
line 5: THRESH, REALโ the test threshold against which computed residuals are compared. Should generally be in the range from10.to20.. If it is0., all test case data will be printed. ๐จ๏ธline 6: TSTERR, LOGICALโ flag indicating whether or not to test the error exits. ๐ชline 7: NEWSD, INTEGERโ a code indicating how to set the random number seed.= 0: Set the seed to a default value before each run.= 1: Initialize the seed to a default value only before the first run.= 2: Like1, but use the seed values on the next line.
If line 17 was 2:
line 7: INTEGER array, dimension (4)โ four integer values for the random number seed. ๐ฒ
lines 7-EOF: Lines specifying matrix types, as for NEP. The 3-character path name is 'DGS' for the generalized eigenvalue problem routines and driver routines. ๐
DXV input files ๐ฆ
- line 1:
'DXV'in columns 1 to 3. ๐ - line 2:
N,INTEGERโ literally the value ofN. โจ - line 3:
NB,NBMIN,NX,NS,NBCOL,INTEGERsโ these integer parameters decide how blocking is done (seeILAENVfor details). ๐NB: block sizeNBMIN: minimum block sizeNX: minimum dimension for blockingNS: number of shifts inxHGEQRNBCOL: minimum column dimension for blocking
- line 4:
THRESH,REALโ the test threshold that computed residuals get compared against. Should generally be in the range from10.to20.Info gets printed about each test where the test ratio is greater than or equal to the threshold. ๐ธ - line 5:
TSTERR,LOGICALโ flag saying whether or not to test the error exits for the LAPACK routines and driver routines. ๐ - line 6:
NEWSD,INTEGERโ a code indicating how to set the random number seed. ๐ง= 0: Set the seed to a default value before each run= 1: Initialize the seed to a default value only before the first run= 2: Like 1, but use the seed values on the next line
Ifline 6was2:
- line 7:
INTEGERarray, dimension(4)โ four integer values for the random number seed. โญ
Ifline 2was0:
- line 7-EOF: Precomputed examples are tested.
- remaining lines: Each example is stored on
3+2*Nlines, whereNis its dimension. The first line contains the dimension (a single integer). The nextNlines contain the matrixA, one row per line. The nextNlines contain the matrixB. The next line contains the reciprocals of the eigenvalue condition numbers. The last line contains the reciprocals of the eigenvector condition numbers. The end of data is indicated by dimensionN=0. Even if no data is to be tested, there must be at least one line containingN=0. ๐
DGX input files ๐
- line 1:
'DGX'in columns 1 to 3. โจ - line 2:
N,INTEGERโ value ofN. - line 3:
NB,NBMIN,NX,NS,NBCOL,INTEGERsโ these integer parameters determine how blocking is done (seeILAENVfor details).NB: block sizeNBMIN: minimum block sizeNX: minimum dimension for blockingNS: number of shifts inxHGEQRNBCOL: minimum column dimension for blocking
- line 4:
THRESH,REALโ the test threshold against which computed residuals are compared. Should generally be in the range from10.to20.Information will be printed about each test for which the test ratio is greater than or equal to the threshold. - line 5:
TSTERR,LOGICALโ flag indicating whether or not to test the error exits for the LAPACK routines and driver routines. - line 6:
NEWSD,INTEGERโ a code indicating how to set the random number seed.= 0: Set the seed to a default value before each run= 1: Initialize the seed to a default value only before the first run= 2: Like 1, but use the seed values on the next line
Ifline 6was2:
- line 7:
INTEGERarray, dimension(4)โ four integer values for the random number seed.
Ifline 2was0:
- line 7-EOF: Precomputed examples are tested.
- remaining lines: Each example is stored on
3+2*Nlines, whereNis its dimension. The first line contains the dimension (a single integer). The next line contains an integerksuch that only the lastkeigenvalues will be selected and appear in the leading diagonal blocks of$A$and$B$. The nextNlines contain the matrixA, one row per line. The nextNlines contain the matrixB. The last line contains the reciprocal of the eigenvalue cluster condition number and the reciprocal of the deflating subspace (associated with the selected eigencluster) condition number. The end of data is indicated by dimensionN=0. Even if no data is to be tested, there must be at least one line containingN=0.
DSB input file ๐
- line 2:
NN,INTEGERโ number of values ofN. - line 3:
NVAL,INTEGERarray, dimension(NN)โ the values for the matrix dimensionN. - line 4:
NK,INTEGERโ number of values ofK. - line 5:
KVAL,INTEGERarray, dimension(NK)โ the values for the matrix dimensionK. - line 6:
THRESHโ threshold value for the test ratios. Information will be printed about each test for which the test ratio is greater than or equal to the threshold. - line 7:
NEWSD,INTEGERโ a code indicating how to set the random number seed.= 0: Set the seed to a default value before each run= 1: Initialize the seed to a default value only before the first run= 2: Like 1, but use the seed values on the next line
Ifline 7was2:
- line 8:
INTEGERarray, dimension(4)โ four integer values for the random number seed. - lines 8-EOF: Lines specifying matrix types, as for NEP. The 3-character path name is
'DSB'.
DBB input file ๐
- line 2:
NN,INTEGERโ number of values ofMandN. - line 3:
MVAL,INTEGERarray, dimension(NN)โ the values for the matrix row dimensionM. - line 4:
NVAL,INTEGERarray, dimension(NN)โ the values for the matrix column dimensionN. - line 4:
NK,INTEGERโ number of values ofK. (yes, anotherline 4, the original said it, not me ๐) - line 5:
KVAL,INTEGERarray, dimension(NK)โ the values for the matrix bandwidthK. - line 6:
NPARMS,INTEGERโ number of values of the parameterNRHS - line 7:
NSVAL,INTEGERarray, dimension(NPARMS)โ the values for the number of right hand sidesNRHS. - line 8:
THRESHโ threshold value for the test ratios. Information will be printed about each test for which the test ratio is greater than or equal to the threshold. - line 9:
NEWSD,INTEGERโ a code indicating how to set the random number seed.= 0: Set the seed to a default value before each run= 1: Initialize the seed to a default value only before the first run= 2: Like 1, but use the seed values on the next line
Ifline 9was2:
- line 10:
INTEGERarray, dimension(4)โ four integer values for the random number seed. - lines 10-EOF: Lines specifying matrix types, as for SVD. The 3-character path name is
'DBB'.
DEC input file ๐
- line 2:
THRESH,REALโ threshold value for the test ratios. Information will be printed about each test for which the test ratio is greater than or equal to the threshold. - lines 3-EOF: Input for testing the eigencondition routines consists of a set of specially constructed test cases and their solutions. The data format is not intended to be modified by the user.
DBL and DBK input files ๐
- line 1:
'DBL'in columns 1-3 to testSGEBAL, or'DBK'in columns 1-3 to testSGEBAK. - The remaining lines consist of specially constructed test cases.
DGL and DGK input files ๐ง
- line 1:
'DGL'in columns 1-3 to testDGGBAL, or'DGK'in columns 1-3 to testDGGBAK. - The remaining lines consist of specially constructed test cases.
GLM data file ๐ธ
- line 1:
'GLM'in columns 1 to 3. - line 2:
NN,INTEGERโ number of values ofM,P, andN. - line 3:
MVAL,INTEGERarray,dimension(NN)โ values ofM(row dimension). - line 4:
PVAL,INTEGERarray,dimension(NN)โ values ofP(row dimension). - line 5:
NVAL,INTEGERarray,dimension(NN)โ values ofN(column dimension), noteM <= N <= M+P. - line 6:
THRESH,REALโ threshold value for the test ratios. Information will be printed about each test for which the test ratio is greater than or equal to the threshold. - line 7:
TSTERR,LOGICALโ flag indicating whether or not to test the error exits for the LAPACK routines and driver routines. - line 8:
NEWSD,INTEGERโ a code indicating how to set the random number seed.= 0: Set the seed to a default value before each run= 1: Initialize the seed to a default value only before the first run= 2: Like 1, but use the seed values on the next line
Ifline 8was2:
- line 9:
INTEGERarray, dimension(4)โ four integer values for the random number seed. - lines 9-EOF: Lines specifying matrix types, as for NEP. The 3-character path name is
'GLM'for the generalized linear regression model routines.
GQR data file โญ
- line 1:
'GQR'in columns 1 to 3. - line 2:
NN,INTEGERโ number of values ofM,P, andN. - line 3:
MVAL, INTEGER array, dimension(NN) โ the values of M. ๐ซ - line 4:
PVAL, INTEGER array, dimension(NN) โ the values of P. - line 5:
NVAL, INTEGER array, dimension(NN) โ the values of N. - line 6:
THRESH, REAL โ the threshold value for the test ratios. Info gets printed about every test whose test ratio is greater than or equal to the threshold. ๐ - line 7:
TSTERR, LOGICAL โ a flag saying whether or not to test the error exits for the LAPACK routines and driver routines. - line 8:
NEWSD, INTEGER โ a code telling us how to set the random number seed:= 0: Set the seed to a default value before each run= 1: Initialize the seed to a default value only before the first run= 2: Like 1, but use the seed values on the next line
If line 8 was 2:
- line 9: INTEGER array, dimension (4) โ four integer values for the random number seed. ๐ฒ
- lines 9-EOF: Lines specifying matrix types, as for NEP. The 3-character path name is
'GQR'for the generalized QR and RQ routines.
๐ฆ GSV data file ๐ฆ
- line 1:
'GSV'in columns 1 to 3. - line 2:
NN, INTEGER โ number of values of M, P, and N. - line 3:
MVAL, INTEGER array, dimension(NN) โ the values of M (row dimension). - line 4:
PVAL, INTEGER array, dimension(NN) โ the values of P (row dimension). - line 5:
NVAL, INTEGER array, dimension(NN) โ the values of N (column dimension). - line 6:
THRESH, REAL โ the threshold value for the test ratios. Info gets printed about every test whose test ratio is greater than or equal to the threshold. - line 7:
TSTERR, LOGICAL โ a flag saying whether or not to test the error exits for the LAPACK routines and driver routines. - line 8:
NEWSD, INTEGER โ a code for how to set the random number seed:= 0: Set the seed to a default value before each run= 1: Initialize the seed to a default value only before the first run= 2: Like 1, but use the seed values on the next line
If line 8 was 2:
- line 9: INTEGER array, dimension (4) โ four integer values for the random number seed.
- lines 9-EOF: Lines specifying matrix types, as for NEP. The 3-character path name is
'GSV'for the generalized SVD routines.
๐ CSD data file ๐
- line 1:
'CSD'in columns 1 to 3. - line 2:
NM, INTEGER โ number of values of M, P, and N. - line 3:
MVAL, INTEGER array, dimension(NM) โ the values of M (row and column dimension of orthogonal matrix). - line 4:
PVAL, INTEGER array, dimension(NM) โ the values of P (row dimension of top-left block). - line 5:
NVAL, INTEGER array, dimension(NM) โ the values of N (column dimension of top-left block). - line 6:
THRESH, REAL โ the threshold value for the test ratios. Info gets printed about every test whose test ratio is greater than or equal to the threshold. - line 7:
TSTERR, LOGICAL โ a flag saying whether or not to test the error exits for the LAPACK routines and driver routines. - line 8:
NEWSD, INTEGER โ a code for how to set the random number seed:= 0: Set the seed to a default value before each run= 1: Initialize the seed to a default value only before the first run= 2: Like 1, but use the seed values on the next line
If line 8 was 2:
- line 9: INTEGER array, dimension (4) โ four integer values for the random number seed.
- lines 9-EOF: Lines specifying matrix types, as for NEP. The 3-character path name is
'CSD'for the CSD routine.
๐ธ LSE data file ๐ธ
- line 1:
'LSE'in columns 1 to 3. - line 2:
NN, INTEGER โ number of values of M, P, and N. - line 3:
MVAL, INTEGER array, dimension(NN) โ the values of M. - line 4:
PVAL, INTEGER array, dimension(NN) โ the values of P. - line 5:
NVAL, INTEGER array, dimension(NN) โ the values of N, noteP <= N <= P+M. ๐ - line 6:
THRESH, REAL โ the threshold value for the test ratios. Info gets printed about every test whose test ratio is greater than or equal to the threshold. - line 7:
TSTERR, LOGICAL โ a flag saying whether or not to test the error exits for the LAPACK routines and driver routines. - line 8:
NEWSD, INTEGER โ a code for how to set the random number seed:= 0: Set the seed to a default value before each run= 1: Initialize the seed to a default value only before the first run= 2: Like 1, but use the seed values on the next line
If line 8 was 2:
- line 9: INTEGER array, dimension (4) โ four integer values for the random number seed.
- lines 9-EOF: Lines specifying matrix types, as for NEP. The 3-character path name is
'GSV'for the generalized SVD routines.
bestie, this next bit is literally the whole vibe of the sizing, do not skip it ๐ซถ
NMAX is currently set to 132 and must be at least 12 for some of the precomputed examples, and LWORK = NMAX*(5*NMAX+5)+1 in the parameter statements below. For SVD, we assume NRHS may be as big as N. The parameter NEED is set to 14 to allow for 14 N-by-N matrices for DGG.
๐ Author ๐
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Author
Generated automatically by Doxygen for LAPACK from the source code.
okay and that's a wrap on this whole page, no cap ๐
the version on this one is 3.11.0, dated Sun Nov 27 2022, and it's filed under double_eig(3). go forth and eig, queen ๐โจ
๐ฆ where this page comes from
- debian bookworm: liblapack-doc 3.11.0-2 ยท BSD-3-Clause
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms