fortran-lapack
Loading...
Searching...
No Matches
la_lapack::getsls Interface Reference

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...

Public Member Functions

 la_cgetsls
 
 la_dgetsls
 
 la_qgetsls
 
 la_sgetsls
 
 la_wgetsls
 
 la_zgetsls
 

Detailed Description

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:

  1. 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 ||.
  2. If TRANS = 'N' and m < n: find the minimum norm solution of an underdetermined system A * X = B.
  3. If TRANS = 'C' and m >= n: find the minimum norm solution of an undetermined system A**T * X = B.
  4. 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.

Member Function/Subroutine Documentation

◆ 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

The documentation for this interface was generated from the following file: