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, lerr, ok )
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 )
221 CALL chkxer(
'CUNGQR', infot, nout, lerr, ok )
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 )
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 )