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

GELSS: computes the minimum norm solution to a complex linear least squares problem: Minimize 2-norm(| b - A*x |). using the singular value decomposition (SVD) of A. A is an M-by-N matrix which may be rank-deficient. 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. The effective rank of A is determined by treating as zero those singular values which are less than RCOND times the largest singular value. More...

Public Member Functions

subroutine cgelss (m, n, nrhs, a, lda, b, ldb, s, rcond, rank, work, lwork, rwork, info)
 
 la_cgelss
 
subroutine dgelss (m, n, nrhs, a, lda, b, ldb, s, rcond, rank, work, lwork, info)
 
 la_dgelss
 
 la_qgelss
 
subroutine sgelss (m, n, nrhs, a, lda, b, ldb, s, rcond, rank, work, lwork, info)
 
 la_sgelss
 
 la_wgelss
 
subroutine zgelss (m, n, nrhs, a, lda, b, ldb, s, rcond, rank, work, lwork, rwork, info)
 
 la_zgelss
 

Detailed Description

GELSS: computes the minimum norm solution to a complex linear least squares problem: Minimize 2-norm(| b - A*x |). using the singular value decomposition (SVD) of A. A is an M-by-N matrix which may be rank-deficient. 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. The effective rank of A is determined by treating as zero those singular values which are less than RCOND times the largest singular value.

Member Function/Subroutine Documentation

◆ cgelss()

subroutine la_lapack::gelss::cgelss ( 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,
real(sp), dimension(*), intent(out)  s,
real(sp), intent(in)  rcond,
integer(ilp), intent(out)  rank,
complex(sp), dimension(*), intent(out)  work,
integer(ilp), intent(in)  lwork,
real(sp), dimension(*), intent(out)  rwork,
integer(ilp), intent(out)  info 
)
Here is the call graph for this function:

◆ dgelss()

subroutine la_lapack::gelss::dgelss ( 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)  s,
real(dp), intent(in)  rcond,
integer(ilp), intent(out)  rank,
real(dp), dimension(*), intent(out)  work,
integer(ilp), intent(in)  lwork,
integer(ilp), intent(out)  info 
)
Here is the call graph for this function:

◆ la_cgelss()

la_lapack::gelss::la_cgelss

◆ la_dgelss()

la_lapack::gelss::la_dgelss

◆ la_qgelss()

la_lapack::gelss::la_qgelss

◆ la_sgelss()

la_lapack::gelss::la_sgelss

◆ la_wgelss()

la_lapack::gelss::la_wgelss

◆ la_zgelss()

la_lapack::gelss::la_zgelss

◆ sgelss()

subroutine la_lapack::gelss::sgelss ( 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)  s,
real(sp), intent(in)  rcond,
integer(ilp), intent(out)  rank,
real(sp), dimension(*), intent(out)  work,
integer(ilp), intent(in)  lwork,
integer(ilp), intent(out)  info 
)
Here is the call graph for this function:

◆ zgelss()

subroutine la_lapack::gelss::zgelss ( 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,
real(dp), dimension(*), intent(out)  s,
real(dp), intent(in)  rcond,
integer(ilp), intent(out)  rank,
complex(dp), dimension(*), intent(out)  work,
integer(ilp), intent(in)  lwork,
real(dp), dimension(*), intent(out)  rwork,
integer(ilp), intent(out)  info 
)
Here is the call graph for this function:

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