/home/abui...C/srotmg.f(3)

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

πŸ’– SROTMG β€” srotmg.f πŸ’–

Library Functions Manual vibes, bestie! You're on /home/abui...C/srotmg.f(3), and this page is all about the BLAS routine SROTMG from srotmg.f. ✨

🌈 NAME 🌈

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/BLAS/SRC/srotmg.f β€” that's the file, periodt. πŸ’…

🌸 SYNOPSIS 🌸

✨ Functions/Subroutines ✨

  • subroutine SROTMG (sd1, sd2, sx1, sy1, sparam) β€” the callable, and the label under it is literally SROTMG. Main character energy, honestly.
subroutine SROTMG (sd1, sd2, sx1, sy1, sparam)
    SROTMG

πŸ’… Function/Subroutine Documentation πŸ’…

Here's the full signature tea:

subroutine SROTMG (real sd1, real sd2, real sx1, real sy1, real,
     dimension(5) sparam)
    SROTMG

🌟 Purpose 🌟

Okay so SROTMG constructs the modified Givens transformation matrix H which zeros the second component of the 2-vector (SQRT(SD1)*SX1,SQRT(SD2)*> SY2)**T. And yes, the *> and spacing are in the source exactly like that β€” we are not fixing it, no cap. 🫢

With SPARAM(1)=SFLAG, H has one of these four forms:

!>    SFLAG=-1.E0     SFLAG=0.E0        SFLAG=1.E0     SFLAG=-2.E0
!>
!>      (SH11  SH12)    (1.E0  SH12)    (SH11  1.E0)    (1.E0  0.E0)
!>    H=(          )    (          )    (          )    (          )
!>      (SH21  SH22),   (SH21  1.E0),   (-1.E0 SH22),   (0.E0  1.E0).

Locations 2-4 of SPARAM contain SH11, SH21, SH12, and SH22 respectively. (The source says 2-4, bestie β€” not me changing it. πŸ’€) Values of 1.E0, -1.E0, or 0.E0 implied by the value of SPARAM(1) are not stored in SPARAM.

The values of GAMSQ and RGAMSQ set in the DATA statement may be inexact. That's okay because they are only used for testing the size of SD1 and SD2; all actual scaling of data is done using GAM. πŸ’–

πŸŽ€ Parameters πŸŽ€

  • SD1 β€” SD1 is REAL
  • SD2 β€” SD2 is REAL
  • SX1 β€” SX1 is REAL
  • SY1 β€” SY1 is REAL
  • SPARAM β€” SPARAM is REAL array, dimension (5)
    • SPARAM(1)=SFLAG
    • SPARAM(2)=SH11
    • SPARAM(3)=SH21
    • SPARAM(4)=SH12
    • SPARAM(5)=SH22

πŸ‘‘ Author πŸ‘‘

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

Definition at line 89 of file srotmg.f.

πŸ¦‹ Author πŸ¦‹

Generated automatically by Doxygen for LAPACK from the source code.


πŸ’– That's the whole page, bestie! πŸ’– Footer tea: LAPACK Version 3.12.0, page /home/abui...C/srotmg.f(3). The footer didn't give a separate date, so we're not inventing one β€” periodt. 🫢

πŸ“¦ where this page comes from