DGEQLS(3)

๐Ÿ“ฆ version 3.12.0, in opensuse-leap 16.0

๐Ÿ’… 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 โ€” M is INTEGER, and itโ€™s the number of rows of the matrix A. so the vibe check is M >= 0.
  • N โ€” N is INTEGER, and itโ€™s the number of columns of the matrix A. the constraint is M >= N >= 0, so respect the hierarchy, bestie.
  • NRHS โ€” NRHS is INTEGER, and itโ€™s the number of columns of B. also NRHS >= 0.
  • A โ€” A is a DOUBLE PRECISION array, dimension (LDA,N). it holds the details of the QL factorization of the original matrix A as returned by DGEQLF. so itโ€™s not just any matrix, itโ€™s the post-DGEQLF matrix. main character energy.
  • LDA โ€” LDA is INTEGER, and itโ€™s the leading dimension of the array A. LDA >= M, obviously.
  • TAU โ€” TAU is a DOUBLE PRECISION array, dimension (N). it holds details of the orthogonal matrix Q. yes queen, orthogonal.
  • B โ€” B is a DOUBLE PRECISION array, dimension (LDB,NRHS). on entry, itโ€™s the m-by-nrhs right hand side matrix B. on exit, itโ€™s the n-by-nrhs solution matrix X, stored in rows m-n+1:m. the glow-up is real.
  • LDB โ€” LDB is INTEGER, and itโ€™s the leading dimension of the array B. LDB >= M. no exceptions.
  • WORK โ€” WORK is a DOUBLE PRECISION array, dimension (LWORK). itโ€™s the workspace, bestie. give it room.
  • LWORK โ€” LWORK is INTEGER, and itโ€™s the length of the array WORK. LWORK must be at least NRHS, and should be at least NRHS*NB, where NB is the block size for this environment. so like, donโ€™t be stingy with the workspace. ๐Ÿ’…
  • INFO โ€” INFO is INTEGER, and itโ€™s the status report:
    • = 0: successful exit. we love a clean run.
    • < 0: if INFO = -i, the i-th argument had an illegal value. so negative INFO means 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