72 parameter ( nmax = 2 )
78 COMPLEX 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 ) = cmplx( 1. /
REAL( I+J ), -1. /
REAL( I+J ) )
107 af( i, j ) = cmplx( 1. /
REAL( I+J ), -1. /
REAL( I+J ) )
121 CALL cgeqlf( -1, 0, a, 1, b, w, 1, info )
122 CALL chkxer(
'CGEQLF', infot, nout, lerr, ok )
124 CALL cgeqlf( 0, -1, a, 1, b, w, 1, info )
125 CALL chkxer(
'CGEQLF', infot, nout, lerr, ok )
127 CALL cgeqlf( 2, 1, a, 1, b, w, 1, info )
128 CALL chkxer(
'CGEQLF', infot, nout, lerr, ok )
130 CALL cgeqlf( 1, 2, a, 1, b, w, 1, info )
131 CALL chkxer(
'CGEQLF', infot, nout, lerr, ok )
137 CALL cgeql2( -1, 0, a, 1, b, w, info )
138 CALL chkxer(
'CGEQL2', infot, nout, lerr, ok )
140 CALL cgeql2( 0, -1, a, 1, b, w, info )
141 CALL chkxer(
'CGEQL2', infot, nout, lerr, ok )
143 CALL cgeql2( 2, 1, a, 1, b, w, info )
144 CALL chkxer(
'CGEQL2', infot, nout, lerr, ok )
150 CALL cgeqls( -1, 0, 0, a, 1, x, b, 1, w, 1, info )
151 CALL chkxer(
'CGEQLS', infot, nout, lerr, ok )
153 CALL cgeqls( 0, -1, 0, a, 1, x, b, 1, w, 1, info )
154 CALL chkxer(
'CGEQLS', infot, nout, lerr, ok )
156 CALL cgeqls( 1, 2, 0, a, 1, x, b, 1, w, 1, info )
157 CALL chkxer(
'CGEQLS', infot, nout, lerr, ok )
159 CALL cgeqls( 0, 0, -1, a, 1, x, b, 1, w, 1, info )
160 CALL chkxer(
'CGEQLS', infot, nout, lerr, ok )
162 CALL cgeqls( 2, 1, 0, a, 1, x, b, 2, w, 1, info )
163 CALL chkxer(
'CGEQLS', infot, nout, lerr, ok )
165 CALL cgeqls( 2, 1, 0, a, 2, x, b, 1, w, 1, info )
166 CALL chkxer(
'CGEQLS', infot, nout, lerr, ok )
168 CALL cgeqls( 1, 1, 2, a, 1, x, b, 1, w, 1, info )
169 CALL chkxer(
'CGEQLS', infot, nout, lerr, ok )
175 CALL cungql( -1, 0, 0, a, 1, x, w, 1, info )
176 CALL chkxer(
'CUNGQL', infot, nout, lerr, ok )
178 CALL cungql( 0, -1, 0, a, 1, x, w, 1, info )
179 CALL chkxer(
'CUNGQL', infot, nout, lerr, ok )
181 CALL cungql( 1, 2, 0, a, 1, x, w, 2, info )
182 CALL chkxer(
'CUNGQL', infot, nout, lerr, ok )
184 CALL cungql( 0, 0, -1, a, 1, x, w, 1, info )
185 CALL chkxer(
'CUNGQL', infot, nout, lerr, ok )
187 CALL cungql( 1, 1, 2, a, 1, x, w, 1, info )
188 CALL chkxer(
'CUNGQL', infot, nout, lerr, ok )
190 CALL cungql( 2, 1, 0, a, 1, x, w, 1, info )
191 CALL chkxer(
'CUNGQL', infot, nout, lerr, ok )
193 CALL cungql( 2, 2, 0, a, 2, x, w, 1, info )
194 CALL chkxer(
'CUNGQL', infot, nout, lerr, ok )
200 CALL cung2l( -1, 0, 0, a, 1, x, w, info )
201 CALL chkxer(
'CUNG2L', infot, nout, lerr, ok )
203 CALL cung2l( 0, -1, 0, a, 1, x, w, info )
204 CALL chkxer(
'CUNG2L', infot, nout, lerr, ok )
206 CALL cung2l( 1, 2, 0, a, 1, x, w, info )
207 CALL chkxer(
'CUNG2L', infot, nout, lerr, ok )
209 CALL cung2l( 0, 0, -1, a, 1, x, w, info )
210 CALL chkxer(
'CUNG2L', infot, nout, lerr, ok )
212 CALL cung2l( 2, 1, 2, a, 2, x, w, info )
213 CALL chkxer(
'CUNG2L', infot, nout, lerr, ok )
215 CALL cung2l( 2, 1, 0, a, 1, x, w, info )
216 CALL chkxer(
'CUNG2L', infot, nout, lerr, ok )
222 CALL cunmql(
'/',
'N', 0, 0, 0, a, 1, x, af, 1, w, 1, info )
223 CALL chkxer(
'CUNMQL', infot, nout, lerr, ok )
225 CALL cunmql(
'L',
'/', 0, 0, 0, a, 1, x, af, 1, w, 1, info )
226 CALL chkxer(
'CUNMQL', infot, nout, lerr, ok )
228 CALL cunmql(
'L',
'N', -1, 0, 0, a, 1, x, af, 1, w, 1, info )
229 CALL chkxer(
'CUNMQL', infot, nout, lerr, ok )
231 CALL cunmql(
'L',
'N', 0, -1, 0, a, 1, x, af, 1, w, 1, info )
232 CALL chkxer(
'CUNMQL', infot, nout, lerr, ok )
234 CALL cunmql(
'L',
'N', 0, 0, -1, a, 1, x, af, 1, w, 1, info )
235 CALL chkxer(
'CUNMQL', infot, nout, lerr, ok )
237 CALL cunmql(
'L',
'N', 0, 1, 1, a, 1, x, af, 1, w, 1, info )
238 CALL chkxer(
'CUNMQL', infot, nout, lerr, ok )
240 CALL cunmql(
'R',
'N', 1, 0, 1, a, 1, x, af, 1, w, 1, info )
241 CALL chkxer(
'CUNMQL', infot, nout, lerr, ok )
243 CALL cunmql(
'L',
'N', 2, 1, 0, a, 1, x, af, 2, w, 1, info )
244 CALL chkxer(
'CUNMQL', infot, nout, lerr, ok )
246 CALL cunmql(
'R',
'N', 1, 2, 0, a, 1, x, af, 1, w, 1, info )
247 CALL chkxer(
'CUNMQL', infot, nout, lerr, ok )
249 CALL cunmql(
'L',
'N', 2, 1, 0, a, 2, x, af, 1, w, 1, info )
250 CALL chkxer(
'CUNMQL', infot, nout, lerr, ok )
252 CALL cunmql(
'L',
'N', 1, 2, 0, a, 1, x, af, 1, w, 1, info )
253 CALL chkxer(
'CUNMQL', infot, nout, lerr, ok )
255 CALL cunmql(
'R',
'N', 2, 1, 0, a, 1, x, af, 2, w, 1, info )
256 CALL chkxer(
'CUNMQL', infot, nout, lerr, ok )
262 CALL cunm2l(
'/',
'N', 0, 0, 0, a, 1, x, af, 1, w, info )
263 CALL chkxer(
'CUNM2L', infot, nout, lerr, ok )
265 CALL cunm2l(
'L',
'/', 0, 0, 0, a, 1, x, af, 1, w, info )
266 CALL chkxer(
'CUNM2L', infot, nout, lerr, ok )
268 CALL cunm2l(
'L',
'N', -1, 0, 0, a, 1, x, af, 1, w, info )
269 CALL chkxer(
'CUNM2L', infot, nout, lerr, ok )
271 CALL cunm2l(
'L',
'N', 0, -1, 0, a, 1, x, af, 1, w, info )
272 CALL chkxer(
'CUNM2L', infot, nout, lerr, ok )
274 CALL cunm2l(
'L',
'N', 0, 0, -1, a, 1, x, af, 1, w, info )
275 CALL chkxer(
'CUNM2L', infot, nout, lerr, ok )
277 CALL cunm2l(
'L',
'N', 0, 1, 1, a, 1, x, af, 1, w, info )
278 CALL chkxer(
'CUNM2L', infot, nout, lerr, ok )
280 CALL cunm2l(
'R',
'N', 1, 0, 1, a, 1, x, af, 1, w, info )
281 CALL chkxer(
'CUNM2L', infot, nout, lerr, ok )
283 CALL cunm2l(
'L',
'N', 2, 1, 0, a, 1, x, af, 2, w, info )
284 CALL chkxer(
'CUNM2L', infot, nout, lerr, ok )
286 CALL cunm2l(
'R',
'N', 1, 2, 0, a, 1, x, af, 1, w, info )
287 CALL chkxer(
'CUNM2L', infot, nout, lerr, ok )
289 CALL cunm2l(
'L',
'N', 2, 1, 0, a, 2, x, af, 1, w, info )
290 CALL chkxer(
'CUNM2L', infot, nout, lerr, ok )
294 CALL alaesm( path, ok, nout )
subroutine cgeqls(M, N, NRHS, A, LDA, TAU, B, LDB, WORK, LWORK, INFO)
CGEQLS
subroutine alaesm(PATH, OK, NOUT)
ALAESM
subroutine cunm2l(SIDE, TRANS, M, N, K, A, LDA, TAU, C, LDC, WORK, INFO)
CUNM2L multiplies a general matrix by the unitary matrix from a QL factorization determined by cgeqlf...
subroutine cgeqlf(M, N, A, LDA, TAU, WORK, LWORK, INFO)
CGEQLF
subroutine cung2l(M, N, K, A, LDA, TAU, WORK, INFO)
CUNG2L generates all or part of the unitary matrix Q from a QL factorization determined by cgeqlf (un...
subroutine chkxer(SRNAMT, INFOT, NOUT, LERR, OK)
subroutine cgeql2(M, N, A, LDA, TAU, WORK, INFO)
CGEQL2 computes the QL factorization of a general rectangular matrix using an unblocked algorithm...
subroutine cungql(M, N, K, A, LDA, TAU, WORK, LWORK, INFO)
CUNGQL
subroutine cunmql(SIDE, TRANS, M, N, K, A, LDA, TAU, C, LDC, WORK, LWORK, INFO)
CUNMQL