dchkee.f
来自「famous linear algebra library (LAPACK) p」· F 代码 · 共 1,815 行 · 第 1/5 页
F
1,815 行
* 'DES' to test SGEES.
*
*-----------------------------------------------------------------------
*
* The DVX data has two parts. The first part is identical to DEV,
* and the second part consists of test matrices with precomputed
* solutions.
*
* line 1: 'DVX' in columns 1-3.
*
* line 2: NSIZES, INTEGER
* 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: TSTERR, LOGICAL
*
* line 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 on 1+2*N lines, where N is
* its dimension. The first line contains the dimension (a
* single integer). The next N lines contain the matrix, one
* row 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 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 dimension N=0.
* Even if no data is to be tested, there must be at least one
* line containing N=0.
*
*-----------------------------------------------------------------------
*
* 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
* 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: TSTERR, LOGICAL
*
* line 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 on 3+N lines, where N is its
* dimension. The first line contains the dimension N and the
* dimension M of an invariant subspace. 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). The next N
* lines 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 containing N=0 and M=0. Even if no data
* is to be tested, there must be at least one line containing
* N=0 and M=0.
*
*-----------------------------------------------------------------------
*
* DGG 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, NS, MAXB, and
* NBCOL.
*
* 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: NBCOL, INTEGER array, dimension (NPARMS)
* The values for NBCOL, the minimum column dimension for
* blocks.
*
* 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
* Flag indicating whether or not to test the driver routines.
*
* line 13: TSTERR, LOGICAL
* Flag indicating whether or not to test the error exits for
* the LAPACK routines and driver routines.
*
* line 14: NEWSD, INTEGER
* A code indicating how to set the random number seed.
* = 0: Set the seed to a default value before each run
* = 1: Initialize the seed to a default value only before the
* first run
* = 2: 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: 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 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.
*
* 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 '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
* 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 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: 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 lines, where N is
* its dimension. The first line contains the dimension (a
* single integer). The next N lines contain the matrix A, one
* row per line. The next 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.
*
*-----------------------------------------------------------------------
*
* DGX input files:
*
* line 1: 'DGX' in columns 1 to 3.
*
* line 2: N, INTEGER
* 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 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: 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 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
* lines contain the matrix A, one row per line. The next 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.
*
*-----------------------------------------------------------------------
*
* DSB 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. 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: 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'.
*
*-----------------------------------------------------------------------
*
* DBB 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)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?