SORGQR(3)
π sorgqr.f(3) β Library Functions Manual π
okay so this is the glow-up of the SORGQR(3) page, bestie β manual name folded in right here so you donβt gotta squint at the header line: Library Functions Manual, file sorgqr.f(3). Now letβs get into the LAPACK tea π
β¨
π NAME π
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/sorgqr.f
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine SORGQR (m, n, k, a, lda, tau, work, lwork, info)
SORGQR β thatβs the main character, no cap π
π Function/Subroutine Documentation π
subroutine SORGQR (integer m, integer n, integer k, real, dimension( lda, * ) a, integer lda, real, dimension( * ) tau, real, dimension( * ) work, integer lwork, integer info)
SORGQR
πΈ Purpose πΈ
okay so SORGQR generates an M-by-N real matrix Q with orthonormal columns, and Q is defined as the first N columns of a product of K elementary reflectors of order M β as returned by SGEQRF.
The formula is literally this iconic:
Q = H(1) H(2) . . . H(k)
π§Έ Parameters π§Έ
MβM is INTEGER. Itβs the number of rows of the matrixQ. You needM >= 0.NβN is INTEGER. Itβs the number of columns of the matrixQ. You needM >= N >= 0.KβK is INTEGER. Itβs the number of elementary reflectors whose product defines the matrixQ. You needN >= K >= 0.AβA is REAL array, dimension (LDA,N). On entry, the i-th column must contain the vector which defines the elementary reflectorH(i), fori = 1,2,...,k, as returned bySGEQRFin the firstkcolumns of its array argumentA. On exit, itβs theM-by-NmatrixQ. glow-up complete π«LDAβLDA is INTEGER. Itβs the first dimension of the arrayA, and you needLDA >= max(1,M).TAUβTAU is REAL array, dimension (K).TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned bySGEQRF.WORKβWORK is REAL 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, and you needLWORK >= max(1,N). For optimum performance,LWORK >= 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 has an illegal value.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 127 of file sorgqr.f.
π§ Author π§
Generated automatically by Doxygen for LAPACK from the source code.
and thatβs the whole page, bestie π«Ά β the footer says LAPACK Version 3.12.0 and points at /home/abui...RC/sorgqr.f(3). No date on that footer, so Iβm not inventing one β just giving you the full vibe-checked manual πβ¨
π¦ 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