GETSLS: solves overdetermined or underdetermined complex linear systems involving an M-by-N matrix A, using a tall skinny QR or short wide LQ factorization of A. It is assumed that A has full rank. The following options are provided:
More...
|
subroutine | cgetsls (trans, m, n, nrhs, a, lda, b, ldb, work, lwork, info) |
|
| la_cgetsls |
|
subroutine | dgetsls (trans, m, n, nrhs, a, lda, b, ldb, work, lwork, info) |
|
| la_dgetsls |
|
| la_qgetsls |
|
subroutine | sgetsls (trans, m, n, nrhs, a, lda, b, ldb, work, lwork, info) |
|
| la_sgetsls |
|
| la_wgetsls |
|
subroutine | zgetsls (trans, m, n, nrhs, a, lda, b, ldb, work, lwork, info) |
|
| la_zgetsls |
|
GETSLS: solves overdetermined or underdetermined complex linear systems involving an M-by-N matrix A, using a tall skinny QR or short wide LQ factorization of A. It is assumed that A has full rank. The following options are provided:
- If TRANS = 'N' and m >= n: find the least squares solution of an overdetermined system, i.e., solve the least squares problem minimize || B - A*X ||.
- If TRANS = 'N' and m < n: find the minimum norm solution of an underdetermined system A * X = B.
- If TRANS = 'C' and m >= n: find the minimum norm solution of an undetermined system A**T * X = B.
- If TRANS = 'C' and m < n: find the least squares solution of an overdetermined system, i.e., solve the least squares problem minimize || B - A**T * X ||. Several right hand side vectors b and solution vectors x can be handled in a single call; they are stored as the columns of the M-by-NRHS right hand side matrix B and the N-by-NRHS solution matrix X.
◆ cgetsls()
subroutine la_lapack::getsls::cgetsls |
( |
character, intent(in) |
trans, |
|
|
integer(ilp), intent(in) |
m, |
|
|
integer(ilp), intent(in) |
n, |
|
|
integer(ilp), intent(in) |
nrhs, |
|
|
complex(sp), dimension(lda,*), intent(inout) |
a, |
|
|
integer(ilp), intent(in) |
lda, |
|
|
complex(sp), dimension(ldb,*), intent(inout) |
b, |
|
|
integer(ilp), intent(in) |
ldb, |
|
|
complex(sp), dimension(*), intent(out) |
work, |
|
|
integer(ilp), intent(in) |
lwork, |
|
|
integer(ilp), intent(out) |
info |
|
) |
| |
◆ dgetsls()
subroutine la_lapack::getsls::dgetsls |
( |
character, intent(in) |
trans, |
|
|
integer(ilp), intent(in) |
m, |
|
|
integer(ilp), intent(in) |
n, |
|
|
integer(ilp), intent(in) |
nrhs, |
|
|
real(dp), dimension(lda,*), intent(inout) |
a, |
|
|
integer(ilp), intent(in) |
lda, |
|
|
real(dp), dimension(ldb,*), intent(inout) |
b, |
|
|
integer(ilp), intent(in) |
ldb, |
|
|
real(dp), dimension(*), intent(out) |
work, |
|
|
integer(ilp), intent(in) |
lwork, |
|
|
integer(ilp), intent(out) |
info |
|
) |
| |
◆ la_cgetsls()
la_lapack::getsls::la_cgetsls |
◆ la_dgetsls()
la_lapack::getsls::la_dgetsls |
◆ la_qgetsls()
la_lapack::getsls::la_qgetsls |
◆ la_sgetsls()
la_lapack::getsls::la_sgetsls |
◆ la_wgetsls()
la_lapack::getsls::la_wgetsls |
◆ la_zgetsls()
la_lapack::getsls::la_zgetsls |
◆ sgetsls()
subroutine la_lapack::getsls::sgetsls |
( |
character, intent(in) |
trans, |
|
|
integer(ilp), intent(in) |
m, |
|
|
integer(ilp), intent(in) |
n, |
|
|
integer(ilp), intent(in) |
nrhs, |
|
|
real(sp), dimension(lda,*), intent(inout) |
a, |
|
|
integer(ilp), intent(in) |
lda, |
|
|
real(sp), dimension(ldb,*), intent(inout) |
b, |
|
|
integer(ilp), intent(in) |
ldb, |
|
|
real(sp), dimension(*), intent(out) |
work, |
|
|
integer(ilp), intent(in) |
lwork, |
|
|
integer(ilp), intent(out) |
info |
|
) |
| |
◆ zgetsls()
subroutine la_lapack::getsls::zgetsls |
( |
character, intent(in) |
trans, |
|
|
integer(ilp), intent(in) |
m, |
|
|
integer(ilp), intent(in) |
n, |
|
|
integer(ilp), intent(in) |
nrhs, |
|
|
complex(dp), dimension(lda,*), intent(inout) |
a, |
|
|
integer(ilp), intent(in) |
lda, |
|
|
complex(dp), dimension(ldb,*), intent(inout) |
b, |
|
|
integer(ilp), intent(in) |
ldb, |
|
|
complex(dp), dimension(*), intent(out) |
work, |
|
|
integer(ilp), intent(in) |
lwork, |
|
|
integer(ilp), intent(out) |
info |
|
) |
| |
The documentation for this interface was generated from the following file: