CROT(3)

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

πŸ’… CROT (3) β€” the plane rotation that ate πŸ’«

okay so bestie, welcome to the manual page for crot.f from the LAPACK library β€” the file lives at /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/crot.f and this whole page is <pink>that girl</pink>. no cap. πŸŽ€


✨ SYNOPSIS ✨

Functions/Subroutines

  • subroutine CROT (n, cx, incx, cy, incy, c, s) β€” CROT applies a plane rotation with real cosine and complex sine to a pair of complex vectors. πŸŒ€

🌸 Function/Subroutine Documentation 🌸

subroutine CROT (integer n, complex, dimension( * ) cx, integer incx,
    complex, dimension( * ) cy, integer incy, real c, complex s)

CROT applies a plane rotation with real cosine and complex sine to a pair of complex vectors. literally its whole personality. πŸ’–

Purpose:

!>
!> CROT 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 like β€” C is a real one, S is doing the complex thing, and CX + CY are both complex vectors. that's the vibe check and it passed. ✨

Parameters

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

the count of how many elements are chilling in CX and CY. πŸ“

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

you come in as vector X, you leave as C*X + S*Y. glow-up fr fr. πŸ”₯

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

the step size between successive values of CX. and INCX <> 0 β€” zero is not it, bestie. πŸ™ˆ

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

comes in as vector Y, leaves as -CONJG(S)*X + C*Y. note the conj and the minus, do not skip them, iykyk. πŸ’€

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

the increment between successive values of CY. and yes, the comment literally says INCX <> 0 right there in the INCY entry β€” not me editing, that's verbatim from the source, we don't make the rules. 😭

  • C
!>          C is REAL
!>

real one. <italic>literally.</italic> 🫢

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

C and S tag-team to define the rotation matrix up there ☝️ and the rule is C*C + S*CONJG(S) = 1.0. that's the constraint, periodt. πŸ‘‘

Author

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

Definition at line 102 of file crot.f. πŸ“


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for LAPACK from the source code. so no human wrote this bit, it's giving robot main character energy. πŸ€–βœ¨


and that's the whole page!! πŸ’œ this was LAPACK, Version 3.12.0, page /home/abui.../SRC/crot.f(3) β€” mwah, go rotate some planes bestie, ily πŸ§šπŸ’–

πŸ“¦ where this page comes from