SROTM(3)
π NAME π
Welcome to srotm.f(3), bestie! This is the Library Functions Manual page for srotm.f, and the source path is exactly:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/BLAS/SRC/srotm.f
Itβs giving iconic Fortran/BLAS source-file energy, no cap. π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine SROTM (n, sx, incx, sy, incy, sparam)
SROTM
π Function/Subroutine Documentation π
subroutine SROTM (integer n, real, dimension(*) sx, integer incx, real, dimension(*) sy, integer incy, real, dimension(5) sparam)
SROTM
Purpose
Okay so the mission, bestie, is to 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) and they sit at SX(LX+I*INCX), for 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 β yes, the source literally says USING USING, and we respect the typo. π«Ά
With SPARAM(1)=SFLAG, H has one of these 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).
For the data-storage tea in SPARAM, see SROTMG. π
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 at line 96 of file srotm.f.
πΈ Author πΈ
Generated automatically by Doxygen for LAPACK from the source code.
Alright bestie, thatβs the whole srotm.f(3) situation. The cute little footer says source LAPACK, Version 3.12.0, and /home/abui...SRC/srotm.f(3) β mwah π
β¨
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms