CLACRT(3)
π CLACRT(3) π
okay so bestie, quick vibe check: this page is straight out of the Library Functions Manual, and it's the manpage for clacrt.f(3) β yeah, an auto-generated Doxygen situation, we love a machine-made king π. Sit down, hydrate, and let me walk you through it π
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/clacrt.f
bestie the NAME is literally the entire file path π that's what happens when Doxygen generates your docs, it's giving "no thoughts, just path" and honestly? iconic. moving on π«Ά
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine CLACRT (n, cx, incx, cy, incy, c, s)
CLACRT performs a linear transformation of a pair of complex vectors. slay β¨
π Function/Subroutine Documentation π
subroutine CLACRT (integer n, complex, dimension( * ) cx, integer incx,
complex, dimension( * ) cy, integer incy, complex c, complex s)
CLACRT performs a linear transformation of a pair of complex vectors. same girl, fuller signature β now you can see every arg's type at a glance π
π¦ Purpose
like, here's the whole thing verbatim because I would never paraphrase math at you:
!>
!> CLACRT 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 and rotates/mixes them with that cute little 2x2 matrix. it's giving linear algebra glow-up π
π Parameters
NβN is INTEGER. The number of elements in the vectorsCXandCY. like, how many besties are in the group chat π
!> N is INTEGER
!> The number of elements in the vectors CX and CY.
CXβCX is COMPLEX array, dimension (N). On input it's the vector x; on output,CXis overwritten withc*x + s*y. it literally reinvents itself, main character energy π₯
!> CX is COMPLEX 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 ofCX. and listen:INCX <> 0. that's not a suggestion, bestie, that's a rule π¨
!> INCX is INTEGER
!> The increment between successive values of CX. INCX <> 0.
CYβCY is COMPLEX array, dimension (N). On input it's the vector y; on output,CYis overwritten with-s*x + c*y. notice the minus sign, don't lose it, that's the whole plot twist π
!> CY is COMPLEX array, dimension (N)
!> On input, the vector y.
!> On output, CY is overwritten with -s*x + c*y.
INCYβINCY is INTEGER. The increment between successive values ofCY. alsoINCY <> 0, same energy, same rule π
!> INCY is INTEGER
!> The increment between successive values of CY. INCY <> 0.
CβC is COMPLEX. one half of the transformation duo π«Ά
!> C is COMPLEX
SβS is COMPLEX. and here's the combo meal βCandSdefine the matrix:
!> S is COMPLEX
!> C and S define the matrix
!> [ C S ].
!> [ -S C ]
look at that matrix. symmetric-ish, complex, adorable. she ate π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
and per the docs: Definition at line 104 of file clacrt.f. π a whole little address for your girl, iykyk.
π Author (the Doxygen one) π
Generated automatically by Doxygen for LAPACK from the source code. like, no human wrote this page, a robot did, and she still served β¨π€
ok so real quick β this page is auto-generated from the source, so the "documentation" is a pile of !> comment lines reproduced faithfully. I kept every one of them exactly as-is because that's the assignment, bestie. no cap π
and that's the whole page, fr fr π huge thank you to LAPACK, Version 3.12.0, and shoutout to /home/abui...RC/clacrt.f(3) β you did that, toodles bestie, go call CLACRT responsibly π
π¦πΈ
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms