125 INTEGER icase, incx, incy, mode, n
130 INTEGER i, j, len, np1
132 COMPLEX ctrue5(8,5,2), ctrue6(8,5,2), cv(8,5,2), cx(8),
134 REAL strue2(5), strue4(5)
145 COMMON /combla/icase, n, incx, incy, mode, pass
147 DATA sa, ca/0.3e0, (0.4e0,-0.7e0)/
148 DATA ((cv(i,j,1),i=1,8),j=1,5)/(0.1e0,0.1e0),
149 + (1.0e0,2.0e0), (1.0e0,2.0e0), (1.0e0,2.0e0),
150 + (1.0e0,2.0e0), (1.0e0,2.0e0), (1.0e0,2.0e0),
151 + (1.0e0,2.0e0), (0.3e0,-0.4e0), (3.0e0,4.0e0),
152 + (3.0e0,4.0e0), (3.0e0,4.0e0), (3.0e0,4.0e0),
153 + (3.0e0,4.0e0), (3.0e0,4.0e0), (3.0e0,4.0e0),
154 + (0.1e0,-0.3e0), (0.5e0,-0.1e0), (5.0e0,6.0e0),
155 + (5.0e0,6.0e0), (5.0e0,6.0e0), (5.0e0,6.0e0),
156 + (5.0e0,6.0e0), (5.0e0,6.0e0), (0.1e0,0.1e0),
157 + (-0.6e0,0.1e0), (0.1e0,-0.3e0), (7.0e0,8.0e0),
158 + (7.0e0,8.0e0), (7.0e0,8.0e0), (7.0e0,8.0e0),
159 + (7.0e0,8.0e0), (0.3e0,0.1e0), (0.5e0,0.0e0),
160 + (0.0e0,0.5e0), (0.0e0,0.2e0), (2.0e0,3.0e0),
161 + (2.0e0,3.0e0), (2.0e0,3.0e0), (2.0e0,3.0e0)/
162 DATA ((cv(i,j,2),i=1,8),j=1,5)/(0.1e0,0.1e0),
163 + (4.0e0,5.0e0), (4.0e0,5.0e0), (4.0e0,5.0e0),
164 + (4.0e0,5.0e0), (4.0e0,5.0e0), (4.0e0,5.0e0),
165 + (4.0e0,5.0e0), (0.3e0,-0.4e0), (6.0e0,7.0e0),
166 + (6.0e0,7.0e0), (6.0e0,7.0e0), (6.0e0,7.0e0),
167 + (6.0e0,7.0e0), (6.0e0,7.0e0), (6.0e0,7.0e0),
168 + (0.1e0,-0.3e0), (8.0e0,9.0e0), (0.5e0,-0.1e0),
169 + (2.0e0,5.0e0), (2.0e0,5.0e0), (2.0e0,5.0e0),
170 + (2.0e0,5.0e0), (2.0e0,5.0e0), (0.1e0,0.1e0),
171 + (3.0e0,6.0e0), (-0.6e0,0.1e0), (4.0e0,7.0e0),
172 + (0.1e0,-0.3e0), (7.0e0,2.0e0), (7.0e0,2.0e0),
173 + (7.0e0,2.0e0), (0.3e0,0.1e0), (5.0e0,8.0e0),
174 + (0.5e0,0.0e0), (6.0e0,9.0e0), (0.0e0,0.5e0),
175 + (8.0e0,3.0e0), (0.0e0,0.2e0), (9.0e0,4.0e0)/
176 DATA strue2/0.0e0, 0.5e0, 0.6e0, 0.7e0, 0.8e0/
177 DATA strue4/0.0e0, 0.7e0, 1.0e0, 1.3e0, 1.6e0/
178 DATA ((ctrue5(i,j,1),i=1,8),j=1,5)/(0.1e0,0.1e0),
179 + (1.0e0,2.0e0), (1.0e0,2.0e0), (1.0e0,2.0e0),
180 + (1.0e0,2.0e0), (1.0e0,2.0e0), (1.0e0,2.0e0),
181 + (1.0e0,2.0e0), (-0.16e0,-0.37e0), (3.0e0,4.0e0),
182 + (3.0e0,4.0e0), (3.0e0,4.0e0), (3.0e0,4.0e0),
183 + (3.0e0,4.0e0), (3.0e0,4.0e0), (3.0e0,4.0e0),
184 + (-0.17e0,-0.19e0), (0.13e0,-0.39e0),
185 + (5.0e0,6.0e0), (5.0e0,6.0e0), (5.0e0,6.0e0),
186 + (5.0e0,6.0e0), (5.0e0,6.0e0), (5.0e0,6.0e0),
187 + (0.11e0,-0.03e0), (-0.17e0,0.46e0),
188 + (-0.17e0,-0.19e0), (7.0e0,8.0e0), (7.0e0,8.0e0),
189 + (7.0e0,8.0e0), (7.0e0,8.0e0), (7.0e0,8.0e0),
190 + (0.19e0,-0.17e0), (0.20e0,-0.35e0),
191 + (0.35e0,0.20e0), (0.14e0,0.08e0),
192 + (2.0e0,3.0e0), (2.0e0,3.0e0), (2.0e0,3.0e0),
194 DATA ((ctrue5(i,j,2),i=1,8),j=1,5)/(0.1e0,0.1e0),
195 + (4.0e0,5.0e0), (4.0e0,5.0e0), (4.0e0,5.0e0),
196 + (4.0e0,5.0e0), (4.0e0,5.0e0), (4.0e0,5.0e0),
197 + (4.0e0,5.0e0), (-0.16e0,-0.37e0), (6.0e0,7.0e0),
198 + (6.0e0,7.0e0), (6.0e0,7.0e0), (6.0e0,7.0e0),
199 + (6.0e0,7.0e0), (6.0e0,7.0e0), (6.0e0,7.0e0),
200 + (-0.17e0,-0.19e0), (8.0e0,9.0e0),
201 + (0.13e0,-0.39e0), (2.0e0,5.0e0), (2.0e0,5.0e0),
202 + (2.0e0,5.0e0), (2.0e0,5.0e0), (2.0e0,5.0e0),
203 + (0.11e0,-0.03e0), (3.0e0,6.0e0),
204 + (-0.17e0,0.46e0), (4.0e0,7.0e0),
205 + (-0.17e0,-0.19e0), (7.0e0,2.0e0), (7.0e0,2.0e0),
206 + (7.0e0,2.0e0), (0.19e0,-0.17e0), (5.0e0,8.0e0),
207 + (0.20e0,-0.35e0), (6.0e0,9.0e0),
208 + (0.35e0,0.20e0), (8.0e0,3.0e0),
209 + (0.14e0,0.08e0), (9.0e0,4.0e0)/
210 DATA ((ctrue6(i,j,1),i=1,8),j=1,5)/(0.1e0,0.1e0),
211 + (1.0e0,2.0e0), (1.0e0,2.0e0), (1.0e0,2.0e0),
212 + (1.0e0,2.0e0), (1.0e0,2.0e0), (1.0e0,2.0e0),
213 + (1.0e0,2.0e0), (0.09e0,-0.12e0), (3.0e0,4.0e0),
214 + (3.0e0,4.0e0), (3.0e0,4.0e0), (3.0e0,4.0e0),
215 + (3.0e0,4.0e0), (3.0e0,4.0e0), (3.0e0,4.0e0),
216 + (0.03e0,-0.09e0), (0.15e0,-0.03e0),
217 + (5.0e0,6.0e0), (5.0e0,6.0e0), (5.0e0,6.0e0),
218 + (5.0e0,6.0e0), (5.0e0,6.0e0), (5.0e0,6.0e0),
219 + (0.03e0,0.03e0), (-0.18e0,0.03e0),
220 + (0.03e0,-0.09e0), (7.0e0,8.0e0), (7.0e0,8.0e0),
221 + (7.0e0,8.0e0), (7.0e0,8.0e0), (7.0e0,8.0e0),
222 + (0.09e0,0.03e0), (0.15e0,0.00e0),
223 + (0.00e0,0.15e0), (0.00e0,0.06e0), (2.0e0,3.0e0),
224 + (2.0e0,3.0e0), (2.0e0,3.0e0), (2.0e0,3.0e0)/
225 DATA ((ctrue6(i,j,2),i=1,8),j=1,5)/(0.1e0,0.1e0),
226 + (4.0e0,5.0e0), (4.0e0,5.0e0), (4.0e0,5.0e0),
227 + (4.0e0,5.0e0), (4.0e0,5.0e0), (4.0e0,5.0e0),
228 + (4.0e0,5.0e0), (0.09e0,-0.12e0), (6.0e0,7.0e0),
229 + (6.0e0,7.0e0), (6.0e0,7.0e0), (6.0e0,7.0e0),
230 + (6.0e0,7.0e0), (6.0e0,7.0e0), (6.0e0,7.0e0),
231 + (0.03e0,-0.09e0), (8.0e0,9.0e0),
232 + (0.15e0,-0.03e0), (2.0e0,5.0e0), (2.0e0,5.0e0),
233 + (2.0e0,5.0e0), (2.0e0,5.0e0), (2.0e0,5.0e0),
234 + (0.03e0,0.03e0), (3.0e0,6.0e0),
235 + (-0.18e0,0.03e0), (4.0e0,7.0e0),
236 + (0.03e0,-0.09e0), (7.0e0,2.0e0), (7.0e0,2.0e0),
237 + (7.0e0,2.0e0), (0.09e0,0.03e0), (5.0e0,8.0e0),
238 + (0.15e0,0.00e0), (6.0e0,9.0e0), (0.00e0,0.15e0),
239 + (8.0e0,3.0e0), (0.00e0,0.06e0), (9.0e0,4.0e0)/
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 cscal(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.0e0,0.0e0)
286 mwpcs(i) = (1.0e0,1.0e0)
288 CALL cscal(5,ca,cx,incx)
289 CALL ctest(5,cx,mwpct,mwpcs,sfac)
290 ELSE IF (icase.EQ.9)
THEN
295 mwpct(i) = (0.0e0,0.0e0)
296 mwpcs(i) = (1.0e0,1.0e0)
299 CALL ctest(5,cx,mwpct,mwpcs,sfac)
307 CALL ctest(5,cx,mwpct,mwpcs,sfac)
315 CALL ctest(5,cx,mwpct,mwpcs,sfac)
real function scnrm2(N, X, INCX)
SCNRM2
real function scasum(N, CX, INCX)
SCASUM
subroutine itest1(ICOMP, ITRUE)
subroutine cscal(N, CA, CX, INCX)
CSCAL
subroutine stest1(SCOMP1, STRUE1, SSIZE, SFAC)
integer function icamax(N, CX, INCX)
ICAMAX
subroutine ctest(LEN, CCOMP, CTRUE, CSIZE, SFAC)
subroutine csscal(N, SA, CX, INCX)
CSSCAL