BLAS/SRC/drot.f(3)
π« BLAS/SRC/drot.f(3) π«
okay so this is a page from the Library Functions Manual and honestly? it's a little legend. it lives at BLAS/SRC/drot.f and it's about one (1) subroutine that spins your vectors around. let's get into it β¨
πΈ NAME πΈ
BLAS/SRC/drot.f β that's the file, that's the vibe, that's the whole name. short and iconic, no notes π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine drot (n, dx, incx, dy, incy, c, s)β bestie this is literally the whole thing, it'sDROT
π Function/Subroutine Documentation π
subroutine drot (integer n, double precision, dimension(*) dx, integer incx,
double precision, dimension(*) dy, integer incy, double precision c,
double precision s)
DROT π«Ά
π¦ Purpose:
!> !> DROT applies a plane rotation. !>
like, that's it. that's the job. it applies a plane rotation. she's simple, she's effective, she ate π₯
π Parameters
NβNisINTEGER, and it's the number of elements in your input vector(s). plural, yes, because there's two vectors involved, keep up π
!> N is INTEGER !> number of elements in input vector(s) !>
DXβDXisDOUBLE PRECISION array, dimension( 1 + ( N - 1 )*abs( INCX ) ). that dimension spec is doing the most but respect it π
!> DX is DOUBLE PRECISION array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) !>
INCXβINCXisINTEGER, and it's the storage spacing between elements ofDX. so like, how far apart the squad stands π
!> INCX is INTEGER !> storage spacing between elements of DX !>
DYβDYisDOUBLE PRECISION array, dimension( 1 + ( N - 1 )*abs( INCY ) ). notice it'sINCYin there, notINCX, do not mix them up bestie π
!> DY is DOUBLE PRECISION array, dimension ( 1 + ( N - 1 )*abs( INCY ) ) !>
INCYβINCYisINTEGER, the storage spacing between elements ofDY. same energy asINCXbut for the other vector, twin behavior π
!> INCY is INTEGER !> storage spacing between elements of DY !>
CβCisDOUBLE PRECISION. that's the whole description. mysterious. main character energy. no further elaboration π
!> C is DOUBLE PRECISION !>
SβSisDOUBLE PRECISION. also mysterious, also iconic, also no further elaboration. they're a matching set fr fr β
!> S is DOUBLE PRECISION !>
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
a whole committee of legends, we stan π«Ά
π Further Details:
!> !> jack dongarra, linpack, 3/11/78. !> modified 12/3/93, array(1) declarations changed to array(*) !>
okay so historical lore: jack dongarra, linpack, 3/11/78. and then modified 12/3/93, array(1) declarations changed to array(*). glow-up documented, dates preserved, we love a paper trail π
π₯ Definition at line 91 of file drot.f.
line 91, not 90, not 92. remember it for the exam π
π Author
Generated automatically by Doxygen for LAPACK from the source code. so nobody hand-wrote this bad boy, a robot did it, and honestly the robot ate πβ¨
lowkey though β if you're here you're probably already deep in BLAS and i'm so proud of you π
mwah π stay rotated, bestie
β this page was brought to you by LAPACK, Version 3.12.0, dated BLAS/SRC/drot.f(3) π§π
π¦ 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