ZROT(3)

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

πŸ¦‹ NAME πŸ¦‹

ok so bestie, this whole page is literally just the file path β€” the main character herself:

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/zrot.f

that's it, that's the name. no cap. πŸ’…


✨ SYNOPSIS ✨

Functions/Subroutines

subroutine ZROT (n, cx, incx, cy, incy, c, s)

ZROT applies a plane rotation with real cosine and complex sine to a pair of complex vectors. it's giving "spin class for numbers" honestly πŸŒ€


πŸ’– Function/Subroutine Documentation πŸ’–

subroutine ZROT (integer n, complex*16, dimension( * ) cx, integer incx,
    complex*16, dimension( * ) cy, integer incy, double precision c,
    complex*16 s)

okay so ZROT applies a plane rotation with real cosine and complex sine to a pair of complex vectors. that's the whole vibe, and she ate. πŸ”₯

🌸 Purpose 🌸

!> !> ZROT applies a plane rotation, where the cos (C) is real and the !> sin (S) is complex, and the vectors CX and CY are complex. !>

so yeah β€” cos is a plain real number, sin is out here living its complex truth, and CX + CY are both complex vectors. 🫢

πŸŽ€ Parameters πŸŽ€

N

!> N is INTEGER !> The number of elements in the vectors CX and CY. !>

how many elements each vector holds. the headcount, basically. πŸ‘‘

CX

!> CX is COMPLEX*16 array, dimension (N) !> On input, the vector X. !> On output, CX is overwritten with C*X + S*Y. !>

it comes in as the vector X and leaves as C*X + S*Y. glow-up AND a math transformation. 😭

INCX

!> INCX is INTEGER !> The increment between successive values of CX. INCX <> 0. !>

the stride between the values of CX β€” and pls note INCX <> 0, non-negotiable bestie. 🚫

CY

!> CY is COMPLEX*16 array, dimension (N) !> On input, the vector Y. !> On output, CY is overwritten with -CONJG(S)*X + C*Y. !>

enters as vector Y, exits as -CONJG(S)*X + C*Y. iconic behaviour, lowkey. ✨

INCY

!> INCY is INTEGER !> The increment between successive values of CY. INCX <> 0. !>

stride between the values of CY. and yes, the source literally says INCX <> 0 here too β€” that's what's written, so that's what we're saying. fr fr. πŸ™ˆ

C

!> C is DOUBLE PRECISION !>

that's it, that's the whole note. it's a DOUBLE PRECISION value and honestly respect. πŸ’…

S

!> S is COMPLEX*16 !> C and S define a rotation !> [ C S ] !> [ -conjg(S) C ] !> where C*C + S*CONJG(S) = 1.0. !>

here's the moment β€” C and S together define this rotation matrix:

[  C          S  ]
[ -conjg(S)   C  ]

and the whole thing satisfies C*C + S*CONJG(S) = 1.0. a unitary icon. 🌈⭐

πŸ‘‘ Author πŸ‘‘

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

the whole squad really showed up for this one. 🫢

Definition at line 102 of file zrot.f. keep that receipt, bestie. 🧚


πŸ’€ Author πŸ’€

Generated automatically by Doxygen for LAPACK from the source code. not a human, just robot energy doing robot things. πŸ€–


aaaand that's the page!! 🌸 sign-off time, cuties: this absolute gem came from LAPACK, Version 3.12.0, and the source file is /home/abui.../SRC/zrot.f β€” page (3) of the manual. go forth and rotate ur planes responsibly, ily, bye!! πŸ’–βœ¨πŸŽ€πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from