SRC/sgeqrfp.f(3)
okay so bestie, this is the SRC/sgeqrfp.f(3) page from the Library Functions Manual, and it's literally all about SGEQRFP. it's giving LAPACK, it's giving QR factorization, it's giving main character energy. πβ¨
β¨ NAME β¨
SRC/sgeqrfp.f β that's it, that's the name section. π
π¦ SYNOPSIS π¦
π Functions/Subroutines π
subroutine sgeqrfp (m, n, a, lda, tau, work, lwork, info)βSGEQRFP
πΈ Function/Subroutine Documentation πΈ
π«Ά subroutine sgeqrfp π«Ά
subroutine sgeqrfp (integer m, integer n, real, dimension( lda, * ) a,
integer lda, real, dimension( * ) tau, real, dimension( * ) work,
integer lwork, integer info)
π SGEQRFP π
π Purpose: π
okay so the page literally says this, and we're keeping every word:
!>
!> SGEQR2P computes a QR factorization of a real M-by-N matrix A:
!>
!> A = Q * ( R ),
!> ( 0 )
!>
!> where:
!>
!> Q is a M-by-M orthogonal matrix;
!> R is an upper-triangular N-by-N matrix with nonnegative diagonal
!> entries;
!> 0 is a (M-N)-by-N zero matrix, if M > N.
!>
!>
π Parameters π
MβM is INTEGER. The number of rows of the matrixA.M >= 0.NβN is INTEGER. The number of columns of the matrixA.N >= 0.AβA is REAL array, 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 nonnegative; the elements below the diagonal, with the arrayTAU, represent the orthogonal matrixQas a product ofmin(m,n)elementary reflectors (see Further Details).LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,M).TAUβTAU is REAL array, dimension (min(M,N)). The scalar factors of the elementary reflectors (see Further Details).WORKβWORK is REAL array, dimension (MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK.LWORKβLWORK is INTEGER. 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βINFO is INTEGER.= 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**T
!>
!> where tau is a real scalar, and v is a real 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 sgeqrfp.f. π
Definition at line 149 of file sgeqrfp.f.
π«Ά Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
β¨ and that's the whole page, bestie β footer vibes: LAPACK Version 3.12.0, from SRC/sgeqrfp.f(3) (no date shown, just those). ππ
π¦ 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