/home/abui.../sgeqrfp.f(3)
๐ NAME ๐
okay bestie, this is the Library Functions Manual glow-up for /home/abui.../sgeqrfp.f(3) โ yes, the LAPACK page, but make it cute. The actual file path is:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/sgeqrfp.f
๐ฆ 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 Purpose block literally says SGEQR2P computes a QR factorization of a real M-by-N matrix A โ keep that energy exactly as written, bestie:
A = Q * ( R ),
( 0 )
where:
Qis a M-by-M orthogonal matrix;Ris an upper-triangular N-by-N matrix with nonnegative diagonal entries;0is 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, the M-by-N matrixA. On exit, the elements on and above the diagonal of the array contain the min(M,N)-by-N upper trapezoidal matrixR(Ris upper triangular if m >= n). The diagonal entries ofRare nonnegative; the elements below the diagonal, with the arrayTAU, represent the orthogonal matrixQas a product of min(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 >= 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: ifINFO = -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 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 sgeqrfp.f.
๐ช Author
Generated automatically by Doxygen for LAPACK from the source code.
and thatโs the whole page, bestie ๐ โ LAPACK Version 3.12.0, footer path /home/abui.../sgeqrfp.f(3), generated by Doxygen for LAPACK from the source code. periodt โจ๐
๐ฆ 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