complex16_eig(3)
π complex16_eig β the LAPACK testing tea, but make it iconic π
okay bestie, this is complex16_eig(3) from the LAPACK manual, and it's literally the whole vibe of the complex16 eigenvalue testing group. grab a boba, we're going in π§β¨
β¨ NAME β¨
complex16_eig β complex16 π«Ά
πΈ SYNOPSIS πΈ
π Functions
program zchkee
ZCHKEE
π¦ Detailed Description π¦
okay so this is the group of complex16 LAPACK TESTING EIG routines. that's the whole assignment, no cap. π
π Function Documentation π
π program zchkee
ZCHKEE
π Purpose:
ZCHKEE tests the COMPLEX*16 LAPACK subroutines for the matrix eigenvalue problem. the test paths in this version are, and bestie there are a LOT of them so buckle up:
- NEP (Nonsymmetric Eigenvalue Problem): Test
ZGEHRD,ZUNGHR,ZHSEQR,ZTREVC,ZHSEIN, andZUNMHR - SEP (Hermitian Eigenvalue Problem): Test
ZHETRD,ZUNGTR,ZSTEQR,ZSTERF,ZSTEIN,ZSTEDC, and driversZHEEV(X),ZHBEV(X),ZHPEV(X),ZHEEVD,ZHBEVD,ZHPEVD - SVD (Singular Value Decomposition): Test
ZGEBRD,ZUNGBR, andZBDSQRand the driversZGESVD,ZGESDD - ZEV (Nonsymmetric Eigenvalue/eigenvector Driver): Test
ZGEEV - ZES (Nonsymmetric Schur form Driver): Test
ZGEES - ZVX (Nonsymmetric Eigenvalue/eigenvector Expert Driver): Test
ZGEEVX - ZSX (Nonsymmetric Schur form Expert Driver): Test
ZGEESX - ZGG (Generalized Nonsymmetric Eigenvalue Problem): Test
ZGGHD3,ZGGBAL,ZGGBAK,ZHGEQZ, andZTGEVC - ZGS (Generalized Nonsymmetric Schur form Driver): Test
ZGGES - ZGV (Generalized Nonsymmetric Eigenvalue/eigenvector Driver): Test
ZGGEV - ZGX (Generalized Nonsymmetric Schur form Expert Driver): Test
ZGGESX - ZXV (Generalized Nonsymmetric Eigenvalue/eigenvector Expert Driver): Test
ZGGEVX - ZSG (Hermitian Generalized Eigenvalue Problem): Test
ZHEGST,ZHEGV,ZHEGVD,ZHEGVX,ZHPGST,ZHPGV,ZHPGVD,ZHPGVX,ZHBGST,ZHBGV,ZHBGVD, andZHBGVX - ZHB (Hermitian Band Eigenvalue Problem): Test
ZHBTRD - ZBB (Band Singular Value Decomposition): Test
ZGBBRD - ZEC (Eigencondition estimation): Test
ZTRSYL,ZTREXC,ZTRSNA, andZTRSEN - ZBL (Balancing a general matrix) Test
ZGEBAL - ZBK (Back transformation on a balanced matrix) Test
ZGEBAK - ZGL (Balancing a matrix pair) Test
ZGGBAL - ZGK (Back transformation on a matrix pair) Test
ZGGBAK - GLM (Generalized Linear Regression Model): Tests
ZGGGLM - GQR (Generalized QR and RQ factorizations): Tests
ZGGQRFandZGGRQF - GSV (Generalized Singular Value Decomposition): Tests
ZGGSVD,ZGGSVP,ZTGSJA,ZLAGS2,ZLAPLL, andZLAPMT - CSD (CS decomposition): Tests
ZUNCSD - LSE (Constrained Linear Least Squares): Tests
ZGGLSE
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:
- Path name(s) β Types β Test routine
ZHSorNEPβ 21 βZCHKHSZSTorSEPβ 21 βZCHKST(routines)ZSTorSEPβ 18 βZDRVST(drivers)ZBDorSVDβ 16 βZCHKBD(routines)ZBDorSVDβ 5 βZDRVBD(drivers)ZEVβ 21 βZDRVEVZESβ 21 βZDRVESZVXβ 21 βZDRVVXZSXβ 21 βZDRVSXZGGβ 26 βZCHKGG(routines)ZGSβ 26 βZDRGESZGXβ 5 βZDRGSXZGVβ 26 βZDRGEVZXVβ 2 βZDRGVXZSGβ 21 βZDRVSGZHBβ 15 βZCHKHBZBBβ 15 βZCHKBBZECβ - βZCHKECZBLβ - βZCHKBLZBKβ - βZCHKBKZGLβ - βZCHKGLZGKβ - βZCHKGKGLMβ 8 βZCKGLMGQRβ 8 βZCKGQRGSVβ 8 βZCKGSVCSDβ 3 βZCKCSDLSEβ 8 βZCKLSE
-----------------------------------------------------------------------
π« 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,1or2) - line 13:
THRESHThreshold 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 'ZHS' for the nonsymmetric eigenvalue routines.
-----------------------------------------------------------------------
π« SEP or ZSG 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:
THRESHThreshold 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'ZST'for the Hermitian eigenvalue routines and driver routines, and'ZSG'for the routines for the Hermitian 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:
THRESHThreshold 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 lil flag that says whether or not we're testing the driver routines. πline 13: TSTERR, LOGICALβ flag for whether or not to test the error exits for the LAPACK routines and the driver routines. Both. It's giving thorough.line 14: NEWSD, INTEGERβ a code telling us how to set the random number seed:= 0β set the seed to a default value before every single run= 1β initialize the seed to a default value only before the first run= 2β same energy as1, 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, bestie. Four. Not three. πlines 15-EOFβ the lines specifying matrix types, same as for NEP. The 3-character path names are'SVD'or'ZBD', for both the SVD routines and the SVD driver routines.
π¦ ZEV and ZES data files π¦
line 1: 'ZEV' or 'ZES' in columns 1 to 3.line 2: NSIZES, INTEGERβ how many sizes of matrices we're using. Should be at least0and at most20. IfNSIZES = 0, no testing happens at all (even though the remaining 3 lines are still read, so don't skip them, okay?).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 decide how blocking is done (peep ILAENV for the deets):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 that computed residuals get compared against. Should generally be in the range from10.to20.If it's0., all test case data will be printed. Yes, all of it. π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. πlines 8 and followingβ the lines specifying matrix types, same as for NEP. The 3-character path name is'ZEV'to test CGEEV, or'ZES'to test CGEES.
β¨ The ZVX data β¨
The ZVX data has two parts, periodt. The first part is identical to ZEV, and the second part is made of test matrices with precomputed solutions.
line 1: 'ZVX' 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: NEWSD, INTEGER
If line 6 was 2:
line 7: INTEGER array, dimension (4)lines 8 and followingβ the first line contains'ZVX'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+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
- the reciprocal condition number of the vector eigenvector
The end of data is indicated by dimension N=0. Even if no data is to be tested, there must be at least one line containing N=0. No skipping, bestie. π«Ά
π The ZSX data π
The ZSX data is like ZVX. The first part is identical to ZEV, and the second part consists of test matrices with precomputed solutions.
line 1: 'ZSX' 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: NEWSD, INTEGER
If line 6 was 2:
line 7: INTEGER array, dimension (4)lines 8 and followingβ the first line contains'ZSX'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+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 is 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. Again β at least one. It's non-negotiable. π
π§ ZGG 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,NBCOL,NS, andMAXB.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β the lines specifying matrix types, as for NEP. The 3-character path name is'ZGG'for the generalized eigenvalue problem routines and driver routines.
π ZGS and ZGV input files π
line 1: 'ZGS' or 'ZGV' 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:
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 'ZGS' for the generalized eigenvalue problem routines and driver routines.
πΈ ZGX input file πΈ
- line 1:
'ZGX'sitting in columns 1 to 3, bestie. Non-negotiable. - line 2:
N,INTEGERβ it's literally just the value ofN. - line 3:
NB, NBMIN, NX, NS, NBCOL, allINTEGERs. These lil integers are the ones that decide how blocking gets done (peepILAENVfor the deets, iykyk):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. Generally it should be chillin' in the range from10.to20.π Info gets printed for every test where the test ratio is greater than or equal to the threshold. - line 5:
TSTERR,LOGICALβ a flag that says whether or not we're testing the error exits for the LAPACK routines and driver routines. Yay or nay energy. - line 6:
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 6 was 2:
- line 7:
INTEGERarray, dimension(4)β four integer values for the random number seed. Four of them. Iconic.
If line 2 was 0:
- line 7-EOF: precomputed examples are tested. Slay, we're using the pre-made ones.
- remaining lines: each example is stored on
3+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. And fr fr β even if no data is to be tested, there must be at least one line containingN=0. π«Ά
π¦ ZXV input files π¦
- line 1:
'ZXV'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 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
If line 6 was 2:
- line 7:
INTEGERarray, 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*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. π
π ZHB 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
If line 7 was 2:
- 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
'ZHB'.
π ZBB 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. - 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
If line 9 was 2:
- 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
'ZBB'.
β¨ ZEC 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. π« hands off, bestie, this one's not yours to touch.
π ZBL and ZBK input files π
- line 1:
'ZBL'in columns 1-3 to testCGEBAL, or'ZBK'in columns 1-3 to testCGEBAK. - The remaining lines consist of specially constructed test cases.
π ZGL and ZGK input files π
- line 1:
'ZGL'in columns 1-3 to testZGGBAL, or'ZGΠ'... no wait,'ZGK'in columns 1-3 to testZGGBAK. - 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), and note thatM <= 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
If line 8 was 2:
- 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) β bestie, these are 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. Anything whose test ratio is greater than or equal to this? Yeah, we're printing info about it, no cap π - 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: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, periodt π - 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. - 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 β flag for whether or not to test the error exits for the LAPACK routines and driver routines. - line 8:
NEWSD, INTEGER β 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 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. - 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 β flag for whether or not to test the error exits for the LAPACK routines and driver routines. - line 8:
NEWSD, INTEGER β 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 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 β the 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, and heads up, note thatP <= 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 β flag for whether or not to test the error exits for the LAPACK routines and driver routines. - line 8:
NEWSD, INTEGER β 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 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. π
Okay so, the sizing tea β β and this part matters, don't 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+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 ZGG. π (yes, fourteen. they said what they said.)
π 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. π€ (the robots wrote this one, and honestly? they ate.)
And that's a wrap, bestie π«Ά this whole thing is Version 3.11.0, dated Sun Nov 27 2022, and it lives at complex16_eig(3). Go forth and eigendecompose responsibly, mwah π
β¨
π¦ 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