123 DOUBLE PRECISION sfac
125 INTEGER icase, incx, incy, mode, n
130 INTEGER i, j, len, np1
132 COMPLEX*16 ctrue5(8,5,2), ctrue6(8,5,2), cv(8,5,2), cx(8),
134 DOUBLE PRECISION strue2(5), strue4(5)
145 COMMON /combla/icase, n, incx, incy, mode, pass
147 DATA sa, ca/0.3d0, (0.4d0,-0.7d0)/
148 DATA ((cv(i,j,1),i=1,8),j=1,5)/(0.1d0,0.1d0),
149 + (1.0d0,2.0d0), (1.0d0,2.0d0), (1.0d0,2.0d0),
150 + (1.0d0,2.0d0), (1.0d0,2.0d0), (1.0d0,2.0d0),
151 + (1.0d0,2.0d0), (0.3d0,-0.4d0), (3.0d0,4.0d0),
152 + (3.0d0,4.0d0), (3.0d0,4.0d0), (3.0d0,4.0d0),
153 + (3.0d0,4.0d0), (3.0d0,4.0d0), (3.0d0,4.0d0),
154 + (0.1d0,-0.3d0), (0.5d0,-0.1d0), (5.0d0,6.0d0),
155 + (5.0d0,6.0d0), (5.0d0,6.0d0), (5.0d0,6.0d0),
156 + (5.0d0,6.0d0), (5.0d0,6.0d0), (0.1d0,0.1d0),
157 + (-0.6d0,0.1d0), (0.1d0,-0.3d0), (7.0d0,8.0d0),
158 + (7.0d0,8.0d0), (7.0d0,8.0d0), (7.0d0,8.0d0),
159 + (7.0d0,8.0d0), (0.3d0,0.1d0), (0.5d0,0.0d0),
160 + (0.0d0,0.5d0), (0.0d0,0.2d0), (2.0d0,3.0d0),
161 + (2.0d0,3.0d0), (2.0d0,3.0d0), (2.0d0,3.0d0)/
162 DATA ((cv(i,j,2),i=1,8),j=1,5)/(0.1d0,0.1d0),
163 + (4.0d0,5.0d0), (4.0d0,5.0d0), (4.0d0,5.0d0),
164 + (4.0d0,5.0d0), (4.0d0,5.0d0), (4.0d0,5.0d0),
165 + (4.0d0,5.0d0), (0.3d0,-0.4d0), (6.0d0,7.0d0),
166 + (6.0d0,7.0d0), (6.0d0,7.0d0), (6.0d0,7.0d0),
167 + (6.0d0,7.0d0), (6.0d0,7.0d0), (6.0d0,7.0d0),
168 + (0.1d0,-0.3d0), (8.0d0,9.0d0), (0.5d0,-0.1d0),
169 + (2.0d0,5.0d0), (2.0d0,5.0d0), (2.0d0,5.0d0),
170 + (2.0d0,5.0d0), (2.0d0,5.0d0), (0.1d0,0.1d0),
171 + (3.0d0,6.0d0), (-0.6d0,0.1d0), (4.0d0,7.0d0),
172 + (0.1d0,-0.3d0), (7.0d0,2.0d0), (7.0d0,2.0d0),
173 + (7.0d0,2.0d0), (0.3d0,0.1d0), (5.0d0,8.0d0),
174 + (0.5d0,0.0d0), (6.0d0,9.0d0), (0.0d0,0.5d0),
175 + (8.0d0,3.0d0), (0.0d0,0.2d0), (9.0d0,4.0d0)/
176 DATA strue2/0.0d0, 0.5d0, 0.6d0, 0.7d0, 0.8d0/
177 DATA strue4/0.0d0, 0.7d0, 1.0d0, 1.3d0, 1.6d0/
178 DATA ((ctrue5(i,j,1),i=1,8),j=1,5)/(0.1d0,0.1d0),
179 + (1.0d0,2.0d0), (1.0d0,2.0d0), (1.0d0,2.0d0),
180 + (1.0d0,2.0d0), (1.0d0,2.0d0), (1.0d0,2.0d0),
181 + (1.0d0,2.0d0), (-0.16d0,-0.37d0), (3.0d0,4.0d0),
182 + (3.0d0,4.0d0), (3.0d0,4.0d0), (3.0d0,4.0d0),
183 + (3.0d0,4.0d0), (3.0d0,4.0d0), (3.0d0,4.0d0),
184 + (-0.17d0,-0.19d0), (0.13d0,-0.39d0),
185 + (5.0d0,6.0d0), (5.0d0,6.0d0), (5.0d0,6.0d0),
186 + (5.0d0,6.0d0), (5.0d0,6.0d0), (5.0d0,6.0d0),
187 + (0.11d0,-0.03d0), (-0.17d0,0.46d0),
188 + (-0.17d0,-0.19d0), (7.0d0,8.0d0), (7.0d0,8.0d0),
189 + (7.0d0,8.0d0), (7.0d0,8.0d0), (7.0d0,8.0d0),
190 + (0.19d0,-0.17d0), (0.20d0,-0.35d0),
191 + (0.35d0,0.20d0), (0.14d0,0.08d0),
192 + (2.0d0,3.0d0), (2.0d0,3.0d0), (2.0d0,3.0d0),
194 DATA ((ctrue5(i,j,2),i=1,8),j=1,5)/(0.1d0,0.1d0),
195 + (4.0d0,5.0d0), (4.0d0,5.0d0), (4.0d0,5.0d0),
196 + (4.0d0,5.0d0), (4.0d0,5.0d0), (4.0d0,5.0d0),
197 + (4.0d0,5.0d0), (-0.16d0,-0.37d0), (6.0d0,7.0d0),
198 + (6.0d0,7.0d0), (6.0d0,7.0d0), (6.0d0,7.0d0),
199 + (6.0d0,7.0d0), (6.0d0,7.0d0), (6.0d0,7.0d0),
200 + (-0.17d0,-0.19d0), (8.0d0,9.0d0),
201 + (0.13d0,-0.39d0), (2.0d0,5.0d0), (2.0d0,5.0d0),
202 + (2.0d0,5.0d0), (2.0d0,5.0d0), (2.0d0,5.0d0),
203 + (0.11d0,-0.03d0), (3.0d0,6.0d0),
204 + (-0.17d0,0.46d0), (4.0d0,7.0d0),
205 + (-0.17d0,-0.19d0), (7.0d0,2.0d0), (7.0d0,2.0d0),
206 + (7.0d0,2.0d0), (0.19d0,-0.17d0), (5.0d0,8.0d0),
207 + (0.20d0,-0.35d0), (6.0d0,9.0d0),
208 + (0.35d0,0.20d0), (8.0d0,3.0d0),
209 + (0.14d0,0.08d0), (9.0d0,4.0d0)/
210 DATA ((ctrue6(i,j,1),i=1,8),j=1,5)/(0.1d0,0.1d0),
211 + (1.0d0,2.0d0), (1.0d0,2.0d0), (1.0d0,2.0d0),
212 + (1.0d0,2.0d0), (1.0d0,2.0d0), (1.0d0,2.0d0),
213 + (1.0d0,2.0d0), (0.09d0,-0.12d0), (3.0d0,4.0d0),
214 + (3.0d0,4.0d0), (3.0d0,4.0d0), (3.0d0,4.0d0),
215 + (3.0d0,4.0d0), (3.0d0,4.0d0), (3.0d0,4.0d0),
216 + (0.03d0,-0.09d0), (0.15d0,-0.03d0),
217 + (5.0d0,6.0d0), (5.0d0,6.0d0), (5.0d0,6.0d0),
218 + (5.0d0,6.0d0), (5.0d0,6.0d0), (5.0d0,6.0d0),
219 + (0.03d0,0.03d0), (-0.18d0,0.03d0),
220 + (0.03d0,-0.09d0), (7.0d0,8.0d0), (7.0d0,8.0d0),
221 + (7.0d0,8.0d0), (7.0d0,8.0d0), (7.0d0,8.0d0),
222 + (0.09d0,0.03d0), (0.15d0,0.00d0),
223 + (0.00d0,0.15d0), (0.00d0,0.06d0), (2.0d0,3.0d0),
224 + (2.0d0,3.0d0), (2.0d0,3.0d0), (2.0d0,3.0d0)/
225 DATA ((ctrue6(i,j,2),i=1,8),j=1,5)/(0.1d0,0.1d0),
226 + (4.0d0,5.0d0), (4.0d0,5.0d0), (4.0d0,5.0d0),
227 + (4.0d0,5.0d0), (4.0d0,5.0d0), (4.0d0,5.0d0),
228 + (4.0d0,5.0d0), (0.09d0,-0.12d0), (6.0d0,7.0d0),
229 + (6.0d0,7.0d0), (6.0d0,7.0d0), (6.0d0,7.0d0),
230 + (6.0d0,7.0d0), (6.0d0,7.0d0), (6.0d0,7.0d0),
231 + (0.03d0,-0.09d0), (8.0d0,9.0d0),
232 + (0.15d0,-0.03d0), (2.0d0,5.0d0), (2.0d0,5.0d0),
233 + (2.0d0,5.0d0), (2.0d0,5.0d0), (2.0d0,5.0d0),
234 + (0.03d0,0.03d0), (3.0d0,6.0d0),
235 + (-0.18d0,0.03d0), (4.0d0,7.0d0),
236 + (0.03d0,-0.09d0), (7.0d0,2.0d0), (7.0d0,2.0d0),
237 + (7.0d0,2.0d0), (0.09d0,0.03d0), (5.0d0,8.0d0),
238 + (0.15d0,0.00d0), (6.0d0,9.0d0), (0.00d0,0.15d0),
239 + (8.0d0,3.0d0), (0.00d0,0.06d0), (9.0d0,4.0d0)/
240 DATA itrue3/0, 1, 2, 2, 2/
248 cx(i) = cv(i,np1,incx)
254 ELSE IF (icase.EQ.7)
THEN
258 ELSE IF (icase.EQ.8)
THEN
260 CALL zscal(n,ca,cx,incx)
261 CALL ctest(len,cx,ctrue5(1,np1,incx),ctrue5(1,np1,incx),
263 ELSE IF (icase.EQ.9)
THEN
266 CALL ctest(len,cx,ctrue6(1,np1,incx),ctrue6(1,np1,incx),
268 ELSE IF (icase.EQ.10)
THEN
272 WRITE (nout,*)
' Shouldn''t be here in CHECK1'
285 mwpct(i) = (0.0d0,0.0d0)
286 mwpcs(i) = (1.0d0,1.0d0)
288 CALL zscal(5,ca,cx,incx)
289 CALL ctest(5,cx,mwpct,mwpcs,sfac)
290 ELSE IF (icase.EQ.9)
THEN
295 mwpct(i) = (0.0d0,0.0d0)
296 mwpcs(i) = (1.0d0,1.0d0)
299 CALL ctest(5,cx,mwpct,mwpcs,sfac)
307 CALL ctest(5,cx,mwpct,mwpcs,sfac)
315 CALL ctest(5,cx,mwpct,mwpcs,sfac)
subroutine itest1(ICOMP, ITRUE)
double precision function dznrm2(N, X, INCX)
DZNRM2
subroutine stest1(SCOMP1, STRUE1, SSIZE, SFAC)
double precision function dzasum(N, ZX, INCX)
DZASUM
integer function izamax(N, ZX, INCX)
IZAMAX
subroutine ctest(LEN, CCOMP, CTRUE, CSIZE, SFAC)
subroutine zdscal(N, DA, ZX, INCX)
ZDSCAL
subroutine zscal(N, ZA, ZX, INCX)
ZSCAL