3 * =========== DOCUMENTATION ===========
5 * Online html documentation available at
6 * http://www.netlib.org/lapack/explore-html/
11 * SUBROUTINE DCHKQRT( THRESH, TSTERR, NM, MVAL, NN, NVAL, NNB,
14 * .. Scalar Arguments ..
16 * INTEGER NM, NN, NNB, NOUT
17 * DOUBLE PRECISION THRESH
19 * .. Array Arguments ..
20 * INTEGER MVAL( * ), NBVAL( * ), NVAL( * )
27 *> DCHKQRT tests DGEQRT and DGEMQRT.
35 *> THRESH is DOUBLE PRECISION
36 *> The threshold value for the test ratios. A result is
37 *> included in the output file if RESULT >= THRESH. To have
38 *> every test ratio printed, use THRESH = 0.
44 *> Flag that indicates whether error exits are to be tested.
50 *> The number of values of M contained in the vector MVAL.
55 *> MVAL is INTEGER array, dimension (NM)
56 *> The values of the matrix row dimension M.
62 *> The number of values of N contained in the vector NVAL.
67 *> NVAL is INTEGER array, dimension (NN)
68 *> The values of the matrix column dimension N.
74 *> The number of values of NB contained in the vector NBVAL.
79 *> NBVAL is INTEGER array, dimension (NBVAL)
80 *> The values of the blocksize NB.
86 *> The unit number for output.
92 *> \author Univ. of Tennessee
93 *> \author Univ. of California Berkeley
94 *> \author Univ. of Colorado Denver
97 *> \date November 2011
99 *> \ingroup double_lin
101 * =====================================================================
102 SUBROUTINE DCHKQRT( THRESH, TSTERR, NM, MVAL, NN, NVAL, NNB,
106 * -- LAPACK test routine (version 3.4.0) --
107 * -- LAPACK is a software package provided by Univ. of Tennessee, --
108 * -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
111 * .. Scalar Arguments ..
113 INTEGER NM, NN, NNB, NOUT
114 DOUBLE PRECISION THRESH
116 * .. Array Arguments ..
117 INTEGER MVAL( * ), NBVAL( * ), NVAL( * )
120 * =====================================================================
124 PARAMETER ( NTESTS = 6 )
126 * .. Local Scalars ..
128 INTEGER I, J, K, T, M, N, NB, NFAIL, NERRS, NRUN,
132 DOUBLE PRECISION RESULT( NTESTS )
134 * .. External Subroutines ..
135 EXTERNAL ALAERH, ALAHD, ALASUM, DERRQRT, DQRT04
137 * .. Scalars in Common ..
142 * .. Common blocks ..
143 COMMON / INFOC / INFOT, NUNIT, OK, LERR
144 COMMON / SRNAMC / SRNAMT
146 * .. Executable Statements ..
148 * Initialize constants
156 * Test the error exits
158 IF( TSTERR ) CALL DERRQRT( PATH, NOUT )
161 * Do for each value of M in MVAL.
166 * Do for each value of N in NVAL.
171 * Do for each possible value of NB
177 * Test DGEQRT and DGEMQRT
179 IF( (NB.LE.MINMN).AND.(NB.GT.0) ) THEN
180 CALL DQRT04( M, N, NB, RESULT )
182 * Print information about the tests that did not
183 * pass the threshold.
186 IF( RESULT( T ).GE.THRESH ) THEN
187 IF( NFAIL.EQ.0 .AND. NERRS.EQ.0 )
188 $ CALL ALAHD( NOUT, PATH )
189 WRITE( NOUT, FMT = 9999 )M, N, NB,
200 * Print a summary of the results.
202 CALL ALASUM( PATH, NOUT, NFAIL, NRUN, NERRS )
204 9999 FORMAT( ' M=', I5, ', N=', I5, ', NB=', I4,
205 $ ' test(', I2, ')=', G12.5 )