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 cgeqrs( -1, 0, 0, a, 1, x, b, 1, w, 1, info )
178 CALL chkxer(
'CGEQRS', infot, nout
180 CALL cgeqrs( 0, -1, 0, a, 1, x, b, 1, w, 1, info )
181 CALL chkxer(
'CGEQRS', infot, nout, lerr, ok )
183 CALL cgeqrs( 1, 2, 0, a, 2, x, b, 2, w, 1, info )
184 CALL chkxer(
'CGEQRS', infot, nout, lerr, ok )
186 CALL cgeqrs( 0, 0, -1, a, 1, x, b, 1, w, 1, info )
187 CALL chkxer(
'CGEQRS', infot, nout, lerr, ok )
189 CALL cgeqrs( 2, 1, 0, a, 1, x, b, 2, w, 1, info )
190 CALL chkxer(
'CGEQRS', infot, nout, lerr, ok )
192 CALL cgeqrs( 2, 1, 0, a, 2, x, b, 1, w, 1, info )
193 CALL chkxer(
'CGEQRS', infot, nout, lerr, ok )
195 CALL cgeqrs( 1, 1, 2, a, 1, x, b, 1, w, 1, info )
196 CALL chkxer(
'CGEQRS', infot, nout, lerr, ok )
202 CALL cungqr( -1, 0, 0, a, 1, x, w, 1, info )
203 CALL chkxer(
'CUNGQR', infot, nout, lerr, ok )
205 CALL cungqr( 0, -1, 0, a, 1, x, w, 1, info )
206 CALL chkxer(
'CUNGQR', infot, nout, lerr, ok )
208 CALL cungqr( 1, 2, 0, a, 1, x, w, 2, info )
209 CALL chkxer(
'CUNGQR', infot, nout, lerr, ok )
211 CALL cungqr( 0, 0, -1, a, 1, x, w, 1, info )
212 CALL chkxer(
'CUNGQR', infot, nout, lerr, ok )
214 CALL cungqr( 1, 1, 2, a, 1, x, w, 1, info )
215 CALL chkxer(
'CUNGQR', infot, nout, lerr, ok )
217 CALL cungqr( 2, 2, 0, a, 1, x, w, 2, info )
218 CALL chkxer(
'CUNGQR', infot, nout, lerr, ok )
220 CALL cungqr( 2, 2, 0, a, 2, x, w, 1, info )
227 CALL CUNG2R( -1, 0, 0, A, 1, X, W, INFO )
228 CALL CHKXER( 'cung2r', INFOT, NOUT, LERR, OK )
230 CALL CUNG2R( 0, -1, 0, A, 1, X, W, INFO )
231 CALL CHKXER( 'cung2r', INFOT, NOUT, LERR, OK )
233 CALL CUNG2R( 1, 2, 0, A, 1, X, W, INFO )
234 CALL CHKXER( 'cung2r', INFOT, NOUT, LERR, OK )
236 CALL CUNG2R( 0, 0, -1, A, 1, X, W, INFO )
237 CALL CHKXER( 'cung2r', INFOT, NOUT, LERR, OK )
239 CALL CUNG2R( 2, 1, 2, A, 2, X, W, INFO )
240 CALL CHKXER( 'cung2r', INFOT, NOUT, LERR, OK )
242 CALL CUNG2R( 2, 1, 0, A, 1, X, W, INFO )
243 CALL CHKXER( 'cung2r', INFOT, NOUT, LERR, OK )
249 CALL CUNMQR( '/
', 'n
', 0, 0, 0, A, 1, X, AF, 1, W, 1, INFO )
250 CALL CHKXER( 'cunmqr', INFOT, NOUT, LERR, OK )
252 CALL CUNMQR( 'l
', '/
', 0, 0, 0, A, 1, X, AF, 1, W, 1, INFO )
253 CALL CHKXER( 'cunmqr', INFOT, NOUT, LERR, OK )
255 CALL CUNMQR( 'l
', 'n
', -1, 0, 0, A, 1, X, AF, 1, W, 1, INFO )
256 CALL CHKXER( 'cunmqr', INFOT, NOUT, LERR, OK )
258 CALL CUNMQR( 'l
', 'n
', 0, -1, 0, A, 1, X, AF, 1, W, 1, INFO )
259 CALL CHKXER( 'cunmqr', INFOT, NOUT, LERR, OK )
261 CALL CUNMQR( 'l
', 'n
', 0, 0, -1, A, 1, X, AF, 1, W, 1, INFO )
262 CALL CHKXER( 'cunmqr', INFOT, NOUT, LERR, OK )
264 CALL CUNMQR( 'l
', 'n
', 0, 1, 1, A, 1, X, AF, 1, W, 1, INFO )
265 CALL CHKXER( 'cunmqr', INFOT, NOUT, LERR, OK )
267 CALL CUNMQR( 'r
', 'n
', 1, 0, 1, A, 1, X, AF, 1, W, 1, INFO )
268 CALL CHKXER( 'cunmqr', INFOT, NOUT, LERR, OK )
270 CALL CUNMQR( 'l
', 'n
', 2, 1, 0, A, 1, X, AF, 2, W, 1, INFO )
271 CALL CHKXER( 'cunmqr', INFOT, NOUT, LERR, OK )
273 CALL CUNMQR( 'r
', 'n
', 1, 2, 0, A, 1, X, AF, 1, W, 1, INFO )
274 CALL CHKXER( 'cunmqr', INFOT, NOUT, LERR, OK )
276 CALL CUNMQR( 'l
', 'n', 2, 1, 0, a, 2, x, af, 1, w, 1, info )
277 CALL chkxer(
'CUNMQR', infot, nout, lerr, ok )
279 CALL cunmqr(
'L',
'N', 1, 2, 0, a, 1, x, af, 1, w, 1, info )
280 CALL chkxer(
'CUNMQR', infot, nout, lerr, ok )
282 CALL cunmqr(
'R',
'N', 2, 1, 0, a, 1, x, af, 2, w, 1, info )
283 CALL chkxer(
'CUNMQR', infot, nout, lerr, ok )
289 CALL cunm2r(
'/',
'N', 0, 0, 0, a, 1, x, af, 1, w, info )
290 CALL chkxer(
'CUNM2R', infot, nout, lerr, ok )
292 CALL cunm2r(
'L',
'/', 0, 0, 0, a, 1, x, af, 1, w, info )
293 CALL chkxer(
'CUNM2R', infot, nout, lerr, ok )
295 CALL cunm2r(
'L',
'N', -1, 0, 0, a, 1, x, af, 1, w, info )
296 CALL chkxer(
'CUNM2R', infot, nout, lerr, ok )
298 CALL cunm2r(
'L',
'N', 0, -1, 0, a, 1, x, af, 1, w, info )
299 CALL chkxer(
'CUNM2R', infot, nout, lerr, ok )
301 CALL cunm2r(
'L',
'N', 0, 0, -1, a, 1, x, af, 1, w, info )
302 CALL chkxer(
'CUNM2R', infot, nout, lerr, ok )
304 CALL cunm2r(
'L',
'N', 0, 1, 1, a, 1, x, af, 1, w, info )
305 CALL chkxer(
'CUNM2R', infot, nout, lerr, ok )
307 CALL cunm2r(
'R',
'N', 1, 0, 1, a, 1, x, af, 1, w, info )
308 CALL chkxer(
'CUNM2R', infot, nout, lerr, ok )
310 CALL cunm2r(
'L',
'N', 2, 1, 0, a, 1, x, af, 2, w, info )
311 CALL chkxer(
'CUNM2R', infot, nout, lerr, ok )
313 CALL cunm2r(
'R',
'N', 1, 2, 0, a, 1, x, af, 1, w, info )
314 CALL chkxer(
'CUNM2R', infot, nout, lerr, ok )
316 CALL cunm2r(
'L',
'N', 2, 1, 0, a, 2, x, af, 1, w, info )
317 CALL chkxer(
'CUNM2R', infot, nout, lerr, ok )
321 CALL alaesm( path, ok, nout )