75 REAL 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 ) = 1. / real( i+j )
105 af( i, j ) = 1. / real( i+j )
119 CALL sgeqrf( -1, 0, a, 1, b, w, 1, info )
120 CALL chkxer(
'SGEQRF', infot, nout, lerr, ok )
122 CALL sgeqrf( 0, -1, a, 1, b, w, 1, info )
123 CALL chkxer(
'SGEQRF', infot, nout, lerr, ok )
125 CALL sgeqrf( 2, 1, a, 1, b, w, 1, info )
126 CALL chkxer(
'SGEQRF', infot, nout, lerr, ok )
128 CALL sgeqrf( 1, 2, a, 1, b, w, 1, info )
129 CALL chkxer(
'SGEQRF', infot, nout, lerr, ok )
135 CALL SGEQRFP( -1, 0, A, 1, B, W, 1, INFO )
136 CALL CHKXER( 'sgeqrfp', INFOT, NOUT, LERR, OK )
138 CALL SGEQRFP( 0, -1, A, 1, B, W, 1, INFO )
139 CALL CHKXER( 'sgeqrfp', INFOT, NOUT, LERR, OK )
141 CALL SGEQRFP( 2, 1, A, 1, B, W, 1, INFO )
142 CALL CHKXER( 'sgeqrfp', INFOT, NOUT, LERR, OK )
144 CALL SGEQRFP( 1, 2, A, 1, B, W, 1, INFO )
145 CALL CHKXER( 'sgeqrfp', INFOT, NOUT, LERR, OK )
151 CALL SGEQR2( -1, 0, A, 1, B, W, INFO )
152 CALL CHKXER( 'sgeqr2', INFOT, NOUT, LERR, OK )
154 CALL SGEQR2( 0, -1, A, 1, B, W, INFO )
155 CALL CHKXER( 'sgeqr2', INFOT, NOUT, LERR, OK )
157 CALL SGEQR2( 2, 1, A, 1, B, W, INFO )
158 CALL CHKXER( 'sgeqr2', INFOT, NOUT, LERR, OK )
164 CALL SGEQR2P( -1, 0, A, 1, B, W, INFO )
165 CALL CHKXER( 'sgeqr2p', INFOT, NOUT, LERR, OK )
167 CALL SGEQR2P( 0, -1, A, 1, B, W, INFO )
168 CALL CHKXER( 'sgeqr2p', INFOT, NOUT, LERR, OK )
170 CALL SGEQR2P( 2, 1, A, 1, B, W, INFO )
171 CALL CHKXER( 'sgeqr2p', INFOT, NOUT, LERR, OK )
177 CALL sgeqrs( -1, 0, 0, a, 1, x, b, 1, w, 1, info )
178 CALL chkxer(
'SGEQRS', infot, nout, lerr, ok )
180 CALL sgeqrs( 0, -1, 0, a, 1, x, b, 1, w, 1, info )
181 CALL chkxer(
'SGEQRS', infot, nout, lerr, ok )
183 CALL sgeqrs( 1, 2, 0, a, 2, x, b, 2, w, 1, info )
184 CALL chkxer(
'SGEQRS', infot, nout, lerr, ok )
186 CALL sgeqrs( 0, 0, -1, a, 1, x, b, 1, w, 1, info )
187 CALL chkxer(
'SGEQRS', infot, nout, lerr, ok )
189 CALL sgeqrs( 2, 1, 0, a, 1, x, b, 2, w, 1, info )
190 CALL chkxer(
'SGEQRS', infot, nout, lerr, ok )
192 CALL sgeqrs( 2, 1, 0, a, 2, x, b, 1, w, 1, info )
193 CALL chkxer(
'SGEQRS', infot, nout, lerr, ok )
195 CALL sgeqrs( 1, 1, 2, a, 1, x, b, 1, w, 1, info )
196 CALL chkxer(
'SGEQRS', infot, nout, lerr, ok )
202 CALL sorgqr( -1, 0, 0, a, 1, x, w, 1, info )
203 CALL chkxer(
'SORGQR', infot, nout, lerr, ok )
205 CALL sorgqr( 0, -1, 0, a, 1, x, w, 1, info )
206 CALL chkxer(
'SORGQR', infot, nout, lerr, ok )
208 CALL sorgqr( 1, 2, 0, a, 1, x, w, 2, info )
209 CALL chkxer(
'SORGQR', infot, nout, lerr, ok )
211 CALL sorgqr( 0, 0, -1, a, 1, x, w, 1, info )
212 CALL chkxer(
'SORGQR', infot, nout, lerr, ok )
214 CALL sorgqr( 1, 1, 2, a, 1, x, w, 1, info )
215 CALL chkxer(
'SORGQR', infot, nout, lerr, ok )
217 CALL sorgqr( 2, 2, 0, a, 1, x, w, 2, info )
218 CALL chkxer(
'SORGQR', infot, nout, lerr, ok )
220 CALL sorgqr( 2, 2, 0, a, 2, x, w, 1, info )
221 CALL chkxer(
'SORGQR', infot, nout, lerr, ok )
227 CALL sorg2r( -1, 0, 0, a, 1, x, w, info )
230 CALL sorg2r( 0, -1, 0, a, 1, x, w, info )
231 CALL chkxer(
'SORG2R', infot, nout, lerr, ok )
233 CALL sorg2r( 1, 2, 0, a, 1, x, w, info )
234 CALL chkxer(
'SORG2R', infot, nout, lerr, ok )
236 CALL sorg2r( 0, 0, -1, a, 1, x, w, info )
237 CALL chkxer(
'SORG2R', infot, nout, lerr, ok )
239 CALL sorg2r( 2, 1, 2, a, 2, x, w, info )
240 CALL chkxer(
'SORG2R', infot, nout, lerr, ok )
242 CALL sorg2r( 2, 1, 0, a, 1, x, w, info )
243 CALL chkxer(
'SORG2R', infot, nout, lerr, ok )
249 CALL sormqr(
'/',
'N', 0, 0, 0, a, 1, x, af, 1, w, 1, info )
250 CALL chkxer(
'SORMQR', infot, nout, lerr, ok )
252 CALL sormqr(
'L',
'/', 0, 0, 0, a, 1, x, af, 1, w, 1, info )
253 CALL chkxer(
'SORMQR', infot, nout, lerr, ok )
255 CALL sormqr(
'L',
'N', -1, 0, 0, a, 1, x, af, 1, w, 1, info )
256 CALL chkxer(
'SORMQR', infot, nout, lerr, ok )
258 CALL sormqr(
'L',
'N', 0, -1, 0, a, 1, x, af, 1, w, 1, info )
259 CALL chkxer(
'SORMQR', infot, nout, lerr, ok )
261 CALL sormqr(
'L',
'N', 0, 0, -1, a, 1, x, af, 1, w, 1, info )
262 CALL chkxer(
'SORMQR', infot, nout, lerr, ok )
264 CALL sormqr(
'L',
'N', 0, 1, 1, a, 1, x, af, 1, w, 1, info )
265 CALL chkxer(
'SORMQR', infot, nout, lerr, ok )
267 CALL sormqr(
'R',
'N', 1, 0, 1, a, 1, x, af, 1, w, 1, info )
268 CALL chkxer(
'SORMQR', infot, nout, lerr, ok )
270 CALL sormqr(
'L',
'N', 2, 1, 0, a, 1, x, af, 2, w, 1, info )
271 CALL chkxer(
'SORMQR', infot, nout, lerr, ok )
273 CALL sormqr(
'R',
'N', 1, 2, 0, a, 1, x, af, 1, w, 1, info )
274 CALL chkxer(
'SORMQR', infot, nout, lerr, ok )
276 CALL sormqr(
'L',
'N', 2, 1, 0, a, 2, x, af, 1, w, 1, info )
277 CALL chkxer(
'SORMQR', infot, nout, lerr, ok )
279 CALL sormqr(
'L',
'N', 1, 2, 0, a, 1, x, af, 1, w, 1, info )
280 CALL chkxer(
'SORMQR', infot, nout, lerr, ok )
282 CALL sormqr(
'R',
'N', 2, 1, 0, a, 1, x, af, 2, w, 1, info )
283 CALL chkxer(
'SORMQR', infot, nout, lerr, ok )
289 CALL sorm2r(
'/',
'N', 0, 0, 0, a, 1, x, af, 1, w, info )
292 CALL SORM2R( 'l
', '/
', 0, 0, 0, A, 1, X, AF, 1, W, INFO )
293 CALL CHKXER( 'sorm2r', INFOT, NOUT, LERR, OK )
295 CALL SORM2R( 'l
', 'n
', -1, 0, 0, A, 1, X, AF, 1, W, INFO )
296 CALL CHKXER( 'sorm2r', INFOT, NOUT, LERR, OK )
298 CALL SORM2R( 'l
', 'n
', 0, -1, 0, A, 1, X, AF, 1, W, INFO )
299 CALL CHKXER( 'sorm2r', INFOT, NOUT, LERR, OK )
301 CALL SORM2R( 'l
', 'n
', 0, 0, -1, A, 1, X, AF, 1, W, INFO )
302 CALL CHKXER( 'sorm2r', INFOT, NOUT, LERR, OK )
304 CALL SORM2R( 'l
', 'n
', 0, 1, 1, A, 1, X, AF, 1, W, INFO )
305 CALL CHKXER( 'sorm2r', INFOT, NOUT, LERR, OK )
307 CALL SORM2R( 'r
', 'n
', 1, 0, 1, A, 1, X, AF, 1, W, INFO )
308 CALL CHKXER( 'sorm2r', INFOT, NOUT, LERR, OK )
310 CALL SORM2R( 'l',
'N', 2, 1, 0, a, 1, x, af, 2, w, info )
311 CALL chkxer(
'SORM2R', infot, nout, lerr, ok )
313 CALL sorm2r(
'R',
'N', 1, 2, 0, a, 1, x, af, 1, w, info )
314 CALL chkxer(
'SORM2R', infot, nout, lerr, ok )
316 CALL sorm2r(
'L',
'N', 2, 1, 0, a, 2, x, af, 1, w, info )
317 CALL chkxer(
'SORM2R', infot, nout, lerr, ok )
321 CALL alaesm( path, ok, nout )