SGEQLS(3)
π SGEQLS(3) β Library Functions Manual π
okay so bestie, welcome to the Library Functions Manual page for SGEQLS(3). Itβs giving LAPACK subroutine energy, and weβre gonna keep every detail intact. No cap. β¨
β¨ NAME β¨
literally the NAME section is just this path, and Iβm not changing a single character:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/sgeqls.f
π¦ SYNOPSIS π¦
Functions/Subroutines
The short subroutine vibe is:
subroutine SGEQLS (m, n, nrhs, a, lda, tau, b, ldb, work, lwork, info)
and yes, it just says SGEQLS after that. Iconic little name tag behavior π
.
Function/Subroutine Documentation
Hereβs the full signature, character for character:
subroutine SGEQLS (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)
Then the docs just say SGEQLS again. main character energy π.
Purpose
The purpose block is literally this, and itβs solving the least squares problem with the QL factorization from SGEQLF:
!>
!> Solve the least squares problem
!> min || A*X - B ||
!> using the QL factorization
!> A = Q*L
!> computed by SGEQLF.
!>
Parameters
MβM is INTEGER. Itβs the number of rows of the matrixA. Constraint:M >= 0. πΈNβN is INTEGER. Itβs the number of columns of the matrixA. Constraint:M >= N >= 0. πNRHSβNRHS is INTEGER. Itβs the number of columns ofB. Constraint:NRHS >= 0. β¨AβA is REAL array, dimension (LDA,N). It holds details of the QL factorization of the original matrixAas returned bySGEQLF. π¦LDAβLDA is INTEGER. Itβs the leading dimension of the arrayA. Constraint:LDA >= M. πTAUβTAU is REAL array, dimension (N). It holds details of the orthogonal matrixQ. πBβB is REAL array, dimension (LDB,NRHS). On entry, itβs them-by-nrhsright hand side matrixB. On exit, itβs then-by-nrhssolution matrixX, stored in rowsm-n+1:m. π₯LDBβLDB is INTEGER. Itβs the leading dimension of the arrayB. Constraint:LDB >= M. πWORKβWORK is REAL array, dimension (LWORK). π«ΆLWORKβLWORK is INTEGER. Itβs the length of the arrayWORK.LWORKmust be at leastNRHS, and should be at leastNRHS*NB, whereNBis the block size for this environment. βINFOβINFO is INTEGER. Status tea:= 0: successful exit;< 0: if INFO = -i, the i-th argument had an illegal value. π
Author
Shoutout to the institutions on this one:
Univ. of TennesseeUniv. of California BerkeleyUniv. of Colorado DenverNAG Ltd.
And the exact line: Definition at line 120 of file sgeqls.f. π
π Author π
Generated automatically by Doxygen for LAPACK from the source code. periodt. π
π cute sign-off: this page is LAPACK, Version 3.12.0, and its footer path is /home/abui...IN/sgeqls.f(3) β thereβs literally no date on the page, so Iβm not inventing one, bestie. π«Ά
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms