SRC/sorgbr.f(3)
SRC/sorgbr.f(3) β¨
Library Functions Manual, bestie β that's the manual name, folded in right here. π
πΈ NAME πΈ
SRC/sorgbr.f β yes, the page is literally this file, and the main-character subroutine inside is sorgbr. It's giving LAPACK realness. π«Ά
π¦ SYNOPSIS π¦
π§ Functions/Subroutines π§
subroutine sorgbr (vect, m, n, k, a, lda, tau, work, lwork, info)
That's the one: SORGBR. No cap. β¨
π Function/Subroutine Documentation π
subroutine sorgbr (character vect, integer m, integer n, integer k, real,
dimension( lda, * ) a, integer lda, real, dimension( * ) tau, real,
dimension( * ) work, integer lwork, integer info)
SORGBR β yep, same routine, full glow-up signature.
π Purpose π
SORGBR generates one of the real orthogonal matrices Q or P**T determined by SGEBRD when reducing a real matrix A to bidiagonal form:
A = Q * B * P**T
Q and P**T are defined as products of elementary reflectors H(i) or G(i) respectively.
- If
VECT = 'Q',Ais assumed to have been anM-by-Kmatrix, andQis of orderM:- if
m >= k,Q = H(1) H(2) . . . H(k)andSORGBRreturns the firstncolumns ofQ, wherem >= n >= k; - if
m < k,Q = H(1) H(2) . . . H(m-1)andSORGBRreturnsQas anM-by-Mmatrix.
- if
- If
VECT = 'P',Ais assumed to have been aK-by-Nmatrix, andP**Tis of orderN:- if
k < n,P**T = G(k) . . . G(2) G(1)andSORGBRreturns the firstmrows ofP**T, wheren >= m >= k; - if
k >= n,P**T = G(n-1) . . . G(2) G(1)andSORGBRreturnsP**Tas anN-by-Nmatrix.
- if
π Parameters π
VECTβVECT is CHARACTER*1. Specifies whether the matrixQor the matrixP**Tis required, as defined in the transformation applied bySGEBRD:= 'Q': generate Q;= 'P': generate P**T.MβM is INTEGER. The number of rows of the matrixQorP**Tto be returned.M >= 0.NβN is INTEGER. The number of columns of the matrixQorP**Tto be returned.N >= 0.IfVECT = 'Q',M >= N >= min(M,K); ifVECT = 'P',N >= M >= min(N,K).KβK is INTEGER. IfVECT = 'Q', the number of columns in the originalM-by-Kmatrix reduced bySGEBRD. IfVECT = 'P', the number of rows in the originalK-by-Nmatrix reduced bySGEBRD.K >= 0.AβA is REAL array, dimension (LDA,N). On entry, the vectors which define the elementary reflectors, as returned bySGEBRD. On exit, theM-by-NmatrixQorP**T.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,M).TAUβTAU is REAL array, dimension(min(M,K))ifVECT = 'Q', or(min(N,K))ifVECT = 'P'.TAU(i)must contain the scalar factor of the elementary reflectorH(i)orG(i), which determinesQorP**T, as returned bySGEBRDin its array argumentTAUQorTAUP.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,min(M,N)).For optimum performanceLWORK >= min(M,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.
Definition at line 156 of file sorgbr.f.
π Author (again, because the page has two) π
Generated automatically by Doxygen for LAPACK from the source code.
Footer check, bestie: LAPACK Version 3.12.0, source SRC/sorgbr.f(3). Date isn't listed on this page β just pure version-and-source energy. π«Άπ
π¦ 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