149 SUBROUTINE zlsets( 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 RESULT( 2 ), RWORK( * )
164 COMPLEX*16 A( LDA, * ), AF( LDA, * ), B( LDB, * ),
165 $ bf( ldb, * ), c( * ), cf( * ), d( * ), df( * ),
166 $ work( lwork ), x( * )
179 CALL zlacpy(
'Full', m, n, a, lda, af, lda )
180 CALL zlacpy(
'Full', p, n, b, ldb, bf, ldb )
181 CALL zcopy( m, c, 1, cf, 1 )
182 CALL zcopy( p, d, 1, df, 1 )
186 CALL zgglse( m, n, p, af, lda, bf, ldb, cf, df, x, work, lwork,
193 CALL zcopy( m, c, 1, cf, 1 )
194 CALL zcopy( p, d, 1, df, 1 )
195 CALL zget02(
'No transpose', m, n, 1, a, lda, x, n, cf, m, rwork,
200 CALL zget02(
'No transpose', p, n, 1, b, ldb, x, n, df, p, rwork,
subroutine zget02(trans, m, n, nrhs, a, lda, x, ldx, b, ldb, rwork, resid)
ZGET02
subroutine zcopy(n, zx, incx, zy, incy)
ZCOPY
subroutine zgglse(m, n, p, a, lda, b, ldb, c, d, x, work, lwork, info)
ZGGLSE solves overdetermined or underdetermined systems for OTHER matrices
subroutine zlacpy(uplo, m, n, a, lda, b, ldb)
ZLACPY copies all or part of one two-dimensional array to another.
subroutine zlsets(m, p, n, a, af, lda, b, bf, ldb, c, cf, d, df, x, work, lwork, rwork, result)
ZLSETS