72 parameter ( nmax = 2 )
78 DOUBLE PRECISION a( nmax, nmax ), af( nmax, nmax ), b( nmax ),
79 $ w( nmax ), x( nmax )
91 COMMON / infoc / infot, nout, ok, lerr
92 COMMON / srnamc / srnamt
100 WRITE( nout, fmt = * )
106 a( i, j ) = 1.d0 / dble( i+j )
107 af( i, j ) = 1.d0 / dble( i+j )
121 CALL dgelqf( -1, 0, a, 1, b, w, 1, info )
122 CALL chkxer(
'DGELQF', infot, nout, lerr, ok )
124 CALL dgelqf( 0, -1, a, 1, b, w, 1, info )
125 CALL chkxer(
'DGELQF', infot, nout, lerr, ok )
127 CALL dgelqf( 2, 1, a, 1, b, w, 2, info )
128 CALL chkxer(
'DGELQF', infot, nout, lerr, ok )
130 CALL dgelqf( 2, 1, a, 2, b, w, 1, info )
131 CALL chkxer(
'DGELQF', infot, nout, lerr, ok )
137 CALL dgelq2( -1, 0, a, 1, b, w, info )
138 CALL chkxer(
'DGELQ2', infot, nout, lerr, ok )
140 CALL dgelq2( 0, -1, a, 1, b, w, info )
141 CALL chkxer(
'DGELQ2', infot, nout, lerr, ok )
143 CALL dgelq2( 2, 1, a, 1, b, w, info )
144 CALL chkxer(
'DGELQ2', infot, nout, lerr, ok )
150 CALL dgelqs( -1, 0, 0, a, 1, x, b, 1, w, 1, info )
151 CALL chkxer(
'DGELQS', infot, nout, lerr, ok )
153 CALL dgelqs( 0, -1, 0, a, 1, x, b, 1, w, 1, info )
154 CALL chkxer(
'DGELQS', infot, nout, lerr, ok )
156 CALL dgelqs( 2, 1, 0, a, 2, x, b, 1, w, 1, info )
157 CALL chkxer(
'DGELQS', infot, nout, lerr, ok )
159 CALL dgelqs( 0, 0, -1, a, 1, x, b, 1, w, 1, info )
160 CALL chkxer(
'DGELQS', infot, nout, lerr, ok )
162 CALL dgelqs( 2, 2, 0, a, 1, x, b, 2, w, 1, info )
163 CALL chkxer(
'DGELQS', infot, nout, lerr, ok )
165 CALL dgelqs( 1, 2, 0, a, 1, x, b, 1, w, 1, info )
166 CALL chkxer(
'DGELQS', infot, nout, lerr, ok )
168 CALL dgelqs( 1, 1, 2, a, 1, x, b, 1, w, 1, info )
169 CALL chkxer(
'DGELQS', infot, nout, lerr, ok )
175 CALL dorglq( -1, 0, 0, a, 1, x, w, 1, info )
176 CALL chkxer(
'DORGLQ', infot, nout, lerr, ok )
178 CALL dorglq( 0, -1, 0, a, 1, x, w, 1, info )
179 CALL chkxer(
'DORGLQ', infot, nout, lerr, ok )
181 CALL dorglq( 2, 1, 0, a, 2, x, w, 2, info )
182 CALL chkxer(
'DORGLQ', infot, nout, lerr, ok )
184 CALL dorglq( 0, 0, -1, a, 1, x, w, 1, info )
185 CALL chkxer(
'DORGLQ', infot, nout, lerr, ok )
187 CALL dorglq( 1, 1, 2, a, 1, x, w, 1, info )
188 CALL chkxer(
'DORGLQ', infot, nout, lerr, ok )
190 CALL dorglq( 2, 2, 0, a, 1, x, w, 2, info )
191 CALL chkxer(
'DORGLQ', infot, nout, lerr, ok )
193 CALL dorglq( 2, 2, 0, a, 2, x, w, 1, info )
194 CALL chkxer(
'DORGLQ', infot, nout, lerr, ok )
200 CALL dorgl2( -1, 0, 0, a, 1, x, w, info )
201 CALL chkxer(
'DORGL2', infot, nout, lerr, ok )
203 CALL dorgl2( 0, -1, 0, a, 1, x, w, info )
204 CALL chkxer(
'DORGL2', infot, nout, lerr, ok )
206 CALL dorgl2( 2, 1, 0, a, 2, x, w, info )
207 CALL chkxer(
'DORGL2', infot, nout, lerr, ok )
209 CALL dorgl2( 0, 0, -1, a, 1, x, w, info )
210 CALL chkxer(
'DORGL2', infot, nout, lerr, ok )
212 CALL dorgl2( 1, 1, 2, a, 1, x, w, info )
213 CALL chkxer(
'DORGL2', infot, nout, lerr, ok )
215 CALL dorgl2( 2, 2, 0, a, 1, x, w, info )
216 CALL chkxer(
'DORGL2', infot, nout, lerr, ok )
222 CALL dormlq(
'/',
'N', 0, 0, 0, a, 1, x, af, 1, w, 1, info )
223 CALL chkxer(
'DORMLQ', infot, nout, lerr, ok )
225 CALL dormlq(
'L',
'/', 0, 0, 0, a, 1, x, af, 1, w, 1, info )
226 CALL chkxer(
'DORMLQ', infot, nout, lerr, ok )
228 CALL dormlq(
'L',
'N', -1, 0, 0, a, 1, x, af, 1, w, 1, info )
229 CALL chkxer(
'DORMLQ', infot, nout, lerr, ok )
231 CALL dormlq(
'L',
'N', 0, -1, 0, a, 1, x, af, 1, w, 1, info )
232 CALL chkxer(
'DORMLQ', infot, nout, lerr, ok )
234 CALL dormlq(
'L',
'N', 0, 0, -1, a, 1, x, af, 1, w, 1, info )
235 CALL chkxer(
'DORMLQ', infot, nout, lerr, ok )
237 CALL dormlq(
'L',
'N', 0, 1, 1, a, 1, x, af, 1, w, 1, info )
238 CALL chkxer(
'DORMLQ', infot, nout, lerr, ok )
240 CALL dormlq(
'R',
'N', 1, 0, 1, a, 1, x, af, 1, w, 1, info )
241 CALL chkxer(
'DORMLQ', infot, nout, lerr, ok )
243 CALL dormlq(
'L',
'N', 2, 0, 2, a, 1, x, af, 2, w, 1, info )
244 CALL chkxer(
'DORMLQ', infot, nout, lerr, ok )
246 CALL dormlq(
'R',
'N', 0, 2, 2, a, 1, x, af, 1, w, 1, info )
247 CALL chkxer(
'DORMLQ', infot, nout, lerr, ok )
249 CALL dormlq(
'L',
'N', 2, 1, 0, a, 2, x, af, 1, w, 1, info )
250 CALL chkxer(
'DORMLQ', infot, nout, lerr, ok )
252 CALL dormlq(
'L',
'N', 1, 2, 0, a, 1, x, af, 1, w, 1, info )
253 CALL chkxer(
'DORMLQ', infot, nout, lerr, ok )
255 CALL dormlq(
'R',
'N', 2, 1, 0, a, 1, x, af, 2, w, 1, info )
256 CALL chkxer(
'DORMLQ', infot, nout, lerr, ok )
262 CALL dorml2(
'/',
'N', 0, 0, 0, a, 1, x, af, 1, w, info )
263 CALL chkxer(
'DORML2', infot, nout, lerr, ok )
265 CALL dorml2(
'L',
'/', 0, 0, 0, a, 1, x, af, 1, w, info )
266 CALL chkxer(
'DORML2', infot, nout, lerr, ok )
268 CALL dorml2(
'L',
'N', -1, 0, 0, a, 1, x, af, 1, w, info )
269 CALL chkxer(
'DORML2', infot, nout, lerr, ok )
271 CALL dorml2(
'L',
'N', 0, -1, 0, a, 1, x, af, 1, w, info )
272 CALL chkxer(
'DORML2', infot, nout, lerr, ok )
274 CALL dorml2(
'L',
'N', 0, 0, -1, a, 1, x, af, 1, w, info )
275 CALL chkxer(
'DORML2', infot, nout, lerr, ok )
277 CALL dorml2(
'L',
'N', 0, 1, 1, a, 1, x, af, 1, w, info )
278 CALL chkxer(
'DORML2', infot, nout, lerr, ok )
280 CALL dorml2(
'R',
'N', 1, 0, 1, a, 1, x, af, 1, w, info )
281 CALL chkxer(
'DORML2', infot, nout, lerr, ok )
283 CALL dorml2(
'L',
'N', 2, 1, 2, a, 1, x, af, 2, w, info )
284 CALL chkxer(
'DORML2', infot, nout, lerr, ok )
286 CALL dorml2(
'R',
'N', 1, 2, 2, a, 1, x, af, 1, w, info )
287 CALL chkxer(
'DORML2', infot, nout, lerr, ok )
289 CALL dorml2(
'L',
'N', 2, 1, 0, a, 2, x, af, 1, w, info )
290 CALL chkxer(
'DORML2', infot, nout, lerr, ok )
294 CALL alaesm( path, ok, nout )
subroutine dormlq(SIDE, TRANS, M, N, K, A, LDA, TAU, C, LDC, WORK, LWORK, INFO)
DORMLQ
subroutine dorml2(SIDE, TRANS, M, N, K, A, LDA, TAU, C, LDC, WORK, INFO)
DORML2 multiplies a general matrix by the orthogonal matrix from a LQ factorization determined by sge...
subroutine alaesm(PATH, OK, NOUT)
ALAESM
subroutine dorglq(M, N, K, A, LDA, TAU, WORK, LWORK, INFO)
DORGLQ
subroutine dgelq2(M, N, A, LDA, TAU, WORK, INFO)
DGELQ2 computes the LQ factorization of a general rectangular matrix using an unblocked algorithm...
subroutine dgelqf(M, N, A, LDA, TAU, WORK, LWORK, INFO)
DGELQF
subroutine dgelqs(M, N, NRHS, A, LDA, TAU, B, LDB, WORK, LWORK, INFO)
DGELQS
subroutine chkxer(SRNAMT, INFOT, NOUT, LERR, OK)
subroutine dorgl2(M, N, K, A, LDA, TAU, WORK, INFO)
DORGL2