SRC/zrot.f(3)
πΈ NAME πΈ
okay so welcome to the SRC/zrot.f(3) page from the Library Functions Manual, bestie. This file is SRC/zrot.f, and it is literally the home of zrot β tiny name, main-character energy. π
β¨ SYNOPSIS β¨
π Functions/Subroutines π
The synopsis is giving:
subroutine zrot (n, cx, incx, cy, incy, c, s)
And the vibe check: ZROT applies a plane rotation with real cosine and complex sine to a pair of complex vectors. periodt. β¨
π¦ Function/Subroutine Documentation π¦
Here's the full signature, copied exactly because we do not play with code, no cap:
subroutine zrot (integer n, complex*16, dimension( * ) cx, integer incx,
complex*16, dimension( * ) cy, integer incy, double precision c,
complex*16 s)
ZROT applies a plane rotation with real cosine and complex sine to a pair of complex vectors. yup, same energy, same facts. π«Ά
π Purpose π
The Purpose block says, verbatim:
!>
!> 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 like: real cos, complex sin, complex vectors CX and CY. slay. π
π Parameters π
πΈ N
!> N is INTEGER
!> The number of elements in the vectors CX and CY.
!>
π CX
!> CX is COMPLEX*16 array, dimension (N)
!> On input, the vector X.
!> On output, CX is overwritten with C*X + S*Y.
!>
π¦ INCX
!> INCX is INTEGER
!> The increment between successive values of CX. INCX <> 0.
!>
π CY
!> CY is COMPLEX*16 array, dimension (N)
!> On input, the vector Y.
!> On output, CY is overwritten with -CONJG(S)*X + C*Y.
!>
β INCY
!> INCY is INTEGER
!> The increment between successive values of CY. INCX <> 0.
!>
π C
!> C is DOUBLE PRECISION
!>
π₯ S
!> S is COMPLEX*16
!> C and S define a rotation
!> [ C S ]
!> [ -conjg(S) C ]
!> where C*C + S*CONJG(S) = 1.0.
!>
bestie, that matrix is the moment, and the condition is C*C + S*CONJG(S) = 1.0. β copied exactly, capitalization and all. π
π Author π
The academic icons behind this:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition at line 102 of file zrot.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay that's the whole page, bestie β the footer vibe is LAPACK Version 3.12.0 and the source/page is SRC/zrot.f(3). bye, slay, no cap π
β¨π
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms