SRC/sorghr.f(3)
π NAME π
SRC/sorghr.f β the page for the SORGHR subroutine, periodt π
Okay so this is the SRC/sorghr.f(3) page from the Library Functions Manual, and it is lowkey all about one very specific LAPACK baddie: SORGHR β¨
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine sorghr (n, ilo, ihi, a, lda, tau, work, lwork, info)
SORGHR
π¦ Function/Subroutine Documentation π¦
subroutine sorghr (integer n, integer ilo, integer ihi, real, dimension(
lda, * ) a, integer lda, real, dimension( * ) tau, real, dimension( * )
work, integer lwork, integer info)
SORGHR π«
π Purpose π
SORGHR generates a real orthogonal matrix Q which is defined as the product of IHI-ILO elementary reflectors of order N, as returned by SGEHRD:
Q = H(ilo) H(ilo+1) . . . H(ihi-1).
π Parameters π
NβN is INTEGER; the order of the matrixQ.N >= 0πILOβILO is INTEGERπ«ΆIHIβIHI is INTEGER;ILOandIHImust have the same values as in the previous call ofSGEHRD.Qis equal to the unit matrix except in the submatrixQ(ilo+1:ihi,ilo+1:ihi). Also:1 <= ILO <= IHI <= N, ifN > 0;ILO=1andIHI=0, ifN=0.AβA is REAL array, dimension (LDA,N). On entry, the vectors which define the elementary reflectors, as returned bySGEHRD. On exit, theN-by-Northogonal matrixQπLDAβLDA is INTEGER; the leading dimension of the arrayA.LDA >= max(1,N).TAUβTAU is REAL array, dimension (N-1).TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned bySGEHRDπ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 >= IHI-ILO. For optimum performanceLWORK >= (IHI-ILO)*NB, whereNBis the optimal blocksize.
If LWORK = -1, then a workspace query is assumed; the routine only calculates the optimal size of the WORK array, returns this value as the first entry of the WORK array, and no error message related to LWORK is issued by XERBLA π
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.
Definition at line 125 of file sorghr.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
Later, bestie! This adorable page is brought to you by LAPACK, Version 3.12.0, and its home is SRC/sorghr.f(3) π«Άβ¨
π¦ 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