BLAS/SRC/srotmg.f(3)
β¨ NAME β¨
BLAS/SRC/srotmg.f β bestie, this is the home of the one and only srotmg π
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine srotmg (sd1, sd2, sx1, sy1, sparam)
SROTMG β that's the whole vibe, that's the whole function π«Ά
π Function/Subroutine Documentation π
subroutine srotmg (real sd1, real sd2, real sx1, real sy1, real, dimension(5) sparam)
SROTMG β¨
π Purpose π
Okay so picture this: we're CONSTRUCTING THE MODIFIED GIVENS TRANSFORMATION MATRIX H, and the whole point of H is that it ZEROS THE SECOND COMPONENT of this 2-vector:
(SQRT(SD1)*SX1,SQRT(SD2)*SY2)**T
With SPARAM(1)=SFLAG, H is giving one of these four looks:
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. And listen β any values of 1.E0, -1.E0, or 0.E0 that are implied by the value of SPARAM(1) are NOT stored in SPARAM. They're just implied, okay? π
Also, real talk: the values of GAMSQ and RGAMSQ set in the DATA statement MAY BE INEXACT. That's fine, that's fine β they're only used for testing the size of SD1 and SD2. All the actual scaling of data is done using GAM. So no cap, it genuinely doesn't matter π
π¦ Parameters π¦
SD1βSD1isREALβ¨SD2βSD2isREALβ¨SX1βSX1isREALβ¨SY1βSY1isREALβ¨SPARAMβSPARAMisREAL array, dimension (5)π
And inside that array, bestie:
SPARAM(1)=SFLAGSPARAM(2)=SH11SPARAM(3)=SH21SPARAM(4)=SH12SPARAM(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. Iconic behaviour, honestly.
Version 3.12.0 β Tue Nov 28 2023 12:08:41 π
Okay that's the whole page, bestie, go forth and zero that second component, mwah πβ¨π¦
π¦ where this page comes from
- centos-stream 10: blas 3.12.0-7.el10 Β· BSD-3-Clause-Open-MPI
- fedora 43: blas 3.12.0-10.fc43 Β· BSD-3-Clause-Open-MPI
- fedora 43: blas 3.12.0-10.fc43 Β· BSD-3-Clause-Open-MPI
- fedora 44: blas 3.12.0-11.fc44 Β· BSD-3-Clause-Open-MPI
- fedora 44: blas 3.12.0-11.fc44 Β· BSD-3-Clause-Open-MPI
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms