TESTING/LIN/sgerqs.f(3)
β¨ NAME β¨
This is the TESTING/LIN/sgerqs.f(3) page from the Library Functions Manual β aka the manual page for TESTING/LIN/sgerqs.f. Bestie, itβs all about the sgerqs subroutine. π
π¦ SYNOPSIS π¦
π§ Functions/Subroutines π§
subroutine sgerqs (m, n, nrhs, a, lda, tau, b, ldb, work, lwork, info)
SGERQS
π Function/Subroutine Documentation π
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)
SGERQS β iconic, all caps, here to solve the problem. π
π― Purpose
Compute a minimum-norm solution
min || A*X - B ||
using the RQ factorization
A = R*Q
computed by SGERQF. Slay. π
π Parameters π
MβM is INTEGER. The number of rows of the matrixA. Constraint:M >= 0. β¨NβN is INTEGER. The number of columns of the matrixA. Constraint:N >= M >= 0. π¦NRHSβNRHS is INTEGER. The number of columns ofB. Constraint:NRHS >= 0. πΈAβA is REAL array, dimension (LDA,N). Details of the RQ factorization of the original matrixAas returned bySGERQF. πLDAβLDA is INTEGER. The leading dimension of the arrayA. Constraint:LDA >= M. πTAUβTAU is REAL array, dimension (M). Details of the orthogonal matrixQ. π«BβB is REAL array, dimension (LDB,NRHS). On entry, the right hand side vectors for the linear system. On exit, the solution vectorsX. Each solution vector is contained in rows1:Nof a column ofB. πLDBβLDB is INTEGER. The leading dimension of the arrayB. Constraint:LDB >= max(1,N). π«ΆWORKβWORK is REAL array, dimension (LWORK). π§LWORKβLWORK is INTEGER. 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.= 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. π€β¨
Source/version check: LAPACK Version 3.12.0, page TESTING/LIN/sgerqs.f(3). The footer doesnβt print a date on this page, so Iβm not gonna invent one β no cap. π«Άπ
π¦ 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