BLAS/SRC/srot.f(3)

πŸ’« BLAS/SRC/srot.f β€” from the Library Functions Manual ✨

okay so picture this: you're deep in the LAPACK docs, the BLAS/SRC folder specifically, and you find srot.f. that's our girl. she's a Fortran file, she does one thing, and she does it iconically. let's get into it πŸŽ€


🌸 NAME 🌸

BLAS/SRC/srot.f β€” literally just the file, bestie. that's the whole name. no cap.


✨ SYNOPSIS ✨

πŸ¦‹ Functions/Subroutines

subroutine srot (n, sx, incx, sy, incy, c, s)

SROT β€” the main character herself πŸ’…


πŸ‘‘ Function/Subroutine Documentation πŸ‘‘

subroutine srot (integer n, real, dimension(*) sx, integer incx, real,
    dimension(*) sy, integer incy, real c, real s)

SROT. she's here, she's serving, she rotates planes. πŸŒ€

🧚 Purpose:

applies a plane rotation.

that's it. that's the whole purpose. lowkey elegant, highkey iconic. ✨

πŸ’œ Parameters

  • N β€” N is INTEGER, the number of elements in your input vector(s). like, how many besties are we rotating today 🫢
  • SX β€” SX is REAL array, dimension ( 1 + ( N - 1 )*abs( INCX ) ). the first vector, living her best life as a REAL array.
  • INCX β€” INCX is INTEGER, the storage spacing between elements of SX. think of it as how far apart the girls are standing πŸ’ƒ
  • SY β€” SY is REAL array, dimension ( 1 + ( N - 1 )*abs( INCY ) ). the second vector, also a REAL array, also thriving.
  • INCY β€” INCY is INTEGER, the storage spacing between elements of SY. same energy as INCX but for the other vector, iykyk 🌈
  • C β€” C is REAL. that's it, that's the parameter. she's just C πŸ’€
  • S β€” S is REAL. and this one's just S. no notes. πŸ™ˆ

⭐ Author

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

the whole squad contributed, fr fr 🫢

πŸ”₯ Further Details:

jack dongarra, linpack, 3/11/78. modified 12/3/93, array(1) declarations changed to array(*)

so she's vintage β€” original author credit goes to jack dongarra, linpack, dated 3/11/78, and then she got a lil glow-up on 12/3/93 when the array(1) declarations were changed to array(*). a true makeover moment πŸ’…βœ¨

Definition at line 91 of file srot.f. πŸ“


πŸ“ Author πŸ“

Generated automatically by Doxygen for LAPACK from the source code. not a human, just a robot doing her lil thing πŸ€–πŸ’–


kisses bestie, and that's the page! brought to you by LAPACK, Version 3.12.0 β€” the footer said so, and she said it with her whole chest πŸ‘‘πŸŽ€ go rotate something. slay. πŸ’«

πŸ“¦ where this page comes from