BLAS/SRC/srotm.f(3)
π BLAS/SRC/srotm.f(3) β Library Functions Manual
okay bestie, this is the BLAS/SRC/srotm.f(3) page, and it is lowkey iconic because it is all about applying a modified Givens transformation to a 2 BY N matrix. Matrices? Rotations? We love to see it. π¦
πΈ NAME πΈ
BLAS/SRC/srotm.f
β¨ SYNOPSIS β¨
π Functions/Subroutines
subroutine srotm (n, sx, incx, sy, incy, sparam)βSROTM
π¦ Function/Subroutine Documentation π¦
π subroutine srotm
subroutine srotm (integer n, real, dimension(*) sx, integer incx, real,
dimension(*) sy, integer incy, real, dimension(5) sparam)
SROTM
π Purpose π
Here is the whole purpose section, verbatim, because the matrix formatting is doing main character energy and we are not touching it:
!>
!> APPLY THE MODIFIED GIVENS TRANSFORMATION, H, TO THE 2 BY N MATRIX
!>
!> (SX**T) , WHERE **T INDICATES TRANSPOSE. THE ELEMENTS OF SX ARE IN
!> (SX**T)
!>
!> SX(LX+I*INCX), I = 0 TO N-1, WHERE LX = 1 IF INCX .GE. 0, ELSE
!> LX = (-INCX)*N, AND SIMILARLY FOR SY USING USING LY AND INCY.
!> WITH SPARAM(1)=SFLAG, H HAS ONE OF THE FOLLOWING 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).
!> SEE SROTMG FOR A DESCRIPTION OF DATA STORAGE IN SPARAM.
!>
!>
bestie, yes, the source really says USING USING in there. We are preserving the lore. No cap. π
π Parameters π
NβN is INTEGER; number of elements in input vector(s).SXβSX is REAL array, dimension ( 1 + ( N - 1 )*abs( INCX ) ).INCXβINCX is INTEGER; storage spacing between elements ofSX.SYβSY is REAL array, dimension ( 1 + ( N - 1 )*abs( INCY ) ).INCYβINCY is INTEGER; storage spacing between elements ofSY.SPARAMβSPARAM is REAL array, dimension (5).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 β
Definition at line 96 of file srotm.f.
π«Ά Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
kisses, bestie π this cutie is from LAPACK Version 3.12.0, source BLAS/SRC/srotm.f(3) β and the footer does not give a date, so we are absolutely not inventing one. πβ¨
π¦ 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