73 INTEGER I, INFO, J, MB, NB
76 COMPLEX A( NMAX, NMAX ), T( NMAX, NMAX ), W( NMAX ),
77 $ C( NMAX, NMAX ), TAU(NMAX)
89 COMMON / infoc / infot, nout, ok, lerr
90 COMMON / srnamc / srnamt
98 WRITE( nout, fmt = * )
104 a( i, j ) = 1.e0 / cmplx( real( i+j ), 0.e0 )
105 c( i, j ) = 1.e0 / cmplx( real( i+j ), 0.e0 )
106 t( i, j ) = 1.e0 / cmplx( real( i+j ), 0.e0 )
118 CALL cgeqr( -1, 0, a, 1, tau, 1, w, 1, info )
119 CALL chkxer(
'CGEQR', infot, nout, lerr, ok )
121 CALL cgeqr( 0, -1, a, 1, tau, 1, w, 1, info )
122 CALL chkxer(
'CGEQR', infot, nout, lerr, ok )
124 CALL cgeqr( 1, 1, a, 0, tau, 1, w, 1, info )
125 CALL chkxer(
'CGEQR', infot, nout, lerr, ok )
127 CALL cgeqr( 3, 2, a, 3, tau, 1, w, 1, info )
128 CALL chkxer(
'CGEQR', infot, nout, lerr, ok )
130 CALL cgeqr( 3, 2, a, 3, tau, 8, w, 0, info )
131 CALL chkxer(
'CGEQR', infot, nout, lerr, ok )
139 CALL clatsqr( -1, 0, mb, nb, a, 1, tau, 1, w, 1, info )
140 CALL chkxer(
'CLATSQR', infot, nout, lerr, ok )
142 CALL clatsqr( 1, 2, mb, nb, a, 1, tau, 1, w, 1, info )
143 CALL chkxer(
'CLATSQR', infot, nout, lerr, ok )
144 CALL clatsqr( 0, -1, mb, nb, a, 1, tau, 1, w, 1, info )
145 CALL chkxer(
'CLATSQR', infot, nout, lerr, ok )
147 CALL clatsqr( 2, 1, -1, nb, a, 2, tau, 1, w, 1, info )
148 CALL chkxer(
'CLATSQR', infot, nout, lerr, ok )
150 CALL clatsqr( 2, 1, mb, 2, a, 2, tau, 1, w, 1, info )
151 CALL chkxer(
'CLATSQR', infot, nout, lerr, ok )
153 CALL clatsqr( 2, 1, mb, nb, a, 1, tau, 1, w, 1, info )
154 CALL chkxer(
'CLATSQR', infot, nout, lerr, ok )
156 CALL clatsqr( 2, 1, mb, nb, a, 2, tau, 0, w, 1, info )
157 CALL chkxer(
'CLATSQR', infot, nout, lerr, ok )
159 CALL clatsqr( 2, 1, mb, nb, a, 2, tau, 2, w, 0, info )
160 CALL chkxer(
'CLATSQR', infot, nout, lerr, ok )
169 CALL cgemqr(
'/',
'N', 0, 0, 0, a, 1, tau, 1, c, 1, w, 1,info)
170 CALL chkxer(
'CGEMQR', infot, nout, lerr, ok )
172 CALL cgemqr(
'L',
'/', 0, 0, 0, a, 1, tau, 1, c, 1, w, 1,info)
173 CALL chkxer(
'CGEMQR', infot, nout, lerr, ok )
175 CALL cgemqr(
'L',
'N', -1, 0, 0, a, 1, tau, 1, c, 1, w,1,info)
176 CALL chkxer(
'CGEMQR', infot, nout, lerr, ok )
178 CALL cgemqr(
'L',
'N', 0, -1, 0, a, 1, tau, 1, c, 1, w,1,info)
179 CALL chkxer(
'CGEMQR', infot, nout, lerr, ok )
181 CALL cgemqr(
'L',
'N', 0, 0, -1, a, 1, tau, 1, c, 1, w,1,info)
182 CALL chkxer(
'CGEMQR', infot, nout, lerr, ok )
184 CALL cgemqr(
'R',
'N', 0, 0, -1, a, 1, tau, 1, c, 1, w,1,info)
185 CALL chkxer(
'CGEMQR', infot, nout, lerr, ok )
187 CALL cgemqr(
'L',
'N', 2, 1, 0, a, 0, tau, 1, c, 1, w, 1,info)
188 CALL chkxer(
'CGEMQR', infot, nout, lerr, ok )
190 CALL cgemqr(
'R',
'N', 2, 2, 1, a, 2, tau, 0, c, 1, w, 1,info)
191 CALL chkxer(
'CGEMQR', infot, nout, lerr, ok )
193 CALL cgemqr(
'L',
'N', 2, 2, 1, a, 2, tau, 0, c, 1, w, 1,info)
194 CALL chkxer(
'CGEMQR', infot, nout, lerr, ok )
196 CALL cgemqr(
'L',
'N', 2, 1, 1, a, 2, tau, 6, c, 0, w, 1,info)
197 CALL chkxer(
'CGEMQR', infot, nout, lerr, ok )
199 CALL cgemqr(
'L',
'N', 2, 2, 1, a, 2, tau, 6, c, 2, w, 0,info)
200 CALL chkxer(
'CGEMQR', infot, nout, lerr, ok )
206 CALL cgelq( -1, 0, a, 1, tau, 1, w, 1, info )
207 CALL chkxer(
'CGELQ', infot, nout, lerr, ok )
209 CALL cgelq( 0, -1, a, 1, tau, 1, w, 1, info )
210 CALL chkxer(
'CGELQ', infot, nout, lerr, ok )
212 CALL cgelq( 1, 1, a, 0, tau, 1, w, 1, info )
213 CALL chkxer(
'CGELQ', infot, nout, lerr, ok )
215 CALL cgelq( 2, 3, a, 3, tau, 1, w, 1, info )
216 CALL chkxer(
'CGELQ', infot, nout, lerr, ok )
218 CALL cgelq( 2, 3, a, 3, tau, 8, w, 0, info )
219 CALL chkxer(
'CGELQ', infot, nout, lerr, ok )
227 CALL claswlq( -1, 0, mb, nb, a, 1, tau, 1, w, 1, info )
228 CALL chkxer(
'CLASWLQ', infot, nout, lerr, ok )
230 CALL claswlq( 2, 1, mb, nb, a, 1, tau, 1, w, 1, info )
231 CALL chkxer(
'CLASWLQ', infot, nout, lerr, ok )
232 CALL claswlq( 0, -1, mb, nb, a, 1, tau, 1, w, 1, info )
233 CALL chkxer(
'CLASWLQ', infot, nout, lerr, ok )
235 CALL claswlq( 1, 2, -1, nb, a, 1, tau, 1, w, 1, info )
236 CALL chkxer(
'CLASWLQ', infot, nout, lerr, ok )
237 CALL claswlq( 1, 1, 2, nb, a, 1, tau, 1, w, 1, info )
238 CALL chkxer(
'CLASWLQ', infot, nout, lerr, ok )
240 CALL claswlq( 1, 2, mb, -1, a, 1, tau, 1, w, 1, info )
241 CALL chkxer(
'CLASWLQ', infot, nout, lerr, ok )
243 CALL claswlq( 1, 2, mb, nb, a, 0, tau, 1, w, 1, info )
244 CALL chkxer(
'CLASWLQ', infot, nout, lerr, ok )
246 CALL claswlq( 1, 2, mb, nb, a, 1, tau, 0, w, 1, info )
247 CALL chkxer(
'CLASWLQ', infot, nout, lerr, ok )
249 CALL claswlq( 1, 2, mb, nb, a, 1, tau, 1, w, 0, info )
250 CALL chkxer(
'CLASWLQ', infot, nout, lerr, ok )
259 CALL cgemlq(
'/',
'N', 0, 0, 0, a, 1, tau, 1, c, 1, w, 1,info)
260 CALL chkxer(
'CGEMLQ', infot, nout, lerr, ok )
262 CALL cgemlq(
'L',
'/', 0, 0, 0, a, 1, tau, 1, c, 1, w, 1,info)
263 CALL chkxer(
'CGEMLQ', infot, nout, lerr, ok )
265 CALL cgemlq(
'L',
'N', -1, 0, 0, a, 1, tau, 1, c, 1, w,1,info)
266 CALL chkxer(
'CGEMLQ', infot, nout, lerr, ok )
268 CALL cgemlq(
'L',
'N', 0, -1, 0, a, 1, tau, 1, c, 1, w,1,info)
269 CALL chkxer(
'CGEMLQ', infot, nout, lerr, ok )
271 CALL cgemlq(
'L',
'N', 0, 0, -1, a, 1, tau, 1, c, 1, w,1,info)
272 CALL chkxer(
'CGEMLQ', infot, nout, lerr, ok )
274 CALL cgemlq(
'R',
'N', 0, 0, -1, a, 1, tau, 1, c, 1, w,1,info)
275 CALL chkxer(
'CGEMLQ', infot, nout, lerr, ok )
277 CALL cgemlq(
'L',
'N', 1, 2, 0, a, 0, tau, 1, c, 1, w, 1,info)
278 CALL chkxer(
'CGEMLQ', infot, nout, lerr, ok )
280 CALL cgemlq(
'R',
'N', 2, 2, 1, a, 1, tau, 0, c, 1, w, 1,info)
281 CALL chkxer(
'CGEMLQ', infot, nout, lerr, ok )
283 CALL cgemlq(
'L',
'N', 2, 2, 1, a, 1, tau, 0, c, 1, w, 1,info)
284 CALL chkxer(
'CGEMLQ', infot, nout, lerr, ok )
286 CALL cgemlq(
'L',
'N', 1, 2, 1, a, 1, tau, 6, c, 0, w, 1,info)
287 CALL chkxer(
'CGEMLQ', infot, nout, lerr, ok )
289 CALL cgemlq(
'L',
'N', 2, 2, 1, a, 2, tau, 6, c, 2, w, 0,info)
290 CALL chkxer(
'CGEMLQ', infot, nout, lerr, ok )
294 CALL alaesm( path, ok, nout )