Visible to Intel only — GUID: GUID-1595AC33-FBAF-422F-8BBA-904753F246AE
ZGELSD Example
For a detailed description and reference information on this function, please visit:
?gelsd function in Intel® oneAPI Math Kernel Library Developer Reference - C
?gelsd function in Intel® oneAPI Math Kernel Library Developer Reference - Fortran
The routine computes the minimum norm solution to a complex linear least squares problem: minimize ||b - A*x|| using the singular value decomposition (SVD) of a rectangular matrix A, 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 right-hand side matrix B and the solution matrix X.
The effective rank of A equals the number of the singular values, which are greater than rcond multiplied by the largest singular value.
Fortran-77 Interface
C Interface
Please refer to the Matrix Layout section of the C Interface Conventions for the description of Row Major (C default) and Column Major (Fortran default).