SGERQS(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

πŸŽ€ 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, M is INTEGER, and it’s the number of rows of the matrix A. rule: M >= 0.
  • N β€” N is INTEGER, the number of columns of the matrix A. rule: N >= M >= 0.
  • NRHS β€” NRHS is INTEGER, the number of columns of B. rule: NRHS >= 0.
  • A β€” A is REAL array, dimension (LDA,N). it holds details of the RQ factorization of the original matrix A as returned by SGERQF.
  • LDA β€” LDA is INTEGER, the leading dimension of the array A. rule: LDA >= M.
  • TAU β€” TAU is REAL array, dimension (M). it holds details of the orthogonal matrix Q.
  • B β€” B is REAL array, dimension (LDB,NRHS). on entry, it’s the right hand side vectors for the linear system. on exit, it’s the solution vectors X. each solution vector is contained in rows 1:N of a column of B.
  • LDB β€” LDB is INTEGER, the leading dimension of the array B. rule: LDB >= max(1,N).
  • WORK β€” WORK is REAL array, dimension (LWORK).
  • LWORK β€” LWORK is INTEGER, 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.
  • INFO β€” INFO is INTEGER. = 0: successful exit. < 0: if INFO = -i, the i-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