73 INTEGER I, INFO, J, MB, NB
76 COMPLEX*16 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.d0 / dble( i+j )
105 c( i, j ) = 1.d0 / dble( i+j )
106 t( i, j ) = 1.d0 / dble( i+j )
118 CALL zgeqr( -1, 0, a, 1, tau, 1, w, 1, info )
119 CALL chkxer(
'ZGEQR', infot, nout, lerr, ok )
121 CALL zgeqr( 0, -1, a, 1, tau, 1, w, 1, info )
122 CALL chkxer(
'ZGEQR', infot, nout, lerr, ok )
124 CALL zgeqr( 1, 1, a, 0, tau, 1, w, 1, info )
125 CALL chkxer(
'ZGEQR', infot, nout, lerr, ok )
127 CALL zgeqr( 3, 2, a, 3, tau, 1, w, 1, info )
128 CALL chkxer(
'ZGEQR', infot, nout, lerr, ok )
130 CALL zgeqr( 3, 2, a, 3, tau, 8, w, 0, info )
131 CALL chkxer(
'ZGEQR', infot, nout, lerr, ok )
139 CALL zlatsqr( -1, 0, mb, nb, a, 1, tau, 1, w, 1, info )
140 CALL chkxer(
'ZLATSQR', infot, nout, lerr, ok )
142 CALL zlatsqr( 1, 2, mb, nb, a, 1, tau, 1, w, 1, info )
143 CALL chkxer(
'ZLATSQR', infot, nout, lerr, ok )
144 CALL zlatsqr( 0, -1, mb, nb, a, 1, tau, 1, w, 1, info )
145 CALL chkxer(
'ZLATSQR', infot, nout, lerr, ok )
147 CALL zlatsqr( 2, 1, -1, nb, a, 2, tau, 1, w, 1, info )
148 CALL chkxer(
'ZLATSQR', infot, nout, lerr, ok )
150 CALL zlatsqr( 2, 1, mb, 2, a, 2, tau, 1, w, 1, info )
151 CALL chkxer(
'ZLATSQR', infot, nout, lerr, ok )
153 CALL zlatsqr( 2, 1, mb, nb, a, 1, tau, 1, w, 1, info )
154 CALL chkxer(
'ZLATSQR', infot, nout, lerr, ok )
156 CALL zlatsqr( 2, 1, mb, nb, a, 2, tau, 0, w, 1, info )
157 CALL chkxer(
'ZLATSQR', infot, nout, lerr, ok )
159 CALL zlatsqr( 2, 1, mb, nb, a, 2, tau, 2, w, 0, info )
160 CALL chkxer(
'ZLATSQR', infot, nout, lerr, ok )
169 CALL zgemqr(
'/',
'N', 0, 0, 0, a, 1, tau, 1, c, 1, w, 1,info)
170 CALL chkxer(
'ZGEMQR', infot, nout, lerr, ok )
172 CALL zgemqr(
'L',
'/', 0, 0, 0, a, 1, tau, 1, c, 1, w, 1,info)
173 CALL chkxer(
'ZGEMQR', infot, nout, lerr, ok )
175 CALL zgemqr(
'L',
'N', -1, 0, 0, a, 1, tau, 1, c, 1, w,1,info)
176 CALL chkxer(
'ZGEMQR', infot, nout, lerr, ok )
178 CALL zgemqr(
'L',
'N', 0, -1, 0, a, 1, tau, 1, c, 1, w,1,info)
179 CALL chkxer(
'ZGEMQR', infot, nout, lerr, ok )
181 CALL zgemqr(
'L',
'N', 0, 0, -1, a, 1, tau, 1, c, 1, w,1,info)
182 CALL chkxer(
'ZGEMQR', infot, nout, lerr, ok )
184 CALL zgemqr(
'R',
'N', 0, 0, -1, a, 1, tau, 1, c, 1, w,1,info)
185 CALL chkxer(
'ZGEMQR', infot, nout, lerr, ok )
187 CALL zgemqr(
'L',
'N', 2, 1, 0, a, 0, tau, 1, c, 1, w, 1,info)
188 CALL chkxer(
'ZGEMQR', infot, nout, lerr, ok )
190 CALL zgemqr(
'R',
'N', 2, 2, 1, a, 2, tau, 0, c, 1, w, 1,info)
191 CALL chkxer(
'ZGEMQR', infot, nout, lerr, ok )
193 CALL zgemqr(
'L',
'N', 2, 2, 1, a, 2, tau, 0, c, 1, w, 1,info)
194 CALL chkxer(
'ZGEMQR', infot, nout, lerr, ok )
196 CALL zgemqr(
'L',
'N', 2, 1, 1, a, 2, tau, 6, c, 0, w, 1,info)
197 CALL chkxer(
'ZGEMQR', infot, nout, lerr, ok )
199 CALL zgemqr(
'L',
'N', 2, 2, 1, a, 2, tau, 6, c, 2, w, 0,info)
200 CALL chkxer(
'ZGEMQR', infot, nout, lerr, ok )
206 CALL zgelq( -1, 0, a, 1, tau, 1, w, 1, info )
207 CALL chkxer(
'ZGELQ', infot, nout, lerr, ok )
209 CALL zgelq( 0, -1, a, 1, tau, 1, w, 1, info )
210 CALL chkxer(
'ZGELQ', infot, nout, lerr, ok )
212 CALL zgelq( 1, 1, a, 0, tau, 1, w, 1, info )
213 CALL chkxer(
'ZGELQ', infot, nout, lerr, ok )
215 CALL zgelq( 2, 3, a, 3, tau, 1, w, 1, info )
216 CALL chkxer(
'ZGELQ', infot, nout, lerr, ok )
218 CALL zgelq( 2, 3, a, 3, tau, 8, w, 0, info )
219 CALL chkxer(
'ZGELQ', infot, nout, lerr, ok )
227 CALL zlaswlq( -1, 0, mb, nb, a, 1, tau, 1, w, 1, info )
228 CALL chkxer(
'ZLASWLQ', infot, nout, lerr, ok )
230 CALL zlaswlq( 2, 1, mb, nb, a, 1, tau, 1, w, 1, info )
231 CALL chkxer(
'ZLASWLQ', infot, nout, lerr, ok )
232 CALL zlaswlq( 0, -1, mb, nb, a, 1, tau, 1, w, 1, info )
233 CALL chkxer(
'ZLASWLQ', infot, nout, lerr, ok )
235 CALL zlaswlq( 1, 2, -1, nb, a, 1, tau, 1, w, 1, info )
236 CALL chkxer(
'ZLASWLQ', infot, nout, lerr, ok )
237 CALL zlaswlq( 1, 1, 2, nb, a, 1, tau, 1, w, 1, info )
238 CALL chkxer(
'ZLASWLQ', infot, nout, lerr, ok )
240 CALL zlaswlq( 1, 2, mb, -1, a, 1, tau, 1, w, 1, info )
241 CALL chkxer(
'ZLASWLQ', infot, nout, lerr, ok )
243 CALL zlaswlq( 1, 2, mb, nb, a, 0, tau, 1, w, 1, info )
244 CALL chkxer(
'ZLASWLQ', infot, nout, lerr, ok )
246 CALL zlaswlq( 1, 2, mb, nb, a, 1, tau, 0, w, 1, info )
247 CALL chkxer(
'ZLASWLQ', infot, nout, lerr, ok )
249 CALL zlaswlq( 1, 2, mb, nb, a, 1, tau, 1, w, 0, info )
250 CALL chkxer(
'ZLASWLQ', infot, nout, lerr, ok )
259 CALL zgemlq(
'/',
'N', 0, 0, 0, a, 1, tau, 1, c, 1, w, 1,info)
260 CALL chkxer(
'ZGEMLQ', infot, nout, lerr, ok )
262 CALL zgemlq(
'L',
'/', 0, 0, 0, a, 1, tau, 1, c, 1, w, 1,info)
263 CALL chkxer(
'ZGEMLQ', infot, nout, lerr, ok )
265 CALL zgemlq(
'L',
'N', -1, 0, 0, a, 1, tau, 1, c, 1, w,1,info)
266 CALL chkxer(
'ZGEMLQ', infot, nout, lerr, ok )
268 CALL zgemlq(
'L',
'N', 0, -1, 0, a, 1, tau, 1, c, 1, w,1,info)
269 CALL chkxer(
'ZGEMLQ', infot, nout, lerr, ok )
271 CALL zgemlq(
'L',
'N', 0, 0, -1, a, 1, tau, 1, c, 1, w,1,info)
272 CALL chkxer(
'ZGEMLQ', infot, nout, lerr, ok )
274 CALL zgemlq(
'R',
'N', 0, 0, -1, a, 1, tau, 1, c, 1, w,1,info)
275 CALL chkxer(
'ZGEMLQ', infot, nout, lerr, ok )
277 CALL zgemlq(
'L',
'N', 1, 2, 0, a, 0, tau, 1, c, 1, w, 1,info)
278 CALL chkxer(
'ZGEMLQ', infot, nout, lerr, ok )
280 CALL zgemlq(
'R',
'N', 2, 2, 1, a, 1, tau, 0, c, 1, w, 1,info)
281 CALL chkxer(
'ZGEMLQ', infot, nout, lerr, ok )
283 CALL zgemlq(
'L',
'N', 2, 2, 1, a, 1, tau, 0, c, 1, w, 1,info)
284 CALL chkxer(
'ZGEMLQ', infot, nout, lerr, ok )
286 CALL zgemlq(
'L',
'N', 1, 2, 1, a, 1, tau, 6, c, 0, w, 1,info)
287 CALL chkxer(
'ZGEMLQ', infot, nout, lerr, ok )
289 CALL zgemlq(
'L',
'N', 2, 2, 1, a, 2, tau, 6, c, 2, w, 0,info)
290 CALL chkxer(
'ZGEMLQ', infot, nout, lerr, ok )
294 CALL alaesm( path, ok, nout )