TESTING/EIG/cchkee.F(3)

๐Ÿ“ฆ
version 3.12.0 ยท 3 versions
, in centos-stream 10, fedora 43, fedora 44

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, and CUNMHR
  • SEP (Hermitian Eigenvalue Problem): Test CHETRD, CUNGTR, CSTEQR, CSTERF, CSTEIN, CSTEDC, and drivers CHEEV(X), CHBEV(X), CHPEV(X), CHEEVD, CHBEVD, CHPEVD
  • SVD (Singular Value Decomposition): Test CGEBRD, CUNGBR, and CBDSQR and the drivers CGESVD, 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, and CTGEVC
  • 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, and CHBGVX
  • CHB (Hermitian Band Eigenvalue Problem): Test CHBTRD
  • CBB (Band Singular Value Decomposition): Test CGBBRD
  • CEC (Eigencondition estimation): Test CTRSYL, CTREXC, CTRSNA, and CTRSEN
  • 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 CGGQRF and CGGRQF
  • GSV (Generalized Singular Value Decomposition): Tests CGGSVD, CGGSVP, CTGSJA, CLAGS2, CLAPLL, and CLAPMT
  • 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:

  • CHS or NEP โ€” 21 types โ€” test routine CCHKHS
  • CST or SEP โ€” 21 types โ€” test routine CCHKST (routines)
    • CST or SEP โ€” 18 types โ€” test routine CDRVST (drivers)
  • CBD or SVD โ€” 16 types โ€” test routine CCHKBD (routines)
    • CBD or SVD โ€” 5 types โ€” test routine CDRVBD (drivers)
  • CEV โ€” 21 types โ€” test routine CDRVEV
  • CES โ€” 21 types โ€” test routine CDRVES
  • CVX โ€” 21 types โ€” test routine CDRVVX
  • CSX โ€” 21 types โ€” test routine CDRVSX
  • CGG โ€” 26 types โ€” test routine CCHKGG (routines)
  • CGS โ€” 26 types โ€” test routine CDRGES
  • CGX โ€” 5 types โ€” test routine CDRGSX
  • CGV โ€” 26 types โ€” test routine CDRGEV
  • CXV โ€” 2 types โ€” test routine CDRGVX
  • CSG โ€” 21 types โ€” test routine CDRVSG
  • CHB โ€” 15 types โ€” test routine CCHKHB
  • CBB โ€” 15 types โ€” test routine CCHKBB
  • CEC โ€” - types โ€” test routine CCHKEC
  • CBL โ€” - types โ€” test routine CCHKBL
  • CBK โ€” - types โ€” test routine CCHKBK
  • CGL โ€” - types โ€” test routine CCHKGL
  • CGK โ€” - types โ€” test routine CCHKGK
  • GLM โ€” 8 types โ€” test routine CCKGLM
  • GQR โ€” 8 types โ€” test routine CCKGQR
  • GSV โ€” 8 types โ€” test routine CCKGSV
  • CSD โ€” 3 types โ€” test routine CCKCSD
  • LSE โ€” 8 types โ€” test routine CCKLSE

๐Ÿ“ 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 parameters NB, NBMIN, NX, NS, and MAXB.
  • line 5: NBVAL, INTEGER array, dimension (NPARMS) โ€” The values for the blocksize NB.
  • line 6: NBMIN, INTEGER array, dimension (NPARMS) โ€” The values for the minimum blocksize NBMIN.
  • line 7: NXVAL, INTEGER array, dimension (NPARMS) โ€” The values for the crossover point NX.
  • line 8: INMIN, INTEGER array, dimension (NPARMS) โ€” LAHQR vs TTQRE crossover 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. 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, use THRESH = 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 parameters NB, NBMIN, and NX.
  • line 5: NBVAL, INTEGER array, dimension (NPARMS) โ€” The values for the blocksize NB.
  • line 6: NBMIN, INTEGER array, dimension (NPARMS) โ€” The values for the minimum blocksize NBMIN.
  • line 7: NXVAL, INTEGER array, dimension (NPARMS) โ€” The values for the crossover point NX.
  • 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 parameter NB, NBMIN, NX, and NRHS.
  • line 6: NBVAL, INTEGER array, dimension (NPARMS) โ€” The values for the blocksize NB.
  • line 7: NBMIN, INTEGER array, dimension (NPARMS) โ€” The values for the minimum blocksize NBMIN.
  • line 8: NXVAL, INTEGER array, dimension (NPARMS) โ€” The values for the crossover point NX.
  • line 9: NSVAL, INTEGER array, dimension (NPARMS) โ€” The values for the number of right hand sides NRHS.
  • 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: 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. ๐ŸŒฑ 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. If NSIZES = 0, no testing is done (although the remaining 3 lines are still read). ๐Ÿ˜ญ lowkey tragic
  • 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 (see ILAENV for details). ๐Ÿงฑ
    • NB: block size
    • NBMIN: minimum block size
    • NX: minimum dimension for blocking
    • NS: number of shifts in xHSEQR
    • NBCOL: minimum column dimension for blocking
  • line 5: THRESH, REAL โ€” the test threshold against which computed residuals are compared. Should generally be in the range from 10. to 20.. If it is 0., 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: like 1, 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: lines specifying matrix types, as for NEP. The 3-character path name is 'CEV' to test CGEEV, or 'CES' to test CGEES. ๐Ÿ’… 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 โ€” if NSIZES = 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, INTEGERs
  • line 5: THRESH, REAL
  • line 6: NEWSD, INTEGER

If line 6 was 2: ๐ŸŒ€

  • line 7: INTEGER array, 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**2 lines, where N is its dimension. The first line contains the dimension N and ISRT (two integers). ISRT indicates whether the last N lines are sorted by increasing real part of the eigenvalue (ISRT=0) or by increasing imaginary part (ISRT=1). The next N**2 lines contain the matrix rowwise, one entry per line. The last N lines correspond to each eigenvalue. Each of these last N lines 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 dimension N=0. Even if no data is to be tested, there must be at least one line containing N=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 โ€” if NSIZES = 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, INTEGERs
  • line 5: THRESH, REAL
  • line 6: NEWSD, INTEGER

If line 6 was 2: ๐ŸŒ€

  • line 7: INTEGER array, 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**2 lines, where N is its dimension. The first line contains the dimension N, the dimension M of an invariant subspace, and ISRT. The second line contains M integers, identifying the eigenvalues in the invariant subspace (by their position in a list of eigenvalues ordered by increasing real part (if ISRT=0) or by increasing imaginary part (if ISRT=1)). The next N**2 lines 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 containing N=0, M=0, and ISRT = 0. Even if no data is to be tested, there must be at least one line containing N=0, M=0 and ISRT=0. ๐Ÿ“ main character energy

CGG 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 parameters NB, NBMIN, NBCOL, NS, and MAXB. ๐Ÿงฎ
  • line 5: NBVAL, INTEGER array, dimension (NPARMS) โ€” the values for the blocksize NB. ๐Ÿงฑ
  • line 6: NBMIN, INTEGER array, dimension (NPARMS) โ€” the values for NBMIN, 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 for MAXB, used in determining minimum blocksize. ๐Ÿงฑ
  • line 9: IACC22, INTEGER array, dimension (NPARMS) โ€” select structured matrix multiply: 1 or 2) ๐Ÿค” the audacity
  • line 10: NBCOL, INTEGER array, dimension (NPARMS) โ€” the values for NBCOL, 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: like 1, 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 '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 of N. ๐Ÿ”ข
  • 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 size
    • NBMIN: minimum block size
    • NX: minimum dimension for blocking
    • NS: number of shifts in xHGEQR
    • NBCOL: minimum column dimension for blocking
  • line 5: THRESH, REAL โ€” the test threshold against which computed residuals are compared. Should generally be in the range from 10. to 20.. If it is 0., 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: like 1, 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 '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 of N.
  • line 3 โ€” NB, NBMIN, NX, NS, NBCOL, INTEGERs: these integer parameters determine how blocking is done (peep ILAENV for the deets) โœจ
    • NB: block size
    • NBMIN: minimum block size
    • NX: minimum dimension for blocking
    • NS: number of shifts in xHGEQR
    • NBCOL: minimum column dimension for blocking
  • line 4 โ€” THRESH, REAL: the test threshold that computed residuals get compared against. Should generally live 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: 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

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*N*N lines, where N is its dimension. The first line contains the dimension (a single integer). The next line contains an integer k such that only the last k eigenvalues will be selected and appear in the leading diagonal blocks of $A$ and $B$. The next N*N lines contain the matrix A, one element per line. The next N*N lines contain the matrix B. 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 dimension N=0. Even if no data is to be tested, there must be at least one line containing N=0. ๐Ÿ˜ค

๐Ÿฆ‹ CXV input files ๐Ÿฆ‹

  • line 1 โ€” 'CXV' in columns 1 to 3.
  • line 2 โ€” N, INTEGER: the value of N.
  • line 3 โ€” NB, NBMIN, NX, NS, NBCOL, INTEGERs: these integer parameters determine how blocking is done (see ILAENV for details)
    • NB: block size
    • NBMIN: minimum block size
    • NX: minimum dimension for blocking
    • NS: number of shifts in xHGEQR
    • NBCOL: minimum column dimension for blocking
  • line 4 โ€” THRESH, REAL: the test threshold that computed residuals get compared against. Should generally be in the range from 10. to 20. 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: like 1, 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*N*N lines, where N is its dimension. The first line contains the dimension (a single integer). The next N*N lines contain the matrix A, one element per line. The next N*N lines contain the matrix B. 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 dimension N=0. Even if no data is to be tested, there must be at least one line containing N=0. ๐Ÿ™ˆ

๐ŸŽ€ CHB 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 โ€” NK, INTEGER: number of values of K.
  • line 5 โ€” KVAL, INTEGER array, dimension (NK): the values for the matrix dimension K.
  • 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: like 1, 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 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 4 โ€” NK, INTEGER: number of values of K.
  • line 5 โ€” KVAL, INTEGER array, dimension (NK): the values for the matrix bandwidth K.
  • line 6 โ€” NPARMS, INTEGER: number of values of the parameter NRHS.
  • line 7 โ€” NSVAL, INTEGER array, dimension (NPARMS): the values for the number of right hand sides NRHS.
  • 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: like 1, 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 test CGEBAL, or 'CBK' in columns 1-3 to test CGEBAK.
  • The remaining lines consist of specially constructed test cases.

๐Ÿงš CGL and CGK input files ๐Ÿงš

  • line 1 โ€” 'CGL' in columns 1-3 to test CGGBAL, or 'CGK' in columns 1-3 to test CGGBAK.
  • 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 of M, P, and N.
  • 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), note M <= 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: 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 '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 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. ๐ŸŒธ
  • 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: 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) โ€” 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 โ€” 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: 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) โ€” 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. 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: 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, note P <= 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: 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. ๐Ÿ’–

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