SRC/dlartgp.f(3)
SRC/dlartgp.f(3) π
okay bestie, welcome to the SRC/dlartgp.f(3) page from the Library Functions Manual β¨ Itβs the DLARTGP show, and the whole plot is: generate a plane rotation so that the diagonal is nonnegative. No cap, thatβs the assignment π
NAME π¦
SRC/dlartgp.f β thatβs the name, thatβs the whole vibe. Itβs giving βmath file with main character energyβ and honestly? Obsessed π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine dlartgp (f, g, cs, sn, r)
subroutine dlartgp (f, g, cs, sn, r)β DLARTGP generates a plane rotation so that the diagonal is nonnegative. Slay π«Ά
π 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. Periodt π
π Purpose π
okay so the purpose is literally this, bestie:
[ 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:
FandGare unchanged on return. π¦- If
G=0, thenCS=(+/-)1andSN=0. β¨ - If
F=0and (G .ne. 0), thenCS=0andSN=(+/-)1. π« - The sign is chosen so that
R >= 0. π
πΈ Parameters πΈ
FβFisDOUBLE PRECISION; the first component of vector to be rotated. πΌGβGisDOUBLE PRECISION; the second component of vector to be rotated. π¦CSβCSisDOUBLE PRECISION; the cosine of the rotation. β¨SNβSNisDOUBLE PRECISION; the sine of the rotation. π«RβRisDOUBLE PRECISION; the nonzero component of the rotated vector. π
Tiny legacy note, no cap: 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.
Thatβs the whole page, bestie π«Ά β LAPACK Version 3.12.0, SRC/dlartgp.f(3). Go rotate something responsibly π
β¨
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms