SRC/cgeqrfp.f(3)
π SRC/cgeqrfp.f π
okay so this page comes from the Library Functions Manual, and it's all about the CGEQRFP subroutine, bestie. buckle up, it's giving linear algebra but make it cute. π
πΈ NAME πΈ
SRC/cgeqrfp.f β literally the page, periodt. home of the CGEQRFP subroutine. π
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
here's the call, exactly as it appears:
subroutine cgeqrfp (m, n, a, lda, tau, work, lwork, info)
and the big label is CGEQRFP, iykyk. π¦
π¦ Function/Subroutine Documentation π¦
π«Ά subroutine cgeqrfp π«Ά
subroutine cgeqrfp (integer m, integer n, complex, dimension( lda, * ) a,
integer lda, complex, dimension( * ) tau, complex, dimension( * ) work,
integer lwork, integer info)
label: CGEQRFP. iconic. β¨
π― Purpose π―
the Purpose block is giving main character energy. it says β and I'm keeping the facts exactly β that CGEQR2P computes a QR factorization of a complex M-by-N matrix A:
A = Q * ( R ),
( 0 )
where:
Qis aM-by-Morthogonal matrix;Ris an upper-triangularN-by-Nmatrix with nonnegative diagonal entries;0is a(M-N)-by-Nzero matrix, ifM > N.
π Parameters π
MβMisINTEGER. the number of rows of the matrixA. constraint:M >= 0.NβNisINTEGER. the number of columns of the matrixA. constraint:N >= 0.AβAisCOMPLEXarray, dimension(LDA,N). On entry, theM-by-NmatrixA. On exit, the elements on and above the diagonal of the array contain themin(M,N)-by-Nupper trapezoidal matrixR(Ris upper triangular ifm >= n). The diagonal entries ofRare real and nonnegative; the elements below the diagonal, with the arrayTAU, represent the unitary matrixQas a product ofmin(m,n)elementary reflectors (see Further Details).LDAβLDAisINTEGER. the leading dimension of the arrayA. constraint:LDA >= max(1,M).TAUβTAUisCOMPLEXarray, dimension(min(M,N)). the scalar factors of the elementary reflectors (see Further Details).WORKβWORKisCOMPLEXarray, dimension(MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK.LWORKβLWORKisINTEGER. the dimension of the arrayWORK.LWORK >= 1, ifMIN(M,N) = 0, andLWORK >= N, otherwise. For optimum performanceLWORK >= N*NB, whereNBis the optimal blocksize. IfLWORK = -1, then a workspace query is assumed; the routine only calculates the optimal size of theWORKarray, returns this value as the first entry of theWORKarray, and no error message related toLWORKis issued byXERBLA.INFOβINFOisINTEGER.= 0: successful exit.< 0: ifINFO = -i, thei-th argument had an illegal value.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Further Details: π
the matrix Q is represented as a product of elementary reflectors:
Q = H(1) H(2) . . . H(k), where k = min(m,n).
each H(i) has the form:
H(i) = I - tau * v * v**H
where tau is a complex scalar, and v is a complex vector with v(1:i-1) = 0 and v(i) = 1; v(i+1:m) is stored on exit in A(i+1:m,i), and tau in TAU(i).
See Lapack Working Note 203 for details. π§
π Definition at line 149 of file cgeqrfp.f. π
π€ Author π€
Generated automatically by Doxygen for LAPACK from the source code.
buh-bye bestie! this page is from LAPACK Version 3.12.0, page SRC/cgeqrfp.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