TESTING/LIN/cgeqls.f(3)
π 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βMis INTEGER. Itβs the number of rows of the matrixA.M >= 0.NβNis INTEGER. Itβs the number of columns of the matrixA.M >= N >= 0.NRHSβNRHSis INTEGER. Itβs the number of columns ofB.NRHS >= 0.AβAis COMPLEX array, dimension (LDA,N). Details of the QL factorization of the original matrixAas returned byCGEQLF.LDAβLDAis INTEGER. The leading dimension of the arrayA.LDA >= M.TAUβTAUis COMPLEX array, dimension (N). Details of the orthogonal matrixQ.BβBis COMPLEX array, dimension (LDB,NRHS). On entry, the m-by-nrhs right hand side matrixB. On exit, the n-by-nrhs solution matrixX, stored in rowsm-n+1:m.LDBβLDBis INTEGER. The leading dimension of the arrayB.LDB >= M.WORKβWORKis COMPLEX array, dimension (LWORK).LWORKβLWORKis INTEGER. The length of the arrayWORK.LWORKmust be at leastNRHS, and should be at leastNRHS*NB, whereNBis the block size for this environment.INFOβINFOis INTEGER.= 0: successful exit.< 0: ifINFO = -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
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms