clartg.f(3)

πŸ“¦ version 3.9.0, in centos-stream 9

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:

  • F and G are unchanged on return.
  • If G=0, then CS=1 and SN=0.
  • If F=0, then CS=0 and SN is chosen so that R is real.
bestie, those differences are the whole lore β€” don't skip them 🫢

πŸ“ Parameters

  • F β€” F is COMPLEX. The first component of vector to be rotated.
  • G β€” G is COMPLEX. The second component of vector to be rotated.
  • CS β€” CS is REAL. The cosine of the rotation.
  • SN β€” SN is COMPLEX. The sine of the rotation.
  • R β€” R is COMPLEX. 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