3 * =========== DOCUMENTATION ===========
5 * Online html documentation available at
6 * http://www.netlib.org/lapack/explore-html/
11 * SUBROUTINE ZCHKQRT( THRESH, TSTERR, NM, MVAL, NN, NVAL, NNB,
13 * .. Scalar Arguments ..
15 * INTEGER NM, NN, NNB, NOUT
16 * DOUBLE PRECISION THRESH
18 * .. Array Arguments ..
19 * INTEGER MVAL( * ), NBVAL( * ), NVAL( * )
26 *> ZCHKQRT tests ZGEQRT and ZGEMQRT.
34 *> THRESH is DOUBLE PRECISION
35 *> The threshold value for the test ratios. A result is
36 *> included in the output file if RESULT >= THRESH. To have
37 *> every test ratio printed, use THRESH = 0.
43 *> Flag that indicates whether error exits are to be tested.
49 *> The number of values of M contained in the vector MVAL.
54 *> MVAL is INTEGER array, dimension (NM)
55 *> The values of the matrix row dimension M.
61 *> The number of values of N contained in the vector NVAL.
66 *> NVAL is INTEGER array, dimension (NN)
67 *> The values of the matrix column dimension N.
73 *> The number of values of NB contained in the vector NBVAL.
78 *> NBVAL is INTEGER array, dimension (NBVAL)
79 *> The values of the blocksize NB.
85 *> The unit number for output.
91 *> \author Univ. of Tennessee
92 *> \author Univ. of California Berkeley
93 *> \author Univ. of Colorado Denver
96 *> \date November 2011
98 *> \ingroup complex16_lin
100 * =====================================================================
101 SUBROUTINE ZCHKQRT( THRESH, TSTERR, NM, MVAL, NN, NVAL, NNB,
105 * -- LAPACK test routine (version 3.4.0) --
106 * -- LAPACK is a software package provided by Univ. of Tennessee, --
107 * -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
110 * .. Scalar Arguments ..
112 INTEGER NM, NN, NNB, NOUT
113 DOUBLE PRECISION THRESH
115 * .. Array Arguments ..
116 INTEGER MVAL( * ), NBVAL( * ), NVAL( * )
119 * =====================================================================
123 PARAMETER ( NTESTS = 6 )
125 * .. Local Scalars ..
127 INTEGER I, J, K, T, M, N, NB, NFAIL, NERRS, NRUN,
131 DOUBLE PRECISION RESULT( NTESTS )
133 * .. External Subroutines ..
134 EXTERNAL ALAERH, ALAHD, ALASUM, ZERRQRT, ZQRT04
136 * .. Scalars in Common ..
141 * .. Common blocks ..
142 COMMON / INFOC / INFOT, NUNIT, OK, LERR
143 COMMON / SRNAMC / SRNAMT
145 * .. Executable Statements ..
147 * Initialize constants
155 * Test the error exits
157 IF( TSTERR ) CALL ZERRQRT( PATH, NOUT )
160 * Do for each value of M in MVAL.
165 * Do for each value of N in NVAL.
170 * Do for each possible value of NB
176 * Test ZGEQRT and ZGEMQRT
178 IF( (NB.LE.MINMN).AND.(NB.GT.0) ) THEN
179 CALL ZQRT04( M, N, NB, RESULT )
181 * Print information about the tests that did not
182 * pass the threshold.
185 IF( RESULT( T ).GE.THRESH ) THEN
186 IF( NFAIL.EQ.0 .AND. NERRS.EQ.0 )
187 $ CALL ALAHD( NOUT, PATH )
188 WRITE( NOUT, FMT = 9999 )M, N, NB,
199 * Print a summary of the results.
201 CALL ALASUM( PATH, NOUT, NFAIL, NRUN, NERRS )
203 9999 FORMAT( ' M=', I5, ', N=', I5, ', NB=', I4,
204 $ ' test(', I2, ')=', G12.5 )