ZLACRT(3)

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

πŸ’… ZLACRT(3) β€” the LAPACK girlies' guide to a teeny tiny complex rotation

ok so this page lives in the LAPACK Library Functions Manual (that's the (3) bit, iykyk) ✨ and it's literally about one small subroutine that does one small slay. Let's get into it πŸŽ€


🌸 SYNOPSIS 🌸

Functions/Subroutines

  • subroutine ZLACRT (n, cx, incx, cy, incy, c, s) β€” bestie, this one performs a linear transformation of a pair of complex vectors. that's the whole vibe πŸ’«

πŸ¦‹ Function/Subroutine Documentation πŸ¦‹

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

ZLACRT performs a linear transformation of a pair of complex vectors. yes. that's it. that's the function. iconic behavior honestly πŸ‘‘

πŸŽ€ Purpose πŸŽ€

!> !> ZLACRT performs the operation !> !> ( c s )( x ) ==> ( x ) !> ( -s c )( y ) ( y ) !> !> where c and s are complex and the vectors x and y are complex. !>

so it takes your two complex vectors x and y, hits them with that little c/s matrix, and hands them right back. main character rotation energy fr fr 🌈

✨ Parameters ✨

  • N β€” N is INTEGER. it's the number of elements in the vectors CX and CY. the headcount, basically 🫢
  • CX β€” CX is COMPLEX*16 array, dimension (N). on input, this is the vector x. on output, CX is overwritten with c*x + s*y. bye old values, hello glow-up πŸ’–
  • INCX β€” INCX is INTEGER. the increment between successive values of CX. and bestie, INCX <> 0. that's a hard requirement, no cap πŸ’€
  • CY β€” CY is COMPLEX*16 array, dimension (N). on input, this is the vector y. on output, CY is overwritten with -s*x + c*y. she also got a makeover πŸ¦‹
  • INCY β€” INCY is INTEGER. the increment between successive values of CY. and INCY <> 0 too. respect the rules or else πŸ™ˆ
  • C β€” C is COMPLEX*16. just vibing here, holding half the matrix.
  • S β€” S is COMPLEX*16. and C and S together define the matrix:
[  C   S  ]
[ -S   C  ]

that's the whole transformation, and it's lowkey gorgeous 🌸

πŸ‘‘ Author πŸ‘‘

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

shoutout to the whole team, legends only 🫢✨

Definition at line 104 of file zlacrt.f. (yes, line 104, write it down πŸ“)


πŸ’œ Author πŸ’œ

Generated automatically by Doxygen for LAPACK from the source code. not a human wrote this part, it's giving robot fairy energy πŸ§šβ€β™€οΈ


okay that's the whole page bestie, mwah πŸ’‹ β€” this was LAPACK Version 3.12.0, from /home/abui...RC/zlacrt.f(3), and yes the path is truncated like that in the original, i don't make the rules 😭

πŸ“¦ where this page comes from