78 REAL A( NMAX, NMAX ), B( NMAX, NMAX ), S( NMAX ),
95 COMMON / infoc / infot, nout, ok, lerr
96 COMMON / srnamc / srnamt
101 WRITE( nout, fmt = * )
109 IF( lsamen( 2, c2,
'LS' ) )
THEN
117 CALL sgels(
'/', 0, 0, 0, a, 1, b, 1, w, 1, info )
118 CALL chkxer(
'SGELS ', infot, nout, lerr, ok )
120 CALL sgels(
'N', -1, 0, 0, a, 1, b, 1, w, 1, info )
121 CALL chkxer(
'SGELS ', infot, nout, lerr, ok )
123 CALL sgels(
'N', 0, -1, 0, a, 1, b, 1, w, 1, info )
124 CALL chkxer(
'SGELS ', infot, nout, lerr, ok )
126 CALL sgels(
'N', 0, 0, -1, a, 1, b, 1, w, 1, info )
127 CALL chkxer(
'SGELS ', infot, nout, lerr, ok )
129 CALL sgels(
'N', 2, 0, 0, a, 1, b, 2, w, 2, info )
130 CALL chkxer(
'SGELS ', infot, nout, lerr, ok )
132 CALL sgels(
'N', 2, 0, 0, a, 2, b, 1, w, 2, info )
133 CALL chkxer(
'SGELS ', infot, nout, lerr, ok )
135 CALL sgels(
'N', 0, 2, 0, a, 1, b, 1, w, 2, info )
136 CALL chkxer(
'DGELS', infot, nout, lerr, ok )
138 CALL sgels(
'N', 1, 1, 0, a, 1, b, 1, w, 1, info )
139 CALL chkxer(
'SGELS ', infot, nout, lerr, ok )
145 CALL sgelst(
'/', 0, 0, 0, a, 1, b, 1, w, 1, info )
146 CALL chkxer(
'SGELST', infot, nout, lerr, ok )
148 CALL sgelst(
'N', -1, 0, 0, a, 1, b, 1, w, 1, info )
149 CALL chkxer(
'SGELST', infot, nout, lerr, ok )
151 CALL sgelst(
'N', 0, -1, 0, a, 1, b, 1, w, 1, info )
152 CALL chkxer(
'SGELST', infot, nout, lerr, ok )
154 CALL sgelst(
'N', 0, 0, -1, a, 1, b, 1, w, 1, info )
155 CALL chkxer(
'SGELST', infot, nout, lerr, ok )
157 CALL sgelst(
'N', 2, 0, 0, a, 1, b, 2, w, 2, info )
158 CALL chkxer(
'SGELST', infot, nout, lerr, ok )
160 CALL sgelst(
'N', 2, 0, 0, a, 2, b, 1, w, 2, info )
161 CALL chkxer(
'SGELST', infot, nout, lerr, ok )
163 CALL sgelst(
'N', 0, 2, 0, a, 1, b, 1, w, 2, info )
164 CALL chkxer(
'SGELST', infot, nout, lerr, ok )
166 CALL sgelst(
'N', 1, 1, 0, a, 1, b, 1, w, 1, info )
167 CALL chkxer(
'SGELST', infot, nout, lerr, ok )
173 CALL sgetsls(
'/', 0, 0, 0, a, 1, b, 1, w, 1, info )
174 CALL chkxer(
'SGETSLS', infot, nout, lerr, ok )
176 CALL sgetsls(
'N', -1, 0, 0, a, 1, b, 1, w, 1, info )
177 CALL chkxer(
'SGETSLS', infot, nout, lerr, ok )
179 CALL sgetsls(
'N', 0, -1, 0, a, 1, b, 1, w, 1, info )
180 CALL chkxer(
'SGETSLS', infot, nout, lerr, ok )
182 CALL sgetsls(
'N', 0, 0, -1, a, 1, b, 1, w, 1, info )
183 CALL chkxer(
'SGETSLS', infot, nout, lerr, ok )
185 CALL sgetsls(
'N', 2, 0, 0, a, 1, b, 2, w, 2, info )
186 CALL chkxer(
'SGETSLS', infot, nout, lerr, ok )
188 CALL sgetsls(
'N', 2, 0, 0, a, 2, b, 1, w, 2, info )
189 CALL chkxer(
'SGETSLS', infot, nout, lerr, ok )
191 CALL sgetsls(
'N', 0, 2, 0, a, 1, b, 1, w, 2, info )
192 CALL chkxer(
'SGETSLS', infot, nout, lerr, ok )
198 CALL sgelss( -1, 0, 0, a, 1, b, 1, s, rcond, irnk, w, 1, info )
199 CALL chkxer(
'SGELSS', infot, nout, lerr, ok )
201 CALL sgelss( 0, -1, 0, a, 1, b, 1, s, rcond, irnk, w, 1, info )
202 CALL chkxer(
'SGELSS', infot, nout, lerr, ok )
204 CALL sgelss( 0, 0, -1, a, 1, b, 1, s, rcond, irnk, w, 1, info )
205 CALL chkxer(
'SGELSS', infot, nout, lerr, ok )
207 CALL sgelss( 2, 0, 0, a, 1, b, 2, s, rcond, irnk, w, 2, info )
208 CALL chkxer(
'SGELSS', infot, nout, lerr, ok )
210 CALL sgelss( 2, 0, 0, a, 2, b, 1, s, rcond, irnk, w, 2, info )
211 CALL chkxer(
'SGELSS', infot, nout, lerr, ok )
217 CALL sgelsy( -1, 0, 0, a, 1, b, 1, ip, rcond, irnk, w, 10,
219 CALL chkxer(
'SGELSY', infot, nout, lerr, ok )
221 CALL sgelsy( 0, -1, 0, a, 1, b, 1, ip, rcond, irnk, w, 10,
223 CALL chkxer(
'SGELSY', infot, nout, lerr, ok )
225 CALL sgelsy( 0, 0, -1, a, 1, b, 1, ip, rcond, irnk, w, 10,
227 CALL chkxer(
'SGELSY', infot, nout, lerr, ok )
229 CALL sgelsy( 2, 0, 0, a, 1, b, 2, ip, rcond, irnk, w, 10,
231 CALL chkxer(
'SGELSY', infot, nout, lerr, ok )
233 CALL sgelsy( 2, 0, 0, a, 2, b, 1, ip, rcond, irnk, w, 10,
235 CALL chkxer(
'SGELSY', infot, nout, lerr, ok )
237 CALL sgelsy( 2, 2, 1, a, 2, b, 2, ip, rcond, irnk, w, 1, info )
238 CALL chkxer(
'SGELSY', infot, nout, lerr, ok )
244 CALL sgelsd( -1, 0, 0, a, 1, b, 1, s, rcond, irnk, w, 10,
246 CALL chkxer(
'SGELSD', infot, nout, lerr, ok )
248 CALL sgelsd( 0, -1, 0, a, 1, b, 1, s, rcond, irnk, w, 10,
250 CALL chkxer(
'SGELSD', infot, nout, lerr, ok )
252 CALL sgelsd( 0, 0, -1, a, 1, b, 1, s, rcond, irnk, w, 10,
254 CALL chkxer(
'SGELSD', infot, nout, lerr, ok )
256 CALL sgelsd( 2, 0, 0, a, 1, b, 2, s, rcond, irnk, w, 10,
258 CALL chkxer(
'SGELSD', infot, nout, lerr, ok )
260 CALL sgelsd( 2, 0, 0, a, 2, b, 1, s, rcond, irnk, w, 10,
262 CALL chkxer(
'SGELSD', infot, nout, lerr, ok )
264 CALL sgelsd( 2, 2, 1, a, 2, b, 2, s, rcond, irnk, w, 1, ip,
266 CALL chkxer(
'SGELSD', infot, nout, lerr, ok )
271 CALL alaesm( path, ok, nout )
subroutine alaesm(path, ok, nout)
ALAESM
subroutine chkxer(srnamt, infot, nout, lerr, ok)
subroutine sgels(trans, m, n, nrhs, a, lda, b, ldb, work, lwork, info)
SGELS solves overdetermined or underdetermined systems for GE matrices
subroutine sgelsd(m, n, nrhs, a, lda, b, ldb, s, rcond, rank, work, lwork, iwork, info)
SGELSD computes the minimum-norm solution to a linear least squares problem for GE matrices
subroutine sgelss(m, n, nrhs, a, lda, b, ldb, s, rcond, rank, work, lwork, info)
SGELSS solves overdetermined or underdetermined systems for GE matrices
subroutine sgelst(trans, m, n, nrhs, a, lda, b, ldb, work, lwork, info)
SGELST solves overdetermined or underdetermined systems for GE matrices using QR or LQ factorization ...
subroutine sgelsy(m, n, nrhs, a, lda, b, ldb, jpvt, rcond, rank, work, lwork, info)
SGELSY solves overdetermined or underdetermined systems for GE matrices
subroutine sgetsls(trans, m, n, nrhs, a, lda, b, ldb, work, lwork, info)
SGETSLS
subroutine serrls(path, nunit)
SERRLS