TESTING/EIG/cchkee.F(3)
yo bestie, welcome to TESTING/EIG/cchkee.F(3) from LAPACK โ this is the page for CCHKEE, the program that tests the COMPLEX LAPACK subroutines for the matrix eigenvalue problem. It's giving big test energy, no cap. ๐
๐ธ NAME ๐ธ
TESTING/EIG/cchkee.F โ that's it, that's the name, and it's literally the testing file for the complex eigen stuff.
โจ SYNOPSIS โจ
๐ฆ Functions/Subroutines ๐ฆ
program cchkeeโCCHKEE
๐ Function/Subroutine Documentation ๐
๐ program cchkee ๐
CCHKEE
๐ Purpose: ๐
CCHKEE tests the COMPLEX LAPACK subroutines for the matrix eigenvalue problem. The test paths in this version are iconic:
- NEP (Nonsymmetric Eigenvalue Problem): Test
CGEHRD,CUNGHR,CHSEQR,CTREVC,CHSEIN, andCUNMHR - SEP (Hermitian Eigenvalue Problem): Test
CHETRD,CUNGTR,CSTEQR,CSTERF,CSTEIN,CSTEDC, and driversCHEEV(X),CHBEV(X),CHPEV(X),CHEEVD,CHBEVD,CHPEVD - SVD (Singular Value Decomposition): Test
CGEBRD,CUNGBR, andCBDSQRand the driversCGESVD,CGESDD - CEV (Nonsymmetric Eigenvalue/eigenvector Driver): Test
CGEEV - CES (Nonsymmetric Schur form Driver): Test
CGEES - CVX (Nonsymmetric Eigenvalue/eigenvector Expert Driver): Test
CGEEVX - CSX (Nonsymmetric Schur form Expert Driver): Test
CGEESX - CGG (Generalized Nonsymmetric Eigenvalue Problem): Test
CGGHD3,CGGBAL,CGGBAK,CHGEQZ, andCTGEVC - CGS (Generalized Nonsymmetric Schur form Driver): Test
CGGES - CGV (Generalized Nonsymmetric Eigenvalue/eigenvector Driver): Test
CGGEV - CGX (Generalized Nonsymmetric Schur form Expert Driver): Test
CGGESX - CXV (Generalized Nonsymmetric Eigenvalue/eigenvector Expert Driver): Test
CGGEVX - CSG (Hermitian Generalized Eigenvalue Problem): Test
CHEGST,CHEGV,CHEGVD,CHEGVX,CHPGST,CHPGV,CHPGVD,CHPGVX,CHBGST,CHBGV,CHBGVD, andCHBGVX - CHB (Hermitian Band Eigenvalue Problem): Test
CHBTRD - CBB (Band Singular Value Decomposition): Test
CGBBRD - CEC (Eigencondition estimation): Test
CTRSYL,CTREXC,CTRSNA, andCTRSEN - CBL (Balancing a general matrix): Test
CGEBAL - CBK (Back transformation on a balanced matrix): Test
CGEBAK - CGL (Balancing a matrix pair): Test
CGGBAL - CGK (Back transformation on a matrix pair): Test
CGGBAK - GLM (Generalized Linear Regression Model): Tests
CGGGLM - GQR (Generalized QR and RQ factorizations): Tests
CGGQRFandCGGRQF - GSV (Generalized Singular Value Decomposition): Tests
CGGSVD,CGGSVP,CTGSJA,CLAGS2,CLAPLL, andCLAPMT - CSD (CS decomposition): Tests
CUNCSD - LSE (Constrained Linear Least Squares): Tests
CGGLSE
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:
CHSorNEPโ 21 types โ test routineCCHKHSCSTorSEPโ 21 types โ test routineCCHKST(routines)CSTorSEPโ 18 types โ test routineCDRVST(drivers)
CBDorSVDโ 16 types โ test routineCCHKBD(routines)CBDorSVDโ 5 types โ test routineCDRVBD(drivers)
CEVโ 21 types โ test routineCDRVEVCESโ 21 types โ test routineCDRVESCVXโ 21 types โ test routineCDRVVXCSXโ 21 types โ test routineCDRVSXCGGโ 26 types โ test routineCCHKGG(routines)CGSโ 26 types โ test routineCDRGESCGXโ 5 types โ test routineCDRGSXCGVโ 26 types โ test routineCDRGEVCXVโ 2 types โ test routineCDRGVXCSGโ 21 types โ test routineCDRVSGCHBโ 15 types โ test routineCCHKHBCBBโ 15 types โ test routineCCHKBBCECโ-types โ test routineCCHKECCBLโ-types โ test routineCCHKBLCBKโ-types โ test routineCCHKBKCGLโ-types โ test routineCCHKGLCGKโ-types โ test routineCCHKGKGLMโ 8 types โ test routineCCKGLMGQRโ 8 types โ test routineCCKGQRGSVโ 8 types โ test routineCCKGSVCSDโ 3 types โ test routineCCKCSDLSEโ 8 types โ test routineCCKLSE
๐ NEP input file: ๐
- line 2:
NN,INTEGERโ Number of values of N. - line 3:
NVAL,INTEGER array, dimension (NN)โ The values for the matrix dimension N. - 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,1or2) - 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:
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 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 'CHS' for the nonsymmetric eigenvalue routines.
๐ธ SEP or CSG input file: ๐ธ
- line 2:
NN,INTEGERโ Number of values of N. - line 3:
NVAL,INTEGER array, dimension (NN)โ The values for the matrix dimension N. - 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. 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:
INTEGER array, dimension (4)โ Four integer values for the random number seed. - lines 13-EOF: Lines specifying matrix types, as for NEP. The valid 3-character path names are 'SEP' or 'CST' for the Hermitian eigenvalue routines and driver routines, and 'CSG' for the routines for the Hermitian generalized eigenvalue problem.
๐ฆ SVD input file: ๐ฆ
- line 2:
NN,INTEGERโ Number of values of M and N. - line 3:
MVAL,INTEGER array, dimension (NN)โ The values for the matrix row dimension M. - line 4:
NVAL,INTEGER array, dimension (NN)โ The values for the matrix column dimension N. - 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. 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โ bestie, this flag says whether we're testing the driver routines or not. ๐๐จ no cap - line 13:
TSTERR,LOGICALโ and this one? It says whether we're testing the error exits for the LAPACK routines and driver routines. ๐จ periodt - line 14:
NEWSD,INTEGERโ a code that tells us how to set the random number seed. ๐ฒ iykyk= 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:
INTEGERarray, dimension(4)โ four integer values for the random number seed. ๐ฑ slay - lines 15-EOF: lines specifying matrix types, as for NEP. The 3-character path names are
'SVD'or'CBD'for both the SVD routines and the SVD driver routines. ๐ iconic
CEV and CES data files ๐
- line 1:
'CEV'or'CES'in columns 1 to 3. โจ vibe check - 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). ๐ญ lowkey tragic - line 3:
NN,INTEGERarray, 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 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. ๐ fr fr - 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:
INTEGERarray, dimension(4)โ four integer values for the random number seed. ๐ฑ - lines 8 and following: lines specifying matrix types, as for NEP. The 3-character path name is
'CEV'to testCGEEV, or'CES'to testCGEES. ๐ ate
CVX data ๐ฆ
The CVX data has two parts. The first part is identical to CEV, and the second part consists of test matrices with precomputed solutions. ๐งฎ
- line 1:
'CVX'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,INTEGERarray, dimension(NSIZES) - line 4:
NB,NBMIN,NX,NS,NBCOL,INTEGERs - line 5:
THRESH,REAL - line 6:
NEWSD,INTEGER
If line 6 was 2: ๐
- line 7:
INTEGERarray, dimension(4) - lines 8 and following: The first line contains
'CVX'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. ๐ง the way that works - remaining lines: Each matrix is stored on
1+N+N**2lines, whereNis its dimension. The first line contains the dimensionNandISRT(two integers).ISRTindicates whether the lastNlines are sorted by increasing real part of the eigenvalue (ISRT=0) or by increasing imaginary part (ISRT=1). The nextN**2lines contain the matrix rowwise, one entry per line. The lastNlines correspond to each eigenvalue. Each of these lastNlines contains 4 real values: the real part of the eigenvalues, the imaginary part of the eigenvalue, the reciprocal condition number of the eigenvalues, and the reciprocal condition number of the vector 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. ๐ obsessed
CSX data ๐
The CSX data is like CVX. The first part is identical to CEV, and the second part consists of test matrices with precomputed solutions. ๐งฎ
- line 1:
'CSX'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,INTEGERarray, dimension(NSIZES) - line 4:
NB,NBMIN,NX,NS,NBCOL,INTEGERs - line 5:
THRESH,REAL - line 6:
NEWSD,INTEGER
If line 6 was 2: ๐
- line 7:
INTEGERarray, dimension(4) - lines 8 and following: The first line contains
'CSX'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 on
3+N**2lines, whereNis its dimension. The first line contains the dimensionN, the dimensionMof an invariant subspace, andISRT. The second line containsMintegers, identifying the eigenvalues in the invariant subspace (by their position in a list of eigenvalues ordered by increasing real part (ifISRT=0) or by increasing imaginary part (ifISRT=1)). The nextN**2lines contain the matrix rowwise. 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 in indicated by a line containingN=0,M=0, andISRT = 0. Even if no data is to be tested, there must be at least one line containingN=0,M=0andISRT=0. ๐ main character energy
CGG 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,NBCOL,NS, andMAXB. ๐งฎ - line 5:
NBVAL,INTEGERarray, dimension(NPARMS)โ the values for the blocksizeNB. ๐งฑ - line 6:
NBMIN,INTEGERarray, dimension(NPARMS)โ the values forNBMIN, the minimum row dimension for blocks. ๐ - line 7:
NSVAL,INTEGERarray, dimension(NPARMS)โ the values for the number of shifts. ๐ - line 8:
MXBVAL,INTEGERarray, dimension(NPARMS)โ the values forMAXB, used in determining minimum blocksize. ๐งฑ - line 9:
IACC22,INTEGERarray, dimension(NPARMS)โ select structured matrix multiply:1or2) ๐ค the audacity - line 10:
NBCOL,INTEGERarray, 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:
INTEGERarray, 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
'CGG'for the generalized eigenvalue problem routines and driver routines. ๐ periodt
CGS and CGV input files ๐
- line 1:
'CGS'or'CGV'in columns 1 to 3. โจ - line 2:
NN,INTEGERโ number of values ofN. ๐ข - line 3:
NVAL,INTEGERarray, 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 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. ๐ fr fr - 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:
INTEGERarray, 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'CGS'for the generalized eigenvalue problem routines and driver routines.
๐ธ CGX input file ๐ธ
line 1โ'CGX'in columns 1 to 3.line 2โN, INTEGER: the value ofN.line 3โNB, NBMIN, NX, NS, NBCOL, INTEGERs: these integer parameters determine how blocking is done (peepILAENVfor the deets) โจ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 live in the range from10.to20.Info gets printed about every test whose 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: 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 on3+2*N*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 nextN*Nlines contain the matrixA, one element per line. The nextN*Nlines 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. ๐ค
๐ฆ CXV input files ๐ฆ
line 1โ'CXV'in columns 1 to 3.line 2โN, INTEGER: the 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 that computed residuals get compared against. Should generally be in the range from10.to20.Info gets printed about each test whose 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 on3+2*N*Nlines, whereNis its dimension. The first line contains the dimension (a single integer). The nextN*Nlines contain the matrixA, one element per line. The nextN*Nlines 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. ๐
๐ CHB 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. Info gets printed about each test whose 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'CHB'.
๐ CBB 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. Info gets printed about each test whose 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'CBB'.
โจ CEC input file โจ
line 2โTHRESH, REAL: threshold value for the test ratios. Info gets printed about each test whose 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. ๐ซถ
๐ CBL and CBK input files ๐
line 1โ'CBL'in columns 1-3 to testCGEBAL, or'CBK'in columns 1-3 to testCGEBAK.- The remaining lines consist of specially constructed test cases.
๐ง CGL and CGK input files ๐ง
line 1โ'CGL'in columns 1-3 to testCGGBAL, or'CGK'in columns 1-3 to testCGGBAK.- 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. 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: 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,INTEGERarray, dimension(NN) โ the values ofM. ๐line 4:PVAL,INTEGERarray, dimension(NN) โ the values ofP. โจline 5:NVAL,INTEGERarray, dimension(NN) โ the values ofN. ๐ธ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.
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'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 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).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.
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'GSV'for the generalized SVD routines. ๐
CSD data file ๐
line 1:'CSD'in columns 1 to 3. โจline 2:NM,INTEGERโ number of values ofM,P, andN.line 3:MVAL,INTEGERarray, dimension(NM) โ values ofM(row and column dimension of orthogonal matrix).line 4:PVAL,INTEGERarray, dimension(NM) โ values ofP(row dimension of top-left block).line 5:NVAL,INTEGERarray, dimension(NM) โ values ofN(column dimension of top-left block).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.
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'CSD'for the CSD routine. ๐
LSE data file ๐
line 1:'LSE'in columns 1 to 3. โจline 2:NN,INTEGERโ number of values ofM,P, andN.line 3:MVAL,INTEGERarray, dimension(NN) โ values ofM.line 4:PVAL,INTEGERarray, dimension(NN) โ values ofP.line 5:NVAL,INTEGERarray, dimension(NN) โ values ofN, noteP <= N <= P+M.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.
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'GSV'for the generalized SVD routines. ๐
NMAX is currently set to 132 and must be at least 12 for some of the precomputed examples, and LWORK = NMAX*(5*NMAX+20) 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 CGG. ๐ธ
Author ๐
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 1033 of file cchkee.F. โจ
Author ๐
Generated automatically by Doxygen for LAPACK from the source code. ๐
okay bestie, that's the whole page! this is from LAPACK version 3.12.0, dated Tue Nov 28 2023 12:08:42, for TESTING/EIG/cchkee.F(3). bye now ๐โจ๐ฆ
๐ฆ 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