GELS: solves overdetermined or underdetermined complex linear systems involving an M-by-N matrix A, or its conjugate-transpose, using a QR or LQ factorization of A. It is assumed that A has full rank. The following options are provided:
More...
GELS: solves overdetermined or underdetermined complex linear systems involving an M-by-N matrix A, or its conjugate-transpose, using a QR or 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 underdetermined system A**H * 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**H * 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.
◆ la_cgels()
| la_lapack::gels::la_cgels |
◆ la_dgels()
| la_lapack::gels::la_dgels |
◆ la_qgels()
| la_lapack::gels::la_qgels |
◆ la_sgels()
| la_lapack::gels::la_sgels |
◆ la_wgels()
| la_lapack::gels::la_wgels |
◆ la_zgels()
| la_lapack::gels::la_zgels |
The documentation for this interface was generated from the following file: