TESTING/LIN/zgerqs.f(3)
π¦ TESTING/LIN/zgerqs.f(3) β Library Functions Manual π¦
okay so bestie, welcome to the TESTING/LIN/zgerqs.f(3) page from the Library Functions Manual! This is your group-chat rundown of ZGERQS, and I am literally keeping every type, dimension, constraint, and status code exactly as it is. No cap. π
β¨ NAME β¨
TESTING/LIN/zgerqs.f
πΈ SYNOPSIS πΈ
Functions/Subroutines π«Ά
subroutine zgerqs (m, n, nrhs, a, lda, tau, b, ldb, work, lwork, info)
ZGERQS β iconic subroutine, periodt.
π Function/Subroutine Documentation π
π«Ά ZGERQS Full Signature π«Ά
subroutine zgerqs (integer m, integer n, integer nrhs, complex*16,
dimension( lda, * ) a, integer lda, complex*16, dimension( * ) tau,
complex*16, dimension( ldb, * ) b, integer ldb, complex*16, dimension(
lwork ) work, integer lwork, integer info)
ZGERQS
π Purpose: π
okay so the purpose is giving:
!>
!> Compute a minimum-norm solution
!> min || A*X - B ||
!> using the RQ factorization
!> A = R*Q
!> computed by ZGERQF.
!>
Translation for the besties: it computes a minimum-norm solution min || A*X - B || using the RQ factorization A = R*Q computed by ZGERQF. That's the whole vibe. β¨
π Parameters π
MβM is INTEGER. It's the number of rows of matrixA, andM >= 0. Non-negative row count, we love to see it. πNβN is INTEGER. It's the number of columns of matrixA, andN >= M >= 0. The way that inequality chain is chaining. πNRHSβNRHS is INTEGER. It's the number of columns ofB, andNRHS >= 0. Periodt.AβA is COMPLEX*16 array, dimension (LDA,N). It holds details of the RQ factorization of the original matrixAas returned byZGERQF. This is the factorization lore, iykyk.LDAβLDA is INTEGER. It's the leading dimension of the arrayA, andLDA >= M. Respect the leading dimension, bestie.TAUβTAU is COMPLEX*16 array, dimension (M). It holds details of the orthogonal matrixQ. Iconic little tau. πBβB is COMPLEX*16 array, dimension (LDB,NRHS). On entry, it's the right hand side vectors for the linear system. On exit, it's the solution vectorsX. Each solution vector is contained in rows1:Nof a column ofB. Not me being obsessed with rows1:N. πΈLDBβLDB is INTEGER. It's the leading dimension of the arrayB, andLDB >= max(1,N). Exact constraint, no cap.WORKβWORK is COMPLEX*16 array, dimension (LWORK). The workspace bestie.LWORKβLWORK is INTEGER. It's the length of the arrayWORK.LWORKmust be at leastNRHS, and should be at leastNRHS*NB, whereNBis the block size for this environment. Highkey important.INFOβINFO is INTEGER. Exit status tea:= 0: successful exit, we love to see it.< 0: ifINFO = -i, thei-th argument had an illegal value. Oop.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 120 of file zgerqs.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay bestie, that's the whole page! The footer says LAPACK Version 3.12.0, and the source page is TESTING/LIN/zgerqs.f(3). Stay slay, keep your leading dimensions valid, and remember: the vibe is cute, but the constraints are fr fr. πβ¨π
π¦ 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