TESTING/LIN/cgeqls.f(3)

πŸ“¦
version 3.12.1 Β· 2 versions
, in arch rolling

πŸŽ€ NAME πŸŽ€

okay so this is TESTING/LIN/cgeqls.f β€” the TESTING/LIN/cgeqls.f(3) page from the Library Functions Manual, section 3. It’s literally the doc page for the cgeqls subroutine, and bestie, we are gonna get into it. πŸ’–


✨ SYNOPSIS ✨

🌸 Functions/Subroutines 🌸

Here’s the short-and-sweet call:

       subroutine cgeqls (m, n, nrhs, a, lda, tau, b, ldb, work, lwork, info)
           CGEQLS

πŸ’– Function/Subroutine Documentation πŸ’–

The full signature is giving β€œI know exactly what I need, no notes”:

   subroutine cgeqls (integer m, integer n, integer nrhs, complex, dimension(
       lda, * ) a, integer lda, complex, dimension( * ) tau, complex,
       dimension( ldb, * ) b, integer ldb, complex, dimension( lwork ) work,
       integer lwork, integer info)
       CGEQLS

CGEQLS is the main character here, periodt. πŸ‘‘

✨ Purpose ✨

!>
!> Solve the least squares problem
!>     min || A*X - B ||
!> using the QL factorization
!>     A = Q*L
!> computed by CGEQLF.
!>

πŸ¦‹ Parameters πŸ¦‹

  • M β€” M is INTEGER. It’s the number of rows of the matrix A. M >= 0.
  • N β€” N is INTEGER. It’s the number of columns of the matrix A. M >= N >= 0.
  • NRHS β€” NRHS is INTEGER. It’s the number of columns of B. NRHS >= 0.
  • A β€” A is COMPLEX array, dimension (LDA,N). Details of the QL factorization of the original matrix A as returned by CGEQLF.
  • LDA β€” LDA is INTEGER. The leading dimension of the array A. LDA >= M.
  • TAU β€” TAU is COMPLEX array, dimension (N). Details of the orthogonal matrix Q.
  • B β€” B is COMPLEX array, dimension (LDB,NRHS). On entry, the m-by-nrhs right hand side matrix B. On exit, the n-by-nrhs solution matrix X, stored in rows m-n+1:m.
  • LDB β€” LDB is INTEGER. The leading dimension of the array B. LDB >= M.
  • WORK β€” WORK is COMPLEX 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 cgeqls.f.


🌈 Author 🌈

Generated automatically by Doxygen for LAPACK from the source code.


🌸 ok bye bestie! This page is from LAPACK, Version 3.12.0, and the footer label is TESTING/LIN/cgeqls.f(3). Mwah πŸ’…πŸ’–

πŸ“¦ where this page comes from