/home/abui.../dgeqrfp.f(3)
okay so bestie, welcome to the Library Functions Manual page for /home/abui.../dgeqrfp.f(3) π
this is lowkey the DGEQRFP glow-up, and I'm gonna walk you through every single detail like we're decoding the group chat. no cap.
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dgeqrfp.f
that's the whole name section, bestie β the file itself, periodt. πβ¨
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine DGEQRFP (m, n, a, lda, tau, work, lwork, info)
DGEQRFP
DGEQRFP is the main character here, iykyk. π
π Function/Subroutine Documentation π
subroutine DGEQRFP (integer m, integer n, double precision, dimension( lda, * ) a, integer lda, double precision, dimension( * ) tau, double precision, dimension( * ) work, integer lwork, integer info)
DGEQRFP again, because she's iconic. π
π― Purpose
the source says this, and I'm keeping it exactly as-is (yes, it literally says DGEQR2P in here β not me editing the source, bestie π):
!>
!> DGEQR2P 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. it's the number of rows of matrixA, andM >= 0. πNβN is INTEGER. it's the number of columns of matrixA, andN >= 0. πAβA is DOUBLE PRECISION array, dimension (LDA,N). on entry, it's theM-by-NmatrixA. on exit, the elements on and above the diagonal of the array contain themin(M,N)-by-Nupper trapezoidal matrixR(andRis 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. it's the leading dimension of arrayA, andLDA >= max(1,M). π§TAUβTAU is DOUBLE PRECISION array, dimension (min(M,N)). these are the scalar factors of the elementary reflectors (see Further Details). πWORKβWORK is DOUBLE PRECISION array, dimension (MAX(1,LWORK)). on exit, ifINFO = 0,WORK(1)returns the optimalLWORK. π οΈLWORKβLWORK is INTEGER. it's the dimension of the arrayWORK, andLWORK >= max(1,N). 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: 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.
Further Details
the source's further-details block is also too good to paraphrase, so here it is exactly:
!>
!> 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 148 of file dgeqrfp.f. π
π Author
Generated automatically by Doxygen for LAPACK from the source code. π€β¨
mwah π that's the page! source/version vibe: LAPACK Version 3.12.0, file /home/abui.../dgeqrfp.f(3) β slay and goodbye, bestie π¦
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms