DGEQLS(3)
๐ DGEQLS(3) โ bestie, itโs giving โsolve the least squares problemโ โจ
okay so this is a LAPACK library function page from /home/abui...IN/dgeqls.f(3) โ yes that path is a whole mood, donโt worry about it โ and itโs literally the manual for DGEQLS, a Fortran subroutine that solves a least squares problem using a QL factorization. no cap, itโs iconic linear algebra behavior.
๐ธ NAME ๐ธ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/dgeqls.f
thatโs the file path, bestie. itโs the source file for this whole situation. slay.
๐ฆ SYNOPSIS ๐ฆ
โจ Functions/Subroutines โจ
subroutine DGEQLS (m, n, nrhs, a, lda, tau, b, ldb, work, lwork, info)โ DGEQLS
๐ Function/Subroutine Documentation ๐
๐ subroutine DGEQLS ๐
subroutine DGEQLS (integer m, integer n, integer nrhs, double precision,
dimension( lda, * ) a, integer lda, double precision, dimension( * )
tau, double precision, dimension( ldb, * ) b, integer ldb, double
precision, dimension( lwork ) work, integer lwork, integer info)
DGEQLS
๐ Purpose ๐
!>
!> Solve the least squares problem
!> min || A*X - B ||
!> using the QL factorization
!> A = Q*L
!> computed by DGEQLF.
!>
translation for the girlies: it minimizes || A*X - B || using the QL factorization A = Q*L, and that factorization comes from DGEQLF. periodt.
๐ Parameters ๐
MโMisINTEGER, and itโs the number of rows of the matrixA. so the vibe check isM >= 0.NโNisINTEGER, and itโs the number of columns of the matrixA. the constraint isM >= N >= 0, so respect the hierarchy, bestie.NRHSโNRHSisINTEGER, and itโs the number of columns ofB. alsoNRHS >= 0.AโAis aDOUBLE PRECISIONarray, dimension(LDA,N). it holds the details of the QL factorization of the original matrixAas returned byDGEQLF. so itโs not just any matrix, itโs the post-DGEQLFmatrix. main character energy.LDAโLDAisINTEGER, and itโs the leading dimension of the arrayA.LDA >= M, obviously.TAUโTAUis aDOUBLE PRECISIONarray, dimension(N). it holds details of the orthogonal matrixQ. yes queen, orthogonal.BโBis aDOUBLE PRECISIONarray, 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. the glow-up is real.LDBโLDBisINTEGER, and itโs the leading dimension of the arrayB.LDB >= M. no exceptions.WORKโWORKis aDOUBLE PRECISIONarray, dimension(LWORK). itโs the workspace, bestie. give it room.LWORKโLWORKisINTEGER, and itโs the length of the arrayWORK.LWORKmust be at leastNRHS, and should be at leastNRHS*NB, whereNBis the block size for this environment. so like, donโt be stingy with the workspace. ๐INFOโINFOisINTEGER, and itโs the status report:= 0: successful exit. we love a clean run.< 0: ifINFO = -i, thei-th argument had an illegal value. so negativeINFOmeans somebodyโs argument was not invited to the function.
๐ Author ๐
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
โญ Definition at line 120 of file dgeqls.f โญ
thatโs where the source code definition lives. iconic documentation behavior.
๐ Author ๐
Generated automatically by Doxygen for LAPACK from the source code. so yes, the docs wrote themselves, and honestly? they ate.
and thatโs the page, bestie. LAPACK, Version 3.12.0, from /home/abui...IN/dgeqls.f(3) โ see you in the group chat ๐ซถโจ๐
๐ฆ 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