/home/abui.../dlartgp.f(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

Okay bestie πŸ’–, welcome to the Library Functions Manual entry for dlartgp.f(3) β€” yes, we’re doing LAPACK math and we’re gonna slay it.

✨ NAME ✨

This whole page is literally the manpage for this file, bestie:

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dlartgp.f

πŸ’… SYNOPSIS πŸ’…

🧚 Functions/Subroutines 🧚

  • subroutine DLARTGP (f, g, cs, sn, r) β€” DLARTGP generates a plane rotation so that the diagonal is nonnegative. πŸ’«

πŸŽ€ Function/Subroutine Documentation πŸŽ€

subroutine DLARTGP (double precision f, double precision g, double precision cs, double precision sn, double precision r)

DLARTGP generates a plane rotation so that the diagonal is nonnegative. That’s the whole vibe. πŸ¦‹

πŸ”₯ Purpose πŸ”₯

Bestie, DLARTGP generates a plane rotation so that:

   [  CS  SN  ]  .  [ F ]  =  [ R ]   where CS**2 + SN**2 = 1.
   [ -SN  CS  ]     [ G ]     [ 0 ]

This is a slower, more accurate version of the Level 1 BLAS routine DROTG, with the following other differences:

  • F and G are unchanged on return.
  • If G=0, then CS=(+/-)1 and SN=0.
  • If F=0 and (G .ne. 0), then CS=0 and SN=(+/-)1.

The sign is chosen so that R >= 0. Periodt. πŸ‘‘

πŸ“ Parameters πŸ“

  • F β€” F is DOUBLE PRECISION; the first component of vector to be rotated. πŸ’…
  • G β€” G is DOUBLE PRECISION; the second component of vector to be rotated. πŸ’…
  • CS β€” CS is DOUBLE PRECISION; the cosine of the rotation. πŸ’…
  • SN β€” SN is DOUBLE PRECISION; the sine of the rotation. πŸ’…
  • R β€” R is DOUBLE PRECISION; the nonzero component of the rotated vector. πŸ’…
This version has a few statements commented out for thread safety (machine parameters are computed on each entry). 10 feb 03, SJH.

πŸ‘‘ Author πŸ‘‘

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

🧚 Definition at line 94 of file dlartgp.f. 🧚

πŸ’œ Author πŸ’œ

Generated automatically by Doxygen for LAPACK from the source code.


Signed, sealed, delivered by LAPACK Version 3.12.0 from /home/abui.../dlartgp.f(3) β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from