SRC/slartgs.f(3)

🌸 NAME 🌸

SRC/slartgs.f β€” bestie, this is the Library Functions Manual entry for SRC/slartgs.f(3), and we’re folding that manual-name detail in right here so you don’t have to squint at a dusty header line πŸ’…


✨ SYNOPSIS ✨

πŸ’– Functions/Subroutines

  • subroutine slartgs (x, y, sigma, cs, sn) β€” SLARTGS generates a plane rotation designed to introduce a bulge in implicit QR iteration for the bidiagonal SVD problem.

🌈 Function/Subroutine Documentation 🌈

🧚 subroutine slartgs (real x, real y, real sigma, real cs, real sn)

subroutine slartgs (real x, real y, real sigma, real cs, real sn)

SLARTGS generates a plane rotation designed to introduce a bulge in implicit QR iteration for the bidiagonal SVD problem.

🎯 Purpose

Okay so here’s the whole plot: SLARTGS generates a plane rotation designed to introduce a bulge in Golub-Reinsch-style implicit QR iteration for the bidiagonal SVD problem. X and Y are the top-row entries, and SIGMA is the shift. The computed CS and SN define a plane rotation satisfying

   [  CS  SN  ]  .  [ X^2 - SIGMA ]  =  [ R ],
   [ -SN  CS  ]     [    X * Y    ]     [ 0 ]

with R nonnegative. If X^2 - SIGMA and X * Y are 0, then the rotation is by PI/2.

πŸŽ€ Parameters

  • X β€” X is REAL. The (1,1) entry of an upper bidiagonal matrix.
  • Y β€” Y is REAL. The (1,2) entry of an upper bidiagonal matrix.
  • SIGMA β€” SIGMA is REAL. The shift.
  • CS β€” CS is REAL. The cosine of the rotation.
  • SN β€” SN is REAL. The sine of the rotation.

πŸ‘‘ Author

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

🧾 Definition

Definition at line 89 of file slartgs.f.

πŸͺ„ Author

Generated automatically by Doxygen for LAPACK from the source code.


That’s the page, bestie β€” this is LAPACK, Version 3.12.0, and the source page is SRC/slartgs.f(3). Go forth and rotate those vectors, periodt πŸ’–βœ¨πŸ«Ά

πŸ“¦ where this page comes from