SRC/sorgtr.f(3)
π NAME π
okay so this page is SRC/sorgtr.f, and weβre in the Library Functions Manual β folding that manual-name vibe in right here so you know exactly where you are, bestie. Itβs all about the sorgtr life. π
π¦ SYNOPSIS π¦
β¨ Functions/Subroutines β¨
subroutine sorgtr (uplo, n, a, lda, tau, work, lwork, info)β the one and onlySORGTR, living its short-signature life.
πΈ Function/Subroutine Documentation πΈ
subroutine sorgtr (character uplo, integer n, real, dimension( lda, * ) a,
integer lda, real, dimension( * ) tau, real, dimension( * ) work,
integer lwork, integer info)
SORGTR β yes, thatβs the icon weβre documenting. π
β¨ Purpose β¨
okay so the glow-up: SORGTR generates a real orthogonal matrix Q which is defined as the product of n-1 elementary reflectors of order N, as returned by SSYTRD:
if UPLO = 'U', Q = H(n-1) . . . H(2) H(1),
if UPLO = 'L', Q = H(1) H(2) . . . H(n-1).
π Parameters π
UPLOβUPLOisCHARACTER*1. Itβs giving directions:= 'U': Upper triangle ofAcontains elementary reflectors fromSSYTRD;= 'L': Lower triangle ofAcontains elementary reflectors fromSSYTRD.
NβNisINTEGER. Itβs the order of the matrixQ.N >= 0.AβAisREAL array, dimension (LDA,N). On entry, itβs the vectors which define the elementary reflectors, as returned bySSYTRD. On exit, itβs theN-by-Northogonal matrixQ. main character transformation, honestly.LDAβLDAisINTEGER. Itβs the leading dimension of the arrayA.LDA >= max(1,N).TAUβTAUisREAL array, dimension (N-1).TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned bySSYTRD.WORKβWORKisREAL array, dimension (MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK.LWORKβLWORKisINTEGER. Itβs 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 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βINFOisINTEGER. Exit-status tea:= 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 122 of file sorgtr.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
Catch you later, bestie π
β¨ β source/version footer check: LAPACK, Version 3.12.0, and this page is SRC/sorgtr.f(3). The footer doesnβt list a separate date, just the version and file-page moment. π«Ά
π¦ 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