73 INTEGER I, INFO, J, 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.d0 / real( i+j )
105 c( i, j ) = 1.d0 / real( i+j )
106 t( i, j ) = 1.d0 / 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 )
142 CALL sgemqr(
'/',
'N', 0, 0, 0, a, 1, tau, 1, c, 1, w, 1,info)
143 CALL chkxer(
'SGEMQR', infot, nout, lerr, ok )
145 CALL sgemqr(
'L',
'/', 0, 0, 0, a, 1, tau, 1, c, 1, w, 1,info)
146 CALL chkxer(
'SGEMQR', infot, nout, lerr, ok )
148 CALL sgemqr(
'L',
'N', -1, 0, 0, a, 1, tau, 1, c, 1, w,1,info)
149 CALL chkxer(
'SGEMQR', infot, nout, lerr, ok )
151 CALL sgemqr(
'L',
'N', 0, -1, 0, a, 1, tau, 1, c, 1, w,1,info)
152 CALL chkxer(
'SGEMQR', infot, nout, lerr, ok )
154 CALL sgemqr(
'L',
'N', 0, 0, -1, a, 1, tau, 1, c, 1, w,1,info)
155 CALL chkxer(
'SGEMQR', infot, nout, lerr, ok )
157 CALL sgemqr(
'R',
'N', 0, 0, -1, a, 1, tau, 1, c, 1, w,1,info)
158 CALL chkxer(
'SGEMQR', infot, nout, lerr, ok )
160 CALL sgemqr(
'L',
'N', 2, 1, 0, a, 0, tau, 1, c, 1, w, 1,info)
161 CALL chkxer(
'SGEMQR', infot, nout, lerr, ok )
163 CALL sgemqr(
'R',
'N', 2, 2, 1, a, 2, tau, 0, c, 1, w, 1,info)
164 CALL chkxer(
'SGEMQR', infot, nout, lerr, ok )
166 CALL sgemqr(
'L',
'N', 2, 2, 1, a, 2, tau, 0, c, 1, w, 1,info)
167 CALL chkxer(
'SGEMQR', infot, nout, lerr, ok )
169 CALL sgemqr(
'L',
'N', 2, 1, 1, a, 2, tau, 6, c, 0, w, 1,info)
170 CALL chkxer(
'SGEMQR', infot, nout, lerr, ok )
172 CALL sgemqr(
'L',
'N', 2, 2, 1, a, 2, tau, 6, c, 2, w, 0,info)
173 CALL chkxer(
'SGEMQR', infot, nout, lerr, ok )
179 CALL sgelq( -1, 0, a, 1, tau, 1, w, 1, info )
180 CALL chkxer(
'SGELQ', infot, nout, lerr, ok )
182 CALL sgelq( 0, -1, a, 1, tau, 1, w, 1, info )
183 CALL chkxer(
'SGELQ', infot, nout, lerr, ok )
185 CALL sgelq( 1, 1, a, 0, tau, 1, w, 1, info )
186 CALL chkxer(
'SGELQ', infot, nout, lerr, ok )
188 CALL sgelq( 2, 3, a, 3, tau, 1, w, 1, info )
189 CALL chkxer(
'SGELQ', infot, nout, lerr, ok )
191 CALL sgelq( 2, 3, a, 3, tau, 7, w, 0, info )
192 CALL chkxer(
'SGELQ', infot, nout, lerr, ok )
201 CALL sgemlq(
'/',
'N', 0, 0, 0, a, 1, tau, 1, c, 1, w, 1,info)
202 CALL chkxer(
'SGEMLQ', infot, nout, lerr, ok )
204 CALL sgemlq(
'L',
'/', 0, 0, 0, a, 1, tau, 1, c, 1, w, 1,info)
205 CALL chkxer(
'SGEMLQ', infot, nout, lerr, ok )
207 CALL sgemlq(
'L',
'N', -1, 0, 0, a, 1, tau, 1, c, 1, w,1,info)
208 CALL chkxer(
'SGEMLQ', infot, nout, lerr, ok )
210 CALL sgemlq(
'L',
'N', 0, -1, 0, a, 1, tau, 1, c, 1, w,1,info)
211 CALL chkxer(
'SGEMLQ', infot, nout, lerr, ok )
213 CALL sgemlq(
'L',
'N', 0, 0, -1, a, 1, tau, 1, c, 1, w,1,info)
214 CALL chkxer(
'SGEMLQ', infot, nout, lerr, ok )
216 CALL sgemlq(
'R',
'N', 0, 0, -1, a, 1, tau, 1, c, 1, w,1,info)
217 CALL chkxer(
'SGEMLQ', infot, nout, lerr, ok )
219 CALL sgemlq(
'L',
'N', 1, 2, 0, a, 0, tau, 1, c, 1, w, 1,info)
220 CALL chkxer(
'SGEMLQ', infot, nout, lerr, ok )
222 CALL sgemlq(
'R',
'N', 2, 2, 1, a, 1, tau, 0, c, 1, w, 1,info)
223 CALL chkxer(
'SGEMLQ', infot, nout, lerr, ok )
225 CALL sgemlq(
'L',
'N', 2, 2, 1, a, 1, tau, 0, c, 1, w, 1,info)
226 CALL chkxer(
'SGEMLQ', infot, nout, lerr, ok )
228 CALL sgemlq(
'L',
'N', 1, 2, 1, a, 1, tau, 6, c, 0, w, 1,info)
229 CALL chkxer(
'SGEMLQ', infot, nout, lerr, ok )
231 CALL sgemlq(
'L',
'N', 2, 2, 1, a, 2, tau, 6, c, 2, w, 0,info)
232 CALL chkxer(
'SGEMLQ', infot, nout, lerr, ok )
236 CALL alaesm( path, ok, nout )
subroutine chkxer(SRNAMT, INFOT, NOUT, LERR, OK)
subroutine alaesm(PATH, OK, NOUT)
ALAESM
subroutine sgelq(M, N, A, LDA, T, TSIZE, WORK, LWORK, INFO)
SGELQ
subroutine sgemlq(SIDE, TRANS, M, N, K, A, LDA, T, TSIZE, C, LDC, WORK, LWORK, INFO)
SGEMLQ
subroutine sgemqr(SIDE, TRANS, M, N, K, A, LDA, T, TSIZE, C, LDC, WORK, LWORK, INFO)
SGEMQR
subroutine sgeqr(M, N, A, LDA, T, TSIZE, WORK, LWORK, INFO)
SGEQR