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 ofSX. 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 ofSY. same energy asINCXbut for the other vector, iykyk πCβC is REAL. that's it, that's the parameter. she's justCπSβS is REAL. and this one's justS. 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
- 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