TESTING/EIG/dchkee.F(3)
β¨ TESTING/EIG/dchkee.F β¨
ok so first things first, bestie: this page is from the LAPACK manual (the section-3 corner of it), and it's the whole vibe for dchkee β the DOUBLE PRECISION eigenvalue-problem test driver. It's a long one so we're doing this in parts, and honestly? it's giving encyclopedia. But it's an iconic encyclopedia. Let's go π
π·οΈ NAME
TESTING/EIG/dchkee.F
that's it. that's the whole section. short king energy, we respect it π
π SYNOPSIS
π§© Functions/Subroutines
program dchkeeβ akaDCHKEEπ
π§Ύ Function/Subroutine Documentation
π» program dchkee
DCHKEE
β¨ Purpose
DCHKEE tests the DOUBLE PRECISION LAPACK subroutines for the matrix eigenvalue problem. The test paths in this version are:
- NEP (Nonsymmetric Eigenvalue Problem) β tests
DGEHRD,DORGHR,DHSEQR,DTREVC,DHSEIN, andDORMHR - SEP (Symmetric Eigenvalue Problem) β tests
DSYTRD,DORGTR,DSTEQR,DSTERF,DSTEIN,DSTEDC, and driversDSYEV(X),DSBEV(X),DSPEV(X),DSTEV(X),DSYEVD,DSBEVD,DSPEVD,DSTEVD - SVD (Singular Value Decomposition) β tests
DGEBRD,DORGBR,DBDSQR,DBDSDCand the driversDGESVD,DGESDD - DEV (Nonsymmetric Eigenvalue/eigenvector Driver) β tests
DGEEV - DES (Nonsymmetric Schur form Driver) β tests
DGEES - DVX (Nonsymmetric Eigenvalue/eigenvector Expert Driver) β tests
DGEEVX - DSX (Nonsymmetric Schur form Expert Driver) β tests
DGEESX - DGG (Generalized Nonsymmetric Eigenvalue Problem) β tests
DGGHD3,DGGBAL,DGGBAK,DHGEQZ, andDTGEVC - DGS (Generalized Nonsymmetric Schur form Driver) β tests
DGGES - DGV (Generalized Nonsymmetric Eigenvalue/eigenvector Driver) β tests
DGGEV - DGX (Generalized Nonsymmetric Schur form Expert Driver) β tests
DGGESX - DXV (Generalized Nonsymmetric Eigenvalue/eigenvector Expert Driver) β tests
DGGEVX - DSG (Symmetric Generalized Eigenvalue Problem) β tests
DSYGST,DSYGV,DSYGVD,DSYGVX,DSPGST,DSPGV,DSPGVD,DSPGVX,DSBGST,DSBGV,DSBGVD, andDSBGVX - DSB (Symmetric Band Eigenvalue Problem) β tests
DSBTRD - DBB (Band Singular Value Decomposition) β tests
DGBBRD - DEC (Eigencondition estimation) β tests
DLALN2,DLASY2,DLAEQU,DLAEXC,DTRSYL,DTREXC,DTRSNA,DTRSEN, andDLAQTR - DBL (Balancing a general matrix) β tests
DGEBAL - DBK (Back transformation on a balanced matrix) β tests
DGEBAK - DGL (Balancing a matrix pair) β tests
DGGBAL - DGK (Back transformation on a matrix pair) β tests
DGGBAK - GLM (Generalized Linear Regression Model) β tests
DGGGLM - GQR (Generalized QR and RQ factorizations) β tests
DGGQRFandDGGRQF - GSV (Generalized Singular Value Decomposition) β tests
DGGSVD,DGGSVP,DTGSJA,DLAGS2,DLAPLL, andDLAPMT - CSD (CS decomposition) β tests
DORCSD - LSE (Constrained Linear Least Squares) β tests
DGGLSE
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 in a single input file. The first line of input should contain one of the 3-character path names in columns 1-3. The number of remaining lines depends on what is found on the first line.
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 π«Ά
DHSorNEPβ 21 types βDCHKHSDSTorSEPβ 21 types βDCHKST(routines)DSTorSEPβ 18 types βDDRVST(drivers)DBDorSVDβ 16 types βDCHKBD(routines)DBDorSVDβ 5 types βDDRVBD(drivers)DEVβ 21 types βDDRVEVDESβ 21 types βDDRVESDVXβ 21 types βDDRVVXDSXβ 21 types βDDRVSXDGGβ 26 types βDCHKGG(routines)DGSβ 26 types βDDRGESDGXβ 5 types βDDRGSXDGVβ 26 types βDDRGEVDXVβ 2 types βDDRGVXDSGβ 21 types βDDRVSGDSBβ 15 types βDCHKSBDBBβ 15 types βDCHKBBDECβ-βDCHKECDBLβ-βDCHKBLDBKβ-βDCHKBKDGLβ-βDCHKGLDGKβ-βDCHKGKGLMβ 8 types βDCKGLMGQRβ 8 types βDCKGQRGSVβ 8 types βDCKGSVCSDβ 3 types βDCKCSDLSEβ 8 types βDCKLSE
πΈ NEP input file
- line 2:
NN,INTEGERβ number of values ofN. - line 3:
NVAL,INTEGERarray, 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,INTEGERarray, dimension (NPARMS) β the values for the blocksizeNB. - line 6:
NBMIN,INTEGERarray, dimension (NPARMS) β the values for the minimum blocksizeNBMIN. - line 7:
NXVAL,INTEGERarray, dimension (NPARMS) β the values for the crossover pointNX. - line 8:
INMIN,INTEGERarray, dimension (NPARMS) β LAHQR vs TTQRE crossover point,>= 11 - line 9:
INWIN,INTEGERarray, dimension (NPARMS) β recommended deflation window size - line 10:
INIBL,INTEGERarray, dimension (NPARMS) β nibble crossover point - line 11:
ISHFTS,INTEGERarray, dimension (NPARMS) β number of simultaneous shifts) - line 12:
IACC22,INTEGERarray, dimension (NPARMS) β select structured matrix multiply: 0, 1 or 2) - line 13:
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. To have 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:
INTEGERarray, dimension (4) β four integer values for the random number seed. - lines 15-EOF: the remaining lines occur in sets of 1 or 2 and allow the user to specify the matrix types. Each line contains 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 will be read to get 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,INTEGERarray, dimension (NN) β the values for the matrix dimensionN. - line 4:
NPARMS,INTEGERβ number of values of the parametersNB,NBMIN, andNX. - line 5:
NBVAL,INTEGERarray, dimension (NPARMS) β the values for the blocksizeNB. - line 6:
NBMIN,INTEGERarray, dimension (NPARMS) β the values for the minimum blocksizeNBMIN. - line 7:
NXVAL,INTEGERarray, dimension (NPARMS) β the values for the crossover pointNX. - 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:
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:
INTEGERarray, 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,INTEGERarray, dimension (NN) β the values for the matrix row dimensionM. - line 4:
NVAL,INTEGERarray, 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,INTEGERarray, dimension (NPARMS) β the values for the blocksizeNB. - line 7:
NBMIN,INTEGERarray, dimension (NPARMS) β the values for the minimum blocksizeNBMIN. - line 8:
NXVAL,INTEGERarray, dimension (NPARMS) β the values for the crossover pointNX. - line 9:
NSVAL,INTEGERarray, dimension (NPARMS) β the values for the number of right hand sidesNRHS. - line 10:
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 11:
TSTCHK,LOGICALβ flag indicating whether or not to test the LAPACK routines. line 12: TSTDRV, LOGICALβ a flag that says whether or not to test the driver routines. πline 13: TSTERR, LOGICALβ a flag that says whether or not to test the error exits for the LAPACK routines and the driver routines. πline 14: NEWSD, INTEGERβ a code that tells you 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 β yes bestie, they get read anyway, that's the rule π).line 3: NN, INTEGER array, dimension(NSIZES)β the dimensions of the matrices to be tested.line 4: NB, NBMIN, NX, NS, NBCOL, INTEGERsβ these integer parameters determine how blocking is done (see ILAENV for details):NB: block sizeNBMIN: minimum block sizeNX: minimum dimension for blockingNS: number of shifts inxHSEQRNBCOL: 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 testSGEEV, or'DES'to testSGEES. π«
π DVX
The DVX data has two parts. The first part is identical to DEV, and the second part consists of test matrices with precomputed solutions. iykyk.
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)line 4: NB, NBMIN, NX, NS, NBCOL, INTEGERsline 5: THRESH, REALline 6: TSTERR, LOGICALline 7: NEWSD, INTEGER
If line 7 was 2:
line 8: INTEGER array, dimension (4)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
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)line 4: NB, NBMIN, NX, NS, NBCOL, INTEGERsline 5: THRESH, REALline 6: TSTERR, LOGICALline 7: NEWSD, INTEGER
If line 7 was 2:
line 8: INTEGER array, dimension (4)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 (see ILAENV for details):NB: block sizeNBMIN: minimum block sizeNX: minimum dimension for blockingNS: number of shifts inxHGEQRNBCOL: 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:
not me reading "line 17" in a block where everything else is line 7 π but that is literally what the doc says, so it stays, bestie.
line 7: INTEGER array, dimension (4)β four integer values for the random number seed. π²
lines 7-EOF: lines that tell you which matrix types to run, same vibe as 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 just the value ofN. - line 3:
NB, NBMIN, NX, NS, NBCOL, INTEGERs β these integer parameters decide how the blocking goes down (peepILAENVfor the 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. Bestie, keep it in the range from 10. to 20. Info gets printed about every test whose test ratio is greater than or equal to the threshold. - line 5:
TSTERR, LOGICAL β a flag saying whether or not to test the error exits for the LAPACK routines and driver routines. - line 6:
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: like1, but use the seed values on the next line
If line 6 was 2:
- line 7: INTEGER array, dimension (4) β four integer values for the random number seed.
If line 2 was 0:
- 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. no cap π«Ά
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 from 10. to 20. 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: like1, but use the seed values on the next line
If line 6 was 2:
- line 7: INTEGER array, dimension (4) β four integer values for the random number seed.
If line 2 was 0:
- 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, INTEGER array, dimension (NN) β the values for the matrix dimensionN. - line 4:
NK, INTEGER β number of values ofK. - line 5:
KVAL, INTEGER array, 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: 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 8-EOF: lines specifying matrix types, as for NEP. The 3-character path name is 'DSB'.
bestie yes, the original really does start at line 2 and skip line 1. iconic behavior, we don't question it π
DBB 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 4:
NK, INTEGER β number of values ofK. - line 5:
KVAL, INTEGER array, dimension (NK) β the values for the matrix bandwidthK. - line 6:
NPARMS, INTEGER β number of values of the parameterNRHS. - line 7:
NSVAL, INTEGER array, 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: like1, but use the seed values on the next line
If line 9 was 2:
- line 10: INTEGER array, 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'.
two "line 4"s in a row?? the way this file said "we contain multitudes" π yes, that's literally what the page says, so it stays.
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, INTEGER array, dimension(NN) β values ofM(row dimension). - line 4:
PVAL, INTEGER array, dimension(NN) β values ofP(row dimension). - line 5:
NVAL, INTEGER array, 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: like1, 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 '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)β bestie, these are the Values of M. πline 4: PVAL, INTEGER array, dimension(NN)β and these are the Values of P. πline 5: NVAL, INTEGER array, dimension(NN)β and these are the Values of N. π¦line 6: THRESH, REALβ the Threshold value for the test ratios. Lowkey important: info gets printed about every single test where the test ratio is greater than or equal to the threshold, so set it low and you will simply be buried in output. πline 7: TSTERR, LOGICALβ a flag telling us 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, and it is giving options:= 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. π² manifest that randomness, bestie.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β the number of values of M, P, and N. (Iconic triple threat.)line 3: MVAL, INTEGER array, dimension(NN)β Values of M (row dimension). πline 4: PVAL, INTEGER array, dimension(NN)β Values of P (row dimension). πline 5: NVAL, INTEGER array, dimension(NN)β Values of N (column dimension). πline 6: THRESH, REALβ the threshold value for the test ratios. Info gets printed about each test whose 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β the 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 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β the number of values of M, P, and N. (NotNNthis time, it'sNMβ keep up, bestie, we don't make the rules. π )line 3: MVAL, INTEGER array, dimension(NM)β Values of M (row and column dimension of orthogonal matrix). πline 4: PVAL, INTEGER array, dimension(NM)β Values of P (row dimension of top-left block). πline 5: NVAL, INTEGER array, dimension(NM)β Values of N (column dimension of top-left block). πline 6: THRESH, REALβ threshold value for the test ratios. Info 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
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)β Values of M. πΈline 4: PVAL, INTEGER array, dimension(NN)β Values of P. πΈline 5: NVAL, INTEGER array, dimension(NN)β Values of N, and note the vibe constraint:P <= N <= P+M. πline 6: THRESH, REALβ the threshold value for the test ratios. Info gets printed about each test where 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
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.
Not me double-checking that last one π β yes, the LSE file really does say 'GSV' there. We are simply reporting what the page says, no editing, no notes. Periodt.
Heads up, bestie π¨NMAXis currently set to132and must be at least12for some of the precomputed examples, andLWORK = NMAX*(5*NMAX+5)+1in the parameter statements below. For SVD, we assumeNRHSmay be as big asN. The parameterNEEDis set to14to allow for 14 N-by-N matrices for DGG. Big numbers, big main character energy. β¨
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 1039 of file dchkee.F. π
π Author π
Generated automatically by Doxygen for LAPACK from the source code. π€β¨
And that's the whole page, babe β we made it. π«Ά This was generated from Version 3.12.0, dated Tue Nov 28 2023 12:08:42, and it lives at TESTING/EIG/dchkee.F(3). Go forth and run your tests, bestie, you're literally the main character of the EIG directory. π
ππ
π¦ where this page comes from
- centos-stream 10: lapack 3.12.0-7.el10 Β· BSD-3-Clause-Open-MPI
- fedora 43: lapack 3.12.0-10.fc43 Β· BSD-3-Clause-Open-MPI
- fedora 43: lapack 3.12.0-10.fc43 Β· BSD-3-Clause-Open-MPI
- fedora 44: lapack 3.12.0-11.fc44 Β· BSD-3-Clause-Open-MPI
- fedora 44: lapack 3.12.0-11.fc44 Β· BSD-3-Clause-Open-MPI
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms