/home/abui...D/sgeqrs.f(3)
π /home/abui...D/sgeqrs.f(3) π
okay bestie, this page is straight from the Library Functions Manual, and itβs giving Fortran LAPACK subroutine main character energy. Weβre talking about SGEQRS, and no cap, itβs here to solve least squares problems with QR factorization. Slay. β¨
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/DEPRECATED/sgeqrs.f
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine SGEQRS (m, n, nrhs, a, lda, tau, b, ldb, work, lwork, info)
SGEQRS
π Function/Subroutine Documentation π
subroutine SGEQRS (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)
SGEQRS
π Purpose π
okay so this one solves the least squares problem:
min || A*X - B ||
using the QR factorization:
A = Q*R
computed by SGEQRF. Thatβs the vibe, bestie. π
π Parameters π
MβM is INTEGER. The number of rows of the matrixA.M >= 0.NβN is INTEGER. The number of columns of the matrixA.M >= N >= 0.NRHSβNRHS is INTEGER. The number of columns ofB.NRHS >= 0.AβA is REAL array, dimension (LDA,N). Details of the QR factorization of the original matrixAas returned bySGEQRF.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= M.TAUβTAU is REAL array, dimension (N). Details of the orthogonal matrixQ.BβB is REAL array, dimension (LDB,NRHS). On entry, them-by-nrhsright hand side matrixB. On exit, then-by-nrhssolution matrixX.LDBβLDB is INTEGER. The leading dimension of the arrayB.LDB >= M.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 119 of file sgeqrs.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay bestie, thatβs the whole page! π
source/version check: LAPACK Version 3.12.0, page /home/abui...D/sgeqrs.f(3). Go solve those least squares problems responsibly, fr fr π«Άβ¨
π¦ 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