SGERQS(3)
π NAME π
okay bestie, this is the sgerqs.f page from the Library Functions Manual β yes, the whole file path is literally:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/sgerqs.f
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine SGERQS (m, n, nrhs, a, lda, tau, b, ldb, work, lwork, info)β this is the main character,<rainbow>SGERQS</rainbow>π
π¦ Function/Subroutine Documentation π¦
subroutine SGERQS
subroutine SGERQS (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)
and yep, the routineβs name is exactly SGERQS. iconic. π
π Purpose π
!>
!> Compute a minimum-norm solution
!> min || A*X - B ||
!> using the RQ factorization
!> A = R*Q
!> computed by SGERQF.
!>
translation for my besties: <pink>SGERQS</pink> computes a minimum-norm solution
min || A*X - B ||
using the RQ factorization
A = R*Q
computed by SGERQF. thatβs the whole assignment, no cap. β¨
π§ Parameters π§
Mβ bestie,MisINTEGER, and itβs the number of rows of the matrixA. rule:M >= 0.NβNisINTEGER, the number of columns of the matrixA. rule:N >= M >= 0.NRHSβNRHSisINTEGER, the number of columns ofB. rule:NRHS >= 0.AβAisREAL array, dimension (LDA,N). it holds details of the RQ factorization of the original matrixAas returned bySGERQF.LDAβLDAisINTEGER, the leading dimension of the arrayA. rule:LDA >= M.TAUβTAUisREAL array, dimension (M). it holds details of the orthogonal matrixQ.BβBisREAL array, dimension (LDB,NRHS). on entry, itβs the right hand side vectors for the linear system. on exit, itβs the solution vectorsX. each solution vector is contained in rows1:Nof a column ofB.LDBβLDBisINTEGER, the leading dimension of the arrayB. rule:LDB >= max(1,N).WORKβWORKisREAL array, dimension (LWORK).LWORKβLWORKisINTEGER, the length of the arrayWORK.LWORKmust be at leastNRHS, and should be at leastNRHS*NB, whereNBis the block size for this environment.INFOβINFOisINTEGER.= 0: successful exit.< 0: ifINFO = -i, thei-th argument had an illegal value.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 120 of file sgerqs.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. π€π
signing off from LAPACK Version 3.12.0, page /home/abui...IN/sgerqs.f(3) β slay your linear algebra, 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