75 COMPLEX A( NMAX, NMAX ), AF( NMAX, NMAX ), B( NMAX ),
76 $ W( NMAX ), X( NMAX )
89 COMMON / infoc / infot, nout, ok, lerr
90 COMMON / srnamc / srnamt
98 WRITE( nout, fmt = * )
104 a( i, j ) = cmplx( 1. / real( i+j ), -1. / real( i+j ) )
105 af( i, j ) = cmplx( 1. / real( i+j ), -1. / real( i+j ) )
119 CALL cgeqrf( -1, 0, a, 1, b, w, 1, info )
120 CALL chkxer(
'CGEQRF', infot, nout, lerr, ok )
122 CALL cgeqrf( 0, -1, a, 1, b, w, 1, info )
123 CALL chkxer(
'CGEQRF', infot, nout, lerr, ok )
125 CALL cgeqrf( 2, 1, a, 1, b, w, 1, info )
126 CALL chkxer(
'CGEQRF', infot, nout, lerr, ok )
128 CALL cgeqrf( 1, 2, a, 1, b, w, 1, info )
129 CALL chkxer(
'CGEQRF', infot, nout, lerr, ok )
135 CALL cgeqrfp( -1, 0, a, 1, b, w, 1, info )
136 CALL chkxer(
'CGEQRFP', infot, nout, lerr, ok )
138 CALL cgeqrfp( 0, -1, a, 1, b, w, 1, info )
139 CALL chkxer(
'CGEQRFP', infot, nout, lerr, ok )
141 CALL cgeqrfp( 2, 1, a, 1, b, w, 1, info )
142 CALL chkxer(
'CGEQRFP', infot, nout, lerr, ok )
144 CALL cgeqrfp( 1, 2, a, 1, b, w, 1, info )
145 CALL chkxer(
'CGEQRFP', infot, nout, lerr, ok )
151 CALL cgeqr2( -1, 0, a, 1, b, w, info )
152 CALL chkxer(
'CGEQR2', infot, nout, lerr, ok )
154 CALL cgeqr2( 0, -1, a, 1, b, w, info )
155 CALL chkxer(
'CGEQR2', infot, nout, lerr, ok )
157 CALL cgeqr2( 2, 1, a, 1, b, w, info )
158 CALL chkxer(
'CGEQR2', infot, nout, lerr, ok )
164 CALL cgeqr2p( -1, 0, a, 1, b, w, info )
165 CALL chkxer(
'CGEQR2P', infot, nout, lerr, ok )
167 CALL cgeqr2p( 0, -1, a, 1, b, w, info )
168 CALL chkxer(
'CGEQR2P', infot, nout, lerr, ok )
170 CALL cgeqr2p( 2, 1, a, 1, b, w, info )
171 CALL chkxer(
'CGEQR2P', infot, nout, lerr, ok )
177 CALL cungqr( -1, 0, 0, a, 1, x, w, 1, info )
178 CALL chkxer(
'CUNGQR', infot, nout, lerr, ok )
180 CALL cungqr( 0, -1, 0, a, 1, x, w, 1, info )
181 CALL chkxer(
'CUNGQR', infot, nout, lerr, ok )
183 CALL cungqr( 1, 2, 0, a, 1, x, w, 2, info )
184 CALL chkxer(
'CUNGQR', infot, nout, lerr, ok )
186 CALL cungqr( 0, 0, -1, a, 1, x, w, 1, info )
187 CALL chkxer(
'CUNGQR', infot, nout, lerr, ok )
189 CALL cungqr( 1, 1, 2, a, 1, x, w, 1, info )
190 CALL chkxer(
'CUNGQR', infot, nout, lerr, ok )
192 CALL cungqr( 2, 2, 0, a, 1, x, w, 2, info )
193 CALL chkxer(
'CUNGQR', infot, nout, lerr, ok )
195 CALL cungqr( 2, 2, 0, a, 2, x, w, 1, info )
196 CALL chkxer(
'CUNGQR', infot, nout, lerr, ok )
202 CALL cung2r( -1, 0, 0, a, 1, x, w, info )
203 CALL chkxer(
'CUNG2R', infot, nout, lerr, ok )
205 CALL cung2r( 0, -1, 0, a, 1, x, w, info )
206 CALL chkxer(
'CUNG2R', infot, nout, lerr, ok )
208 CALL cung2r( 1, 2, 0, a, 1, x, w, info )
209 CALL chkxer(
'CUNG2R', infot, nout, lerr, ok )
211 CALL cung2r( 0, 0, -1, a, 1, x, w, info )
212 CALL chkxer(
'CUNG2R', infot, nout, lerr, ok )
214 CALL cung2r( 2, 1, 2, a, 2, x, w, info )
215 CALL chkxer(
'CUNG2R', infot, nout, lerr, ok )
217 CALL cung2r( 2, 1, 0, a, 1, x, w, info )
218 CALL chkxer(
'CUNG2R', infot, nout, lerr, ok )
224 CALL cunmqr(
'/',
'N', 0, 0, 0, a, 1, x, af, 1, w, 1, info )
225 CALL chkxer(
'CUNMQR', infot, nout, lerr, ok )
227 CALL cunmqr(
'L',
'/', 0, 0, 0, a, 1, x, af, 1, w, 1, info )
228 CALL chkxer(
'CUNMQR', infot, nout, lerr, ok )
230 CALL cunmqr(
'L',
'N', -1, 0, 0, a, 1, x, af, 1, w, 1, info )
231 CALL chkxer(
'CUNMQR', infot, nout, lerr, ok )
233 CALL cunmqr(
'L',
'N', 0, -1, 0, a, 1, x, af, 1, w, 1, info )
234 CALL chkxer(
'CUNMQR', infot, nout, lerr, ok )
236 CALL cunmqr(
'L',
'N', 0, 0, -1, a, 1, x, af, 1, w, 1, info )
237 CALL chkxer(
'CUNMQR', infot, nout, lerr, ok )
239 CALL cunmqr(
'L',
'N', 0, 1, 1, a, 1, x, af, 1, w, 1, info )
240 CALL chkxer(
'CUNMQR', infot, nout, lerr, ok )
242 CALL cunmqr(
'R',
'N', 1, 0, 1, a, 1, x, af, 1, w, 1, info )
243 CALL chkxer(
'CUNMQR', infot, nout, lerr, ok )
245 CALL cunmqr(
'L',
'N', 2, 1, 0, a, 1, x, af, 2, w, 1, info )
246 CALL chkxer(
'CUNMQR', infot, nout, lerr, ok )
248 CALL cunmqr(
'R',
'N', 1, 2, 0, a, 1, x, af, 1, w, 1, info )
249 CALL chkxer(
'CUNMQR', infot, nout, lerr, ok )
251 CALL cunmqr(
'L',
'N', 2, 1, 0, a, 2, x, af, 1, w, 1, info )
252 CALL chkxer(
'CUNMQR', infot, nout, lerr, ok )
254 CALL cunmqr(
'L',
'N', 1, 2, 0, a, 1, x, af, 1, w, 1, info )
255 CALL chkxer(
'CUNMQR', infot, nout, lerr, ok )
257 CALL cunmqr(
'R',
'N', 2, 1, 0, a, 1, x, af, 2, w, 1, info )
258 CALL chkxer(
'CUNMQR', infot, nout, lerr, ok )
264 CALL cunm2r(
'/',
'N', 0, 0, 0, a, 1, x, af, 1, w, info )
265 CALL chkxer(
'CUNM2R', infot, nout, lerr, ok )
267 CALL cunm2r(
'L',
'/', 0, 0, 0, a, 1, x, af, 1, w, info )
268 CALL chkxer(
'CUNM2R', infot, nout, lerr, ok )
270 CALL cunm2r(
'L',
'N', -1, 0, 0, a, 1, x, af, 1, w, info )
271 CALL chkxer(
'CUNM2R', infot, nout, lerr, ok )
273 CALL cunm2r(
'L',
'N', 0, -1, 0, a, 1, x, af, 1, w, info )
274 CALL chkxer(
'CUNM2R', infot, nout, lerr, ok )
276 CALL cunm2r(
'L',
'N', 0, 0, -1, a, 1, x, af, 1, w, info )
277 CALL chkxer(
'CUNM2R', infot, nout, lerr, ok )
279 CALL cunm2r(
'L',
'N', 0, 1, 1, a, 1, x, af, 1, w, info )
280 CALL chkxer(
'CUNM2R', infot, nout, lerr, ok )
282 CALL cunm2r(
'R',
'N', 1, 0, 1, a, 1, x, af, 1, w, info )
283 CALL chkxer(
'CUNM2R', infot, nout, lerr, ok )
285 CALL cunm2r(
'L',
'N', 2, 1, 0, a, 1, x, af, 2, w, info )
286 CALL chkxer(
'CUNM2R', infot, nout, lerr, ok )
288 CALL cunm2r(
'R',
'N', 1, 2, 0, a, 1, x, af, 1, w, info )
289 CALL chkxer(
'CUNM2R', infot, nout, lerr, ok )
291 CALL cunm2r(
'L',
'N', 2, 1, 0, a, 2, x, af, 1, w, info )
292 CALL chkxer(
'CUNM2R', infot, nout, lerr, ok )
296 CALL alaesm( path, ok, nout )