74 DOUBLE PRECISION RCOND
78 DOUBLE PRECISION 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 dgels(
'/', 0, 0, 0, a, 1, b, 1, w, 1, info )
118 CALL chkxer(
'DGELS ', infot, nout, lerr, ok )
120 CALL dgels(
'N', -1, 0, 0, a, 1, b, 1, w, 1, info )
121 CALL chkxer(
'DGELS ', infot, nout, lerr, ok )
123 CALL dgels(
'N', 0, -1, 0, a, 1, b, 1, w, 1, info )
124 CALL chkxer(
'DGELS ', infot, nout, lerr, ok )
126 CALL dgels(
'N', 0, 0, -1, a, 1, b, 1, w, 1, info )
127 CALL chkxer(
'DGELS ', infot, nout, lerr, ok )
129 CALL dgels(
'N', 2, 0, 0, a, 1, b, 2, w, 2, info )
130 CALL chkxer(
'DGELS ', infot, nout, lerr, ok )
132 CALL dgels(
'N', 2, 0, 0, a, 2, b, 1, w, 2, info )
133 CALL chkxer(
'DGELS ', infot, nout, lerr, ok )
135 CALL dgels(
'N', 0, 2, 0, a, 1, b, 1, w, 2, info )
136 CALL chkxer(
'DGELS', infot, nout, lerr, ok )
138 CALL dgels(
'N', 1, 1, 0, a, 1, b, 1, w, 1, info )
139 CALL chkxer(
'DGELS ', infot, nout, lerr, ok )
145 CALL dgelst(
'/', 0, 0, 0, a, 1, b, 1, w, 1, info )
146 CALL chkxer(
'DGELST', infot, nout, lerr, ok )
148 CALL dgelst(
'N', -1, 0, 0, a, 1, b, 1, w, 1, info )
149 CALL chkxer(
'DGELST', infot, nout, lerr, ok )
151 CALL dgelst(
'N', 0, -1, 0, a, 1, b, 1, w, 1, info )
152 CALL chkxer(
'DGELST', infot, nout, lerr, ok )
154 CALL dgelst(
'N', 0, 0, -1, a, 1, b, 1, w, 1, info )
155 CALL chkxer(
'DGELST', infot, nout, lerr, ok )
157 CALL dgelst(
'N', 2, 0, 0, a, 1, b, 2, w, 2, info )
158 CALL chkxer(
'DGELST', infot, nout, lerr, ok )
160 CALL dgelst(
'N', 2, 0, 0, a, 2, b, 1, w, 2, info )
161 CALL chkxer(
'DGELST', infot, nout, lerr, ok )
163 CALL dgelst(
'N', 0, 2, 0, a, 1, b, 1, w, 2, info )
164 CALL chkxer(
'DGELST', infot, nout, lerr, ok )
166 CALL dgelst(
'N', 1, 1, 0, a, 1, b, 1, w, 1, info )
167 CALL chkxer(
'DGELST', infot, nout, lerr, ok )
173 CALL dgetsls(
'/', 0, 0, 0, a, 1, b, 1, w, 1, info )
174 CALL chkxer(
'DGETSLS', infot, nout, lerr, ok )
176 CALL dgetsls(
'N', -1, 0, 0, a, 1, b, 1, w, 1, info )
177 CALL chkxer(
'DGETSLS', infot, nout, lerr, ok )
179 CALL dgetsls(
'N', 0, -1, 0, a, 1, b, 1, w, 1, info )
180 CALL chkxer(
'DGETSLS', infot, nout, lerr, ok )
182 CALL dgetsls(
'N', 0, 0, -1, a, 1, b, 1, w, 1, info )
183 CALL chkxer(
'DGETSLS', infot, nout, lerr, ok )
185 CALL dgetsls(
'N', 2, 0, 0, a, 1, b, 2, w, 2, info )
186 CALL chkxer(
'DGETSLS', infot, nout, lerr, ok )
188 CALL dgetsls(
'N', 2, 0, 0, a, 2, b, 1, w, 2, info )
189 CALL chkxer(
'DGETSLS', infot, nout, lerr, ok )
191 CALL dgetsls(
'N', 0, 2, 0, a, 1, b, 1, w, 2, info )
192 CALL chkxer(
'DGETSLS', infot, nout, lerr, ok )
198 CALL dgelss( -1, 0, 0, a, 1, b, 1, s, rcond, irnk, w, 1, info )
199 CALL chkxer(
'DGELSS', infot, nout, lerr, ok )
201 CALL dgelss( 0, -1, 0, a, 1, b, 1, s, rcond, irnk, w, 1, info )
202 CALL chkxer(
'DGELSS', infot, nout, lerr, ok )
204 CALL dgelss( 0, 0, -1, a, 1, b, 1, s, rcond, irnk, w, 1, info )
205 CALL chkxer(
'DGELSS', infot, nout, lerr, ok )
207 CALL dgelss( 2, 0, 0, a, 1, b, 2, s, rcond, irnk, w, 2, info )
208 CALL chkxer(
'DGELSS', infot, nout, lerr, ok )
210 CALL dgelss( 2, 0, 0, a, 2, b, 1, s, rcond, irnk, w, 2, info )
211 CALL chkxer(
'DGELSS', infot, nout, lerr, ok )
217 CALL dgelsy( -1, 0, 0, a, 1, b, 1, ip, rcond, irnk, w, 10,
219 CALL chkxer(
'DGELSY', infot, nout, lerr, ok )
221 CALL dgelsy( 0, -1, 0, a, 1, b, 1, ip, rcond, irnk, w, 10,
223 CALL chkxer(
'DGELSY', infot, nout, lerr, ok )
225 CALL dgelsy( 0, 0, -1, a, 1, b, 1, ip, rcond, irnk, w, 10,
227 CALL chkxer(
'DGELSY', infot, nout, lerr, ok )
229 CALL dgelsy( 2, 0, 0, a, 1, b, 2, ip, rcond, irnk, w, 10,
231 CALL chkxer(
'DGELSY', infot, nout, lerr, ok )
233 CALL dgelsy( 2, 0, 0, a, 2, b, 1, ip, rcond, irnk, w, 10,
235 CALL chkxer(
'DGELSY', infot, nout, lerr, ok )
237 CALL dgelsy( 2, 2, 1, a, 2, b, 2, ip, rcond, irnk, w, 1, info )
238 CALL chkxer(
'DGELSY', infot, nout, lerr, ok )
244 CALL dgelsd( -1, 0, 0, a, 1, b, 1, s, rcond, irnk, w, 10, ip,
246 CALL chkxer(
'DGELSD', infot, nout, lerr, ok )
248 CALL dgelsd( 0, -1, 0, a, 1, b, 1, s, rcond, irnk, w, 10, ip,
250 CALL chkxer(
'DGELSD', infot, nout, lerr, ok )
252 CALL dgelsd( 0, 0, -1, a, 1, b, 1, s, rcond, irnk, w, 10, ip,
254 CALL chkxer(
'DGELSD', infot, nout, lerr, ok )
256 CALL dgelsd( 2, 0, 0, a, 1, b, 2, s, rcond, irnk, w, 10, ip,
258 CALL chkxer(
'DGELSD', infot, nout, lerr, ok )
260 CALL dgelsd( 2, 0, 0, a, 2, b, 1, s, rcond, irnk, w, 10, ip,
262 CALL chkxer(
'DGELSD', infot, nout, lerr, ok )
264 CALL dgelsd( 2, 2, 1, a, 2, b, 2, s, rcond, irnk, w, 1, ip,
266 CALL chkxer(
'DGELSD', infot, nout, lerr, ok )
271 CALL alaesm( path, ok, nout )
subroutine alaesm(path, ok, nout)
ALAESM
subroutine chkxer(srnamt, infot, nout, lerr, ok)
subroutine derrls(path, nunit)
DERRLS
subroutine dgels(trans, m, n, nrhs, a, lda, b, ldb, work, lwork, info)
DGELS solves overdetermined or underdetermined systems for GE matrices
subroutine dgelsd(m, n, nrhs, a, lda, b, ldb, s, rcond, rank, work, lwork, iwork, info)
DGELSD computes the minimum-norm solution to a linear least squares problem for GE matrices
subroutine dgelss(m, n, nrhs, a, lda, b, ldb, s, rcond, rank, work, lwork, info)
DGELSS solves overdetermined or underdetermined systems for GE matrices
subroutine dgelst(trans, m, n, nrhs, a, lda, b, ldb, work, lwork, info)
DGELST solves overdetermined or underdetermined systems for GE matrices using QR or LQ factorization ...
subroutine dgelsy(m, n, nrhs, a, lda, b, ldb, jpvt, rcond, rank, work, lwork, info)
DGELSY solves overdetermined or underdetermined systems for GE matrices
subroutine dgetsls(trans, m, n, nrhs, a, lda, b, ldb, work, lwork, info)
DGETSLS