SRC/dorgtr.f(3)
πΈ NAME πΈ
SRC/dorgtr.f β okay bestie, this is the page for SRC/dorgtr.f, straight out of the Library Functions Manual. Itβs the DORGTR subroutine from LAPACK and itβs lowkey iconic π
π SYNOPSIS π
β¨ Functions/Subroutines β¨
subroutine dorgtr (uplo, n, a, lda, tau, work, lwork, info)
DORGTR
π¦ Function/Subroutine Documentation π¦
The whole signature situation is literally:
subroutine dorgtr (character uplo, integer n, double precision, dimension(
lda, * ) a, integer lda, double precision, dimension( * ) tau, double
precision, dimension( * ) work, integer lwork, integer info)
DORGTR
β¨ Purpose β¨
DORGTR generates a real orthogonal matrix Q which is defined as the product of n-1 elementary reflectors of order N, as returned by DSYTRD:
if UPLO = 'U', Q = H(n-1) . . . H(2) H(1),
if UPLO = 'L', Q = H(1) H(2) . . . H(n-1).
No cap, thatβs the whole vibe of what it does π«Ά
π Parameters π
UPLOβCHARACTER*1.= 'U': Upper triangle ofAcontains elementary reflectors fromDSYTRD;= 'L': Lower triangle ofAcontains elementary reflectors fromDSYTRD.
NβINTEGER. The order of the matrixQ.N >= 0.AβDOUBLE PRECISIONarray, dimension(LDA,N). On entry, the vectors which define the elementary reflectors, as returned byDSYTRD. On exit, theN-by-Northogonal matrixQ.LDAβINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).TAUβDOUBLE PRECISIONarray, dimension(N-1).TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned byDSYTRD.WORKβDOUBLE PRECISIONarray, dimension(MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK.LWORKβINTEGER. The dimension of the arrayWORK.LWORK >= max(1,N-1). For optimum performanceLWORK >= (N-1)*NB, whereNBis the optimal blocksize.- If
LWORK = -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.
- If
INFOβINTEGER.= 0: successful exit< 0: ifINFO = -i, thei-thargument had an illegal value
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 122 of file dorgtr.f.
π« Author π«
Generated automatically by Doxygen for LAPACK from the source code.
bestie, this cutie was rendered by LAPACK Version 3.12.0, source file SRC/dorgtr.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