73 INTEGER I, INFO, J, MB, NB
76 REAL A( NMAX, NMAX ), T( NMAX, NMAX ), W( NMAX ),
77 $ C( NMAX, NMAX ), TAU(NMAX*2)
89 COMMON / infoc / infot, nout, ok, lerr
90 COMMON / srnamc / srnamt
98 WRITE( nout, fmt = * )
104 a( i, j ) = 1. / real( i+j )
105 c( i, j ) = 1. / real( i+j )
106 t( i, j ) = 1. / real( i+j )
118 CALL sgeqr( -1, 0, a, 1, tau, 1, w, 1, info )
119 CALL chkxer(
'SGEQR', infot, nout, lerr, ok )
121 CALL sgeqr( 0, -1, a, 1, tau, 1, w, 1, info )
122 CALL chkxer(
'SGEQR', infot, nout, lerr, ok )
124 CALL sgeqr( 1, 1, a, 0, tau, 1, w, 1, info )
125 CALL chkxer(
'SGEQR', infot, nout, lerr, ok )
127 CALL sgeqr( 3, 2, a, 3, tau, 1, w, 1, info )
128 CALL chkxer(
'SGEQR', infot, nout, lerr, ok )
130 CALL sgeqr( 3, 2, a, 3, tau, 7, w, 0, info )
131 CALL chkxer(
'SGEQR', infot, nout, lerr, ok )
139 CALL slatsqr( -1, 0, mb, nb, a, 1, tau, 1, w, 1, info )
140 CALL chkxer(
'SLATSQR', infot, nout, lerr, ok )
142 CALL slatsqr( 1, 2, mb, nb, a, 1, tau, 1, w, 1, info )
143 CALL chkxer(
'SLATSQR', infot, nout, lerr, ok )
144 CALL slatsqr( 0, -1, mb, nb, a, 1, tau, 1, w, 1, info )
145 CALL chkxer(
'SLATSQR', infot, nout, lerr, ok )
147 CALL slatsqr( 2, 1, -1, nb, a, 2, tau, 1, w, 1, info )
148 CALL chkxer(
'SLATSQR', infot, nout, lerr, ok )
150 CALL slatsqr( 2, 1, mb, 2, a, 2, tau, 1, w, 1, info )
151 CALL chkxer(
'SLATSQR', infot, nout, lerr, ok )
153 CALL slatsqr( 2, 1, mb, nb, a, 1, tau, 1, w, 1, info )
154 CALL chkxer(
'SLATSQR', infot, nout, lerr, ok )
156 CALL slatsqr( 2, 1, mb, nb, a, 2, tau, 0, w, 1, info )
157 CALL chkxer(
'SLATSQR', infot, nout, lerr, ok )
159 CALL slatsqr( 2, 1, mb, nb, a, 2, tau, 2, w, 0, info )
160 CALL chkxer(
'SLATSQR', infot, nout, lerr, ok )
171 CALL sgemqr(
'/',
'N', 0, 0, 0, a, 1, tau, 1, c, 1, w, 1,info)
172 CALL chkxer(
'SGEMQR', infot, nout, lerr, ok )
174 CALL sgemqr(
'L',
'/', 0, 0, 0, a, 1, tau, 1, c, 1, w, 1,info)
175 CALL chkxer(
'SGEMQR', infot, nout, lerr, ok )
177 CALL sgemqr(
'L',
'N', -1, 0, 0, a, 1, tau, 1, c, 1, w,1,info)
178 CALL chkxer(
'SGEMQR', infot, nout, lerr, ok )
180 CALL sgemqr(
'L',
'N', 0, -1, 0, a, 1, tau, 1, c, 1, w,1,info)
181 CALL chkxer(
'SGEMQR', infot, nout, lerr, ok )
183 CALL sgemqr(
'L',
'N', 0, 0, -1, a, 1, tau, 1, c, 1, w,1,info)
184 CALL chkxer(
'SGEMQR', infot, nout, lerr, ok )
186 CALL sgemqr(
'R',
'N', 0, 0, -1, a, 1, tau, 1, c, 1, w,1,info)
187 CALL chkxer(
'SGEMQR', infot, nout, lerr, ok )
189 CALL sgemqr(
'L',
'N', 2, 1, 0, a, 0, tau, 1, c, 1, w, 1,info)
190 CALL chkxer(
'SGEMQR', infot, nout, lerr, ok )
192 CALL sgemqr(
'R',
'N', 2, 2, 1, a, 2, tau, 0, c, 1, w, 1,info)
193 CALL chkxer(
'SGEMQR', infot, nout, lerr, ok )
195 CALL sgemqr(
'L',
'N', 2, 2, 1, a, 2, tau, 0, c, 1, w, 1,info)
196 CALL chkxer(
'SGEMQR', infot, nout, lerr, ok )
198 CALL sgemqr(
'L',
'N', 2, 1, 1, a, 2, tau, 6, c, 0, w, 1,info)
199 CALL chkxer(
'SGEMQR', infot, nout, lerr, ok )
201 CALL sgemqr(
'L',
'N', 2, 2, 1, a, 2, tau, 6, c, 2, w, 0,info)
202 CALL chkxer(
'SGEMQR', infot, nout, lerr, ok )
208 CALL sgelq( -1, 0, a, 1, tau, 1, w, 1, info )
209 CALL chkxer(
'SGELQ', infot, nout, lerr, ok )
211 CALL sgelq( 0, -1, a, 1, tau, 1, w, 1, info )
212 CALL chkxer(
'SGELQ', infot, nout, lerr, ok )
214 CALL sgelq( 1, 1, a, 0, tau, 1, w, 1, info )
215 CALL chkxer(
'SGELQ', infot, nout, lerr, ok )
217 CALL sgelq( 2, 3, a, 3, tau, 1, w, 1, info )
218 CALL chkxer(
'SGELQ', infot, nout, lerr, ok )
220 CALL sgelq( 2, 3, a, 3, tau, 7, w, 0, info )
221 CALL chkxer(
'SGELQ', infot, nout, lerr, ok )
229 CALL slaswlq( -1, 0, mb, nb, a, 1, tau, 1, w, 1, info )
230 CALL chkxer(
'SLASWLQ', infot, nout, lerr, ok )
232 CALL slaswlq( 2, 1, mb, nb, a, 1, tau, 1, w, 1, info )
233 CALL chkxer(
'SLASWLQ', infot, nout, lerr, ok )
234 CALL slaswlq( 0, -1, mb, nb, a, 1, tau, 1, w, 1, info )
235 CALL chkxer(
'SLASWLQ', infot, nout, lerr, ok )
237 CALL slaswlq( 1, 2, -1, nb, a, 1, tau, 1, w, 1, info )
238 CALL chkxer(
'SLASWLQ', infot, nout, lerr, ok )
239 CALL slaswlq( 1, 1, 2, nb, a, 1, tau, 1, w, 1, info )
240 CALL chkxer(
'SLASWLQ', infot, nout, lerr, ok )
242 CALL slaswlq( 1, 2, mb, -1, a, 1, tau, 1, w, 1, info )
243 CALL chkxer(
'SLASWLQ', infot, nout, lerr, ok )
245 CALL slaswlq( 1, 2, mb, nb, a, 0, tau, 1, w, 1, info )
246 CALL chkxer(
'SLASWLQ', infot, nout, lerr, ok )
248 CALL slaswlq( 1, 2, mb, nb, a, 1, tau, 0, w, 1, info )
249 CALL chkxer(
'SLASWLQ', infot, nout, lerr, ok )
251 CALL slaswlq( 1, 2, mb, nb, a, 1, tau, 1, w, 0, info )
252 CALL chkxer(
'SLASWLQ', infot, nout, lerr, ok )
261 CALL sgemlq(
'/',
'N', 0, 0, 0, a, 1, tau, 1, c, 1, w, 1,info)
262 CALL chkxer(
'SGEMLQ', infot, nout, lerr, ok )
264 CALL sgemlq(
'L',
'/', 0, 0, 0, a, 1, tau, 1, c, 1, w, 1,info)
265 CALL chkxer(
'SGEMLQ', infot, nout, lerr, ok )
267 CALL sgemlq(
'L',
'N', -1, 0, 0, a, 1, tau, 1, c, 1, w,1,info)
268 CALL chkxer(
'SGEMLQ', infot, nout, lerr, ok )
270 CALL sgemlq(
'L',
'N', 0, -1, 0, a, 1, tau, 1, c, 1, w,1,info)
271 CALL chkxer(
'SGEMLQ', infot, nout, lerr, ok )
273 CALL sgemlq(
'L',
'N', 0, 0, -1, a, 1, tau, 1, c, 1, w,1,info)
274 CALL chkxer(
'SGEMLQ', infot, nout, lerr, ok )
276 CALL sgemlq(
'R',
'N', 0, 0, -1, a, 1, tau, 1, c, 1, w,1,info)
277 CALL chkxer(
'SGEMLQ', infot, nout, lerr, ok )
279 CALL sgemlq(
'L',
'N', 1, 2, 0, a, 0, tau, 1, c, 1, w, 1,info)
280 CALL chkxer(
'SGEMLQ', infot, nout, lerr, ok )
282 CALL sgemlq(
'R',
'N', 2, 2, 1, a, 1, tau, 0, c, 1, w, 1,info)
283 CALL chkxer(
'SGEMLQ', infot, nout, lerr, ok )
285 CALL sgemlq(
'L',
'N', 2, 2, 1, a, 1, tau, 0, c, 1, w, 1,info)
286 CALL chkxer(
'SGEMLQ', infot, nout, lerr, ok )
288 CALL sgemlq(
'L',
'N', 1, 2, 1, a, 1, tau, 6, c, 0, w, 1,info)
289 CALL chkxer(
'SGEMLQ', infot, nout, lerr, ok )
291 CALL sgemlq(
'L',
'N', 2, 2, 1, a, 2, tau, 6, c, 2, w, 0,info)
292 CALL chkxer(
'SGEMLQ', infot, nout, lerr, ok )
296 CALL alaesm( path, ok, nout )