SORGHR(3)
π SORGHR(3) β bestie, welcome to the Library Functions Manual β¨
okay so this is the whole vibe for SORGHR(3), and yes, itβs giving βLAPACK girlie who knows her reflectors.β π
πΈ NAME πΈ
The NAME section is literally just this source file path, no extra one-liner:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/sorghr.f
π¦ SYNOPSIS π¦
π§ Functions/Subroutines
subroutine SORGHR (n, ilo, ihi, a, lda, tau, work, lwork, info)
SORGHR
π« Function/Subroutine Documentation π«
Hereβs the full signature, bestie β character-for-character energy:
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
okay so what does SORGHR actually do? It 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).
Thatβs the whole main-character job. π
π§Έ Parameters
NβINTEGER. The order of the matrixQ.N >= 0.ILOβINTEGER.IHIβ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).1 <= ILO <= IHI <= N, ifN > 0;ILO=1andIHI=0, ifN=0.AβREALarray, dimension(LDA,N). On entry, the vectors which define the elementary reflectors, as returned bySGEHRD. On exit, theN-by-Northogonal matrixQ.LDAβINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).TAUβREALarray, dimension(N-1).TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned bySGEHRD.WORKβREALarray, dimension(MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK.LWORKβ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βINTEGER.= 0: successful exit.< 0: ifINFO = -i, thei-th argument had an illegal value.
π Author π
The author squad on this one is:
- 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.
Thatβs the whole page, bestie π
β¨ The footer says LAPACK Version 3.12.0 and points to /home/abui...RC/sorghr.f(3) β thatβs the source/version tag, and thereβs no date line on this one. π«Ά
π¦ 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