Visible to Intel only — GUID: GUID-63CFFEC4-3B82-4806-8752-BB962426866E
CGELS Example
For a detailed description and reference information on this function, please visit:
?gels function in Intel® oneAPI Math Kernel Library Developer Reference - C
?gels function in Intel® oneAPI Math Kernel Library Developer Reference - Fortran
The routine solves overdetermined or underdetermined complex linear systems involving a rectangular matrix A, or its transpose, using a QR or LQ factorization of A. The routine assumes that A has full rank.
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.
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).