SROTM(3)

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

πŸ’– 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 of SX.
  • SY β€” SY is REAL array, dimension ( 1 + ( N - 1 )*abs( INCY ) ).
  • INCY β€” INCY is INTEGER; storage spacing between elements of SY.
  • 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 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