149 SUBROUTINE dlsets( M, P, N, A, AF, LDA, B, BF, LDB, C, CF, D, DF,
150 $ X, WORK, LWORK, RWORK, RESULT )
157 INTEGER LDA, LDB, LWORK, M, N, P
163 DOUBLE PRECISION A( LDA, * ), AF( LDA, * ), B( LDB, * ),
164 $ bf( ldb, * ), c( * ), cf( * ), d( * ), df( * ),
165 $ result( 2 ), rwork( * ), work( lwork ), x( * )
178 CALL dlacpy(
'Full', m, n, a, lda, af, lda )
179 CALL dlacpy(
'Full', p, n, b, ldb, bf, ldb )
180 CALL dcopy( m, c, 1, cf, 1 )
181 CALL dcopy( p, d, 1, df, 1 )
185 CALL dgglse( m, n, p, af, lda, bf, ldb, cf, df, x, work, lwork,
192 CALL dcopy( m, c, 1, cf, 1 )
193 CALL dcopy( p, d, 1, df, 1 )
194 CALL dget02(
'No transpose', m, n, 1, a, lda, x, n, cf, m, rwork,
199 CALL dget02(
'No transpose', p, n, 1, b, ldb, x, n, df, p, rwork,
subroutine dget02(trans, m, n, nrhs, a, lda, x, ldx, b, ldb, rwork, resid)
DGET02
subroutine dlsets(m, p, n, a, af, lda, b, bf, ldb, c, cf, d, df, x, work, lwork, rwork, result)
DLSETS
subroutine dcopy(n, dx, incx, dy, incy)
DCOPY
subroutine dgglse(m, n, p, a, lda, b, ldb, c, d, x, work, lwork, info)
DGGLSE solves overdetermined or underdetermined systems for OTHER matrices
subroutine dlacpy(uplo, m, n, a, lda, b, ldb)
DLACPY copies all or part of one two-dimensional array to another.