DOPGTR(3)
β¨ DOPGTR π β the LAPACK girlypop page
okay so bestie, you found the dopgtr.f(3) page from the Library Functions Manual and honestly? it's giving linear algebra main character energy. this is the LAPACK corner of the filesystem, and we're about to make sense of it together. no cap. π«Ά
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dopgtr.f
like, that's the whole name. it's a long path and it's that girl. slay. π
π SYNOPSIS π
Functions/Subroutines
subroutine DOPGTR (uplo, n, ap, tau, q, ldq, work, info)
DOPGTR β literally the name, iconic, no notes.
π¦ Function/Subroutine Documentation π¦
subroutine DOPGTR (character uplo, integer n, double precision, dimension( * ) ap, double precision, dimension( * ) tau, double precision, dimension( ldq, * ) q, integer ldq, double precision, dimension( * ) work, integer info)
DOPGTR again, because twice is cute and the docs said so. β¨
π Purpose π
!> !> DOPGTR generates a real orthogonal matrix Q which is defined as the !> product of n-1 elementary reflectors H(i) of order n, as returned by !> DSPTRD using packed storage: !> !> if UPLO = 'U', Q = H(n-1) . . . H(2) H(1), !> !> if UPLO = 'L', Q = H(1) H(2) . . . H(n-1). !>
so basically bestie, DOPGTR builds you a real orthogonal matrix Q, and Q is the product of n-1 elementary reflectors H(i) of order n, exactly the way DSPTRD handed them over using packed storage. and depending on which way your UPLO swings, the order is different:
- if
UPLO = 'U', thenQ = H(n-1) . . . H(2) H(1) - if
UPLO = 'L', thenQ = H(1) H(2) . . . H(n-1)
that's it, that's the vibe check. π
π Parameters π
UPLOβ isCHARACTER*1, and here's the tea:= 'U': upper triangular packed storage was used in the previous call toDSPTRD= 'L': lower triangular packed storage was used in the previous call toDSPTRD
Nβ isINTEGER, the order of the matrixQ. and it must beN >= 0fr fr.APβ isDOUBLE PRECISION array, dimension (N*(N+1)/2). these are the vectors that define the elementary reflectors, as returned byDSPTRD. πTAUβ isDOUBLE PRECISION array, dimension (N-1).TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned byDSPTRD. like, the lore is right there.Qβ isDOUBLE PRECISION array, dimension (LDQ,N). it's theN-by-Northogonal matrixQitself. our star. βLDQβ isINTEGER, the leading dimension of the arrayQ, and it needsLDQ >= max(1,N). respect the constraint bestie πWORKβ isDOUBLE PRECISION array, dimension (N-1). quiet little helper, doing its thing.INFOβ isINTEGERand it's the vibe report:= 0: successful exit β slay β¨< 0: ifINFO = -i, the i-th argument had an illegal value β not slay π
π§ Author π§
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
all icons, all credited, periodt. π
π Definition at line 113 of file dopgtr.f. π
yes bestie, line 113, marking it because we respect the source.
π¬ Author π¬
Generated automatically by Doxygen for LAPACK from the source code. no human wrote this bit, it's just the machine being helpful. π
okay and we're done!! π this whole thing is LAPACK Version 3.12.0 and it lives at /home/abui...RC/dopgtr.f(3) β mwah, go build your orthogonal matrix, you're gonna ate ππ¦π
π¦ 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