78 REAL A( NMAX, NMAX ), B( NMAX, NMAX ), S( NMAX ),
94 COMMON / infoc / infot, nout, ok, lerr
95 COMMON / srnamc / srnamt
100 WRITE( nout, fmt = * )
108 IF( lsamen( 2, c2,
'LS' ) )
THEN
116 CALL sgels(
'/', 0, 0, 0, a, 1, b, 1, w, 1, info )
117 CALL chkxer(
'SGELS ', infot, nout, lerr, ok )
119 CALL sgels(
'N', -1, 0, 0, a, 1, b, 1, w, 1, info )
120 CALL chkxer(
'SGELS ', infot, nout, lerr, ok )
122 CALL sgels(
'N', 0, -1, 0, a, 1, b, 1, w, 1, info )
123 CALL chkxer(
'SGELS ', infot, nout, lerr, ok )
125 CALL sgels(
'N', 0, 0, -1, a, 1, b, 1, w, 1, info )
126 CALL chkxer(
'SGELS ', infot, nout, lerr, ok )
128 CALL sgels(
'N', 2, 0, 0, a, 1, b, 2, w, 2, info )
129 CALL chkxer(
'SGELS ', infot, nout, lerr, ok )
131 CALL sgels(
'N', 2, 0, 0, a, 2, b, 1, w, 2, info )
132 CALL chkxer(
'SGELS ', infot, nout, lerr, ok )
134 CALL sgels(
'N', 1, 1, 0, a, 1, b, 1, w, 1, info )
135 CALL chkxer(
'SGELS ', infot, nout, lerr, ok )
141 CALL sgelss( -1, 0, 0, a, 1, b, 1, s, rcond, irnk, w, 1, info )
142 CALL chkxer(
'SGELSS', infot, nout, lerr, ok )
144 CALL sgelss( 0, -1, 0, a, 1, b, 1, s, rcond, irnk, w, 1, info )
145 CALL chkxer(
'SGELSS', infot, nout, lerr, ok )
147 CALL sgelss( 0, 0, -1, a, 1, b, 1, s, rcond, irnk, w, 1, info )
148 CALL chkxer(
'SGELSS', infot, nout, lerr, ok )
150 CALL sgelss( 2, 0, 0, a, 1, b, 2, s, rcond, irnk, w, 2, info )
151 CALL chkxer(
'SGELSS', infot, nout, lerr, ok )
153 CALL sgelss( 2, 0, 0, a, 2, b, 1, s, rcond, irnk, w, 2, info )
154 CALL chkxer(
'SGELSS', infot, nout, lerr, ok )
160 CALL sgelsy( -1, 0, 0, a, 1, b, 1, ip, rcond, irnk, w, 10,
162 CALL chkxer(
'SGELSY', infot, nout, lerr, ok )
164 CALL sgelsy( 0, -1, 0, a, 1, b, 1, ip, rcond, irnk, w, 10,
166 CALL chkxer(
'SGELSY', infot, nout, lerr, ok )
168 CALL sgelsy( 0, 0, -1, a, 1, b, 1, ip, rcond, irnk, w, 10,
170 CALL chkxer(
'SGELSY', infot, nout, lerr, ok )
172 CALL sgelsy( 2, 0, 0, a, 1, b, 2, ip, rcond, irnk, w, 10,
174 CALL chkxer(
'SGELSY', infot, nout, lerr, ok )
176 CALL sgelsy( 2, 0, 0, a, 2, b, 1, ip, rcond, irnk, w, 10,
178 CALL chkxer(
'SGELSY', infot, nout, lerr, ok )
180 CALL sgelsy( 2, 2, 1, a, 2, b, 2, ip, rcond, irnk, w, 1, info )
187 CALL SGELSD( -1, 0, 0, A, 1, B, 1, S, RCOND, IRNK, W, 10,
189 CALL CHKXER( 'sgelsd', INFOT, NOUT, LERR, OK )
191 CALL SGELSD( 0, -1, 0, A, 1, B, 1, S, RCOND, IRNK, W, 10,
193 CALL CHKXER( 'sgelsd', INFOT, NOUT, LERR, OK )
195 CALL SGELSD( 0, 0, -1, A, 1, B, 1, S, RCOND, IRNK, W, 10,
197 CALL CHKXER( 'sgelsd', INFOT, NOUT, LERR, OK )
199 CALL SGELSD( 2, 0, 0, A, 1, B, 2, S, RCOND, IRNK, W, 10,
201 CALL CHKXER( 'sgelsd', INFOT, NOUT, LERR, OK )
203 CALL SGELSD( 2, 0, 0, A, 2, B, 1, S, RCOND, IRNK, W, 10,
205 CALL CHKXER( 'sgelsd', INFOT, NOUT, LERR, OK )
207 CALL SGELSD( 2, 2, 1, A, 2, B, 2, S, RCOND, IRNK, W, 1, IP,
209 CALL CHKXER( 'sgelsd', INFOT, NOUT, LERR, OK )
214 CALL ALAESM( PATH, OK, NOUT )