SRC/DEPRECATED/sgelqs.f(3)
π NAME π
Hey bestie! We're looking at the sgelqs.f(3) page from LAPACK's Library Functions Manual, and the actual file is SRC/DEPRECATED/sgelqs.f. That's the name, and honestly it's giving "deprecated but still iconic" energy. π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine sgelqs (m, n, nrhs, a, lda, tau, b, ldb, work, lwork, info)β this isSGELQS, the main character of this page.
subroutine sgelqs (integer m, integer n, integer nrhs, real, dimension( lda,
* ) a, integer lda, real, dimension( * ) tau, real, dimension( ldb, * )
b, integer ldb, real, dimension( lwork ) work, integer lwork, integer
info)
SGELQS π«Ά
π Function/Subroutine Documentation π
subroutine sgelqs (integer m, integer n, integer nrhs, real, dimension( lda,
* ) a, integer lda, real, dimension( * ) tau, real, dimension( ldb, * )
b, integer ldb, real, dimension( lwork ) work, integer lwork, integer
info)
SGELQS β¨
πΈ Purpose πΈ
Okay so this routine computes a minimum-norm solution:
min || A*X - B ||
using the LQ factorization:
A = L*Q
computed by SGELQF. No cap, that's the whole purpose. π
π¦ Parameters π¦
MβMis INTEGER. The number of rows of the matrixA.M >= 0.NβNis INTEGER. The number of columns of the matrixA.N >= M >= 0.NRHSβNRHSis INTEGER. The number of columns ofB.NRHS >= 0.AβAis REAL array, dimension(LDA,N). Details of the LQ factorization of the original matrixAas returned bySGELQF.LDAβLDAis INTEGER. The leading dimension of the arrayA.LDA >= M.TAUβTAUis REAL array, dimension(M). Details of the orthogonal matrixQ.BβBis REAL array, dimension(LDB,NRHS). On entry, them-by-nrhsright hand side matrixB. On exit, then-by-nrhssolution matrixX.LDBβLDBis INTEGER. The leading dimension of the arrayB.LDB >= N.WORKβWORKis REAL array, dimension(LWORK).LWORKβLWORKis INTEGER. The length of the arrayWORK.LWORKmust be at leastNRHS, and should be at leastNRHS*NB, whereNBis the block size for this environment.INFOβINFOis INTEGER.= 0: successful exit< 0: ifINFO = -i, thei-thargument had an illegal value
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition at line 119 of file sgelqs.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. Yes bestie, the robots made this page. π€β¨
mwah π this cutie is from LAPACK Version 3.12.0, page SRC/DEPRECATED/sgelqs.f(3), and that's the whole sign-off. π«Άπ
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms