ZLACGV(3)
π¦ ZLACGV(3) β the conjugate glow-up page π¦
ok so real talk, this one lives in the Library Functions Manual (basically the zlacgv.f(3) corner of the universe) and it's genuinely one of the most satisfying little routines in LAPACK. no cap. bestie, if you've ever needed to flip the sign on the imaginary part of every single element of a complex vector and you were about to write a for-loop like a *peasant*β¦ put the keyboard down. this is literally what ZLACGV is for. π
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/zlacgv.f
that's the file. that's the whole name. yes it's a full path, yes it's giving "I was generated by a build system and nobody stopped me", we love her anyway π
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine ZLACGV (n, x, incx)β literally conjugates a complex vector. that's the whole vibe check and she passes with flying colours π
π Function/Subroutine Documentation π
subroutine ZLACGV (integer n, complex*16, dimension( * ) x, integer incx)
ZLACGV conjugates a complex vector. iconic behaviour, zero notes π
π§ Purpose:
!>
!> ZLACGV conjugates a complex vector of length N.
!>
so yeah β you hand her a complex vector of length N, she hands it back all conjugated. main character energy, does one thing and does it flawlessly β¨
π Parameters
N
!> N is INTEGER
!> The length of the vector X. N >= 0.
!>
N is your INTEGER length of the vector X, and bestie, it has to be N >= 0. no negative-length nonsense on this page, that's not the vibe π
X
!> X is COMPLEX*16 array, dimension
!> (1+(N-1)*abs(INCX))
!> On entry, the vector of length N to be conjugated.
!> On exit, X is overwritten with conjg(X).
!>
X is a COMPLEX*16 array with dimension (1+(N-1)*abs(INCX)) β yes that's a real dimension expression, write it exactly like that, don't get creative π
on entry it's the vector of length N you want conjugated. on exit, X is overwritten with conjg(X). not me screaming β it writes straight over your data, in place, no copies, no take-backs. she's efficient like that πβ¨
INCX
!> INCX is INTEGER
!> The spacing between successive elements of X.
!>
INCX is an INTEGER and it's the spacing between successive elements of X. so you can stride through your array like it's a runway π
(and remember, abs(INCX) shows up in that dimension expression up there π)
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
four institutions, one tiny conjugate routine, that's the group chat π«Ά
β Definition
Definition at line 73 of file zlacgv.f. go look, she's right there, 73 lines in, living her truth π
π¦ Author π¦
Generated automatically by Doxygen for LAPACK from the source code. not hand-written, not ghosted into existence β Doxygen did the typing, LAPACK supplied the brains π
tiny reminder: this page is documentation generated from the source. the behaviour is all in zlacgv.f β this is just the β¨press releaseβ¨
ok that's the whole page, go conjugate something, you're gonna slay π
LAPACK Β· Version 3.12.0 Β· /home/abui...RC/zlacgv.f(3) β mwah, that's the sign-off bestie ππ¦
π¦ 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