clartg.f(3)
okay bestie, welcome to the clartg.f(3) page from the LAPACK manual β this is the section-3 glow-up, and yes, we're getting into plane rotations π
π NAME
clartg.f β that's the name, that's the vibe, periodt β¨
πΈ SYNOPSIS
π§ Functions/Subroutines
subroutine clartg (F, G, CS, SN, R)β CLARTG generates a plane rotation with real cosine and complex sine. iconic behavior, ngl π¦
π¦ Function/Subroutine Documentation
π« subroutine clartg (complex F, complex G, real CS, complex SN, complex R)
CLARTG generates a plane rotation with real cosine and complex sine. no cap, that's the whole main-character job π
π Purpose
CLARTG generates a plane rotation so that
[ CS SN ] [ F ] [ R ]
[ __ ] . [ ] = [ ] where CS**2 + |SN|**2 = 1.
[ -SN CS ] [ G ] [ 0 ]
This is a faster version of the BLAS1 routine CROTG, except for the following differences:
FandGare unchanged on return.- If
G=0, thenCS=1andSN=0. - If
F=0, thenCS=0andSNis chosen so thatRis real.
bestie, those differences are the whole lore β don't skip them π«Ά
π Parameters
FβFisCOMPLEX. The first component of vector to be rotated.GβGisCOMPLEX. The second component of vector to be rotated.CSβCSisREAL. The cosine of the rotation.SNβSNisCOMPLEX. The sine of the rotation.RβRisCOMPLEX. The nonzero component of the rotated vector.
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Date
December 2016 β a whole era, honestly β
π₯ Further Details
3-5-96 β Modified with a new algorithm by W. Kahan and J. Demmel. slay, legends π
This version has a few statements commented out for thread safety (machine parameters are computed on each entry). 10 feb 03, SJH.
Definition: Definition at line 105 of file clartg.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code.
mwah π β this page is LAPACK Version 3.8.0, dated Tue Nov 14 2017, and it's giving clartg.f(3) footer realness, bestie π«Άβ¨
π¦ where this page comes from
- centos-stream 9: lapack 3.9.0-10.el9 Β· BSD
- centos-stream 9: lapack 3.9.0-10.el9 Β· BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms