75 COMPLEX A( NMAX, NMAX ), AF( NMAX, NMAX ), B( NMAX ),
76 $ W( NMAX ), X( NMAX )
88 COMMON / infoc / infot, nout, ok, lerr
89 COMMON / srnamc / srnamt
97 WRITE( nout, fmt = * )
103 a( i, j ) = cmplx( 1. / real( i+j ), -1. / real( i+j ) )
104 af( i, j ) = cmplx( 1. / real( i+j ), -1. / real( i+j ) )
118 CALL cgelqf( -1, 0, a, 1, b, w, 1, info )
119 CALL chkxer(
'CGELQF', infot, nout, lerr, ok )
121 CALL cgelqf( 0, -1, a, 1, b, w, 1, info )
122 CALL chkxer(
'CGELQF', infot, nout, lerr, ok )
124 CALL cgelqf( 2, 1, a, 1, b, w, 2, info )
125 CALL chkxer(
'CGELQF', infot, nout, lerr, ok )
127 CALL cgelqf( 2, 1, a, 2, b, w, 1, info )
128 CALL chkxer(
'CGELQF', infot, nout, lerr, ok )
134 CALL cgelq2( -1, 0, a, 1, b, w, info )
135 CALL chkxer(
'CGELQ2', infot, nout, lerr, ok )
137 CALL cgelq2( 0, -1, a, 1, b, w, info )
138 CALL chkxer(
'CGELQ2', infot, nout, lerr, ok )
140 CALL cgelq2( 2, 1, a, 1, b, w, info )
141 CALL chkxer(
'CGELQ2', infot, nout, lerr, ok )
147 CALL cunglq( -1, 0, 0, a, 1, x, w, 1, info )
148 CALL chkxer(
'CUNGLQ', infot, nout, lerr, ok )
150 CALL cunglq( 0, -1, 0, a, 1, x, w, 1, info )
151 CALL chkxer(
'CUNGLQ', infot, nout, lerr, ok )
153 CALL cunglq( 2, 1, 0, a, 2, x, w, 2, info )
154 CALL chkxer(
'CUNGLQ', infot, nout, lerr, ok )
156 CALL cunglq( 0, 0, -1, a, 1, x, w, 1, info )
157 CALL chkxer(
'CUNGLQ', infot, nout, lerr, ok )
159 CALL cunglq( 1, 1, 2, a, 1, x, w, 1, info )
160 CALL chkxer(
'CUNGLQ', infot, nout, lerr, ok )
162 CALL cunglq( 2, 2, 0, a, 1, x, w, 2, info )
163 CALL chkxer(
'CUNGLQ', infot, nout, lerr, ok )
165 CALL cunglq( 2, 2, 0, a, 2, x, w, 1, info )
166 CALL chkxer(
'CUNGLQ', infot, nout, lerr, ok )
172 CALL cungl2( -1, 0, 0, a, 1, x, w, info )
173 CALL chkxer(
'CUNGL2', infot, nout, lerr, ok )
175 CALL cungl2( 0, -1, 0, a, 1, x, w, info )
176 CALL chkxer(
'CUNGL2', infot, nout, lerr, ok )
178 CALL cungl2( 2, 1, 0, a, 2, x, w, info )
179 CALL chkxer(
'CUNGL2', infot, nout, lerr, ok )
181 CALL cungl2( 0, 0, -1, a, 1, x, w, info )
182 CALL chkxer(
'CUNGL2', infot, nout, lerr, ok )
184 CALL cungl2( 1, 1, 2, a, 1, x, w, info )
185 CALL chkxer(
'CUNGL2', infot, nout, lerr, ok )
187 CALL cungl2( 2, 2, 0, a, 1, x, w, info )
188 CALL chkxer(
'CUNGL2', infot, nout, lerr, ok )
194 CALL cunmlq(
'/',
'N', 0, 0, 0, a, 1, x, af, 1, w, 1, info )
195 CALL chkxer(
'CUNMLQ', infot, nout, lerr, ok )
197 CALL cunmlq(
'L',
'/', 0, 0, 0, a, 1, x, af, 1, w, 1, info )
198 CALL chkxer(
'CUNMLQ', infot, nout, lerr, ok )
200 CALL cunmlq(
'L',
'N', -1, 0, 0, a, 1, x, af, 1, w, 1, info )
201 CALL chkxer(
'CUNMLQ', infot, nout, lerr, ok )
203 CALL cunmlq(
'L',
'N', 0, -1, 0, a, 1, x, af, 1, w, 1, info )
204 CALL chkxer(
'CUNMLQ', infot, nout, lerr, ok )
206 CALL cunmlq(
'L',
'N', 0, 0, -1, a, 1, x, af, 1, w, 1, info )
207 CALL chkxer(
'CUNMLQ', infot, nout, lerr, ok )
209 CALL cunmlq(
'L',
'N', 0, 1, 1, a, 1, x, af, 1, w, 1, info )
210 CALL chkxer(
'CUNMLQ', infot, nout, lerr, ok )
212 CALL cunmlq(
'R',
'N', 1, 0, 1, a, 1, x, af, 1, w, 1, info )
213 CALL chkxer(
'CUNMLQ', infot, nout, lerr, ok )
215 CALL cunmlq(
'L',
'N', 2, 0, 2, a, 1, x, af, 2, w, 1, info )
216 CALL chkxer(
'CUNMLQ', infot, nout, lerr, ok )
218 CALL cunmlq(
'R',
'N', 0, 2, 2, a, 1, x, af, 1, w, 1, info )
219 CALL chkxer(
'CUNMLQ', infot, nout, lerr, ok )
221 CALL cunmlq(
'L',
'N', 2, 1, 0, a, 2, x, af, 1, w, 1, info )
222 CALL chkxer(
'CUNMLQ', infot, nout, lerr, ok )
224 CALL cunmlq(
'L',
'N', 1, 2, 0, a, 1, x, af, 1, w, 1, info )
225 CALL chkxer(
'CUNMLQ', infot, nout, lerr, ok )
227 CALL cunmlq(
'R',
'N', 2, 1, 0, a, 1, x, af, 2, w, 1, info )
228 CALL chkxer(
'CUNMLQ', infot, nout, lerr, ok )
234 CALL cunml2(
'/',
'N', 0, 0, 0, a, 1, x, af, 1, w, info )
235 CALL chkxer(
'CUNML2', infot, nout, lerr, ok )
237 CALL cunml2(
'L',
'/', 0, 0, 0, a, 1, x, af, 1, w, info )
238 CALL chkxer(
'CUNML2', infot, nout, lerr, ok )
240 CALL cunml2(
'L',
'N', -1, 0, 0, a, 1, x, af, 1, w, info )
241 CALL chkxer(
'CUNML2', infot, nout, lerr, ok )
243 CALL cunml2(
'L',
'N', 0, -1, 0, a, 1, x, af, 1, w, info )
244 CALL chkxer(
'CUNML2', infot, nout, lerr, ok )
246 CALL cunml2(
'L',
'N', 0, 0, -1, a, 1, x, af, 1, w, info )
247 CALL chkxer(
'CUNML2', infot, nout, lerr, ok )
249 CALL cunml2(
'L',
'N', 0, 1, 1, a, 1, x, af, 1, w, info )
250 CALL chkxer(
'CUNML2', infot, nout, lerr, ok )
252 CALL cunml2(
'R',
'N', 1, 0, 1, a, 1, x, af, 1, w, info )
253 CALL chkxer(
'CUNML2', infot, nout, lerr, ok )
255 CALL cunml2(
'L',
'N', 2, 1, 2, a, 1, x, af, 2, w, info )
256 CALL chkxer(
'CUNML2', infot, nout, lerr, ok )
258 CALL cunml2(
'R',
'N', 1, 2, 2, a, 1, x, af, 1, w, info )
259 CALL chkxer(
'CUNML2', infot, nout, lerr, ok )
261 CALL cunml2(
'L',
'N', 2, 1, 0, a, 2, x, af, 1, w, info )
262 CALL chkxer(
'CUNML2', infot, nout, lerr, ok )
266 CALL alaesm( path, ok, nout )
subroutine alaesm(path, ok, nout)
ALAESM
subroutine chkxer(srnamt, infot, nout, lerr, ok)
subroutine cerrlq(path, nunit)
CERRLQ
subroutine cgelq2(m, n, a, lda, tau, work, info)
CGELQ2 computes the LQ factorization of a general rectangular matrix using an unblocked algorithm.
subroutine cgelqf(m, n, a, lda, tau, work, lwork, info)
CGELQF
subroutine cungl2(m, n, k, a, lda, tau, work, info)
CUNGL2 generates all or part of the unitary matrix Q from an LQ factorization determined by cgelqf (u...
subroutine cunglq(m, n, k, a, lda, tau, work, lwork, info)
CUNGLQ
subroutine cunml2(side, trans, m, n, k, a, lda, tau, c, ldc, work, info)
CUNML2 multiplies a general matrix by the unitary matrix from a LQ factorization determined by cgelqf...
subroutine cunmlq(side, trans, m, n, k, a, lda, tau, c, ldc, work, lwork, info)
CUNMLQ