ZLACGV(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

πŸ¦‹ 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