BLAS/SRC/drot.f(3)

πŸ’– BLAS/SRC/drot.f(3) β€” the LAPACK manual, bestie edition πŸ’–

okay so this is a page out of the LAPACK manual β€” section 3, the BLAS/SRC one β€” and today's main character is drot.f. yes, that file. the rotation girlie. let's get into it πŸ’…


✨ NAME ✨

BLAS/SRC/drot.f

that's it. that's the name. short, sweet, iconic πŸŽ€


🌸 SYNOPSIS 🌸

Functions/Subroutines

subroutine drot (n, dx, incx, dy, incy, c, s)

DROT πŸ¦‹


πŸ’« Function/Subroutine Documentation πŸ’«

subroutine drot

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.

that's the whole vibe. it spins your vectors. lowkey elegant, highkey useful πŸŒ€

🧚 Parameters

  • N β€” N is INTEGER number of elements in input vector(s). like, how many things are we rotating bestie, that's the count πŸ”’
  • DX β€” DX is DOUBLE PRECISION array, dimension ( 1 + ( N - 1 )*abs( INCX ) )
  • INCX β€” INCX is INTEGER storage spacing between elements of DX. how far apart your x-values are chillin' in memory πŸ‘€
  • DY β€” DY is DOUBLE PRECISION array, dimension ( 1 + ( N - 1 )*abs( INCY ) )
  • INCY β€” INCY is INTEGER storage spacing between elements of DY. same deal, but for the y side πŸ’«
  • C β€” C is DOUBLE PRECISION
  • S β€” S is DOUBLE PRECISION
ngl, C and S come with absolutely zero extra description in the original, so I'm not about to make up lore for them. they're DOUBLE PRECISION, that's the tea 🍡

πŸ‘‘ Author

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

four whole institutions for one rotation routine. it's giving collaboration. it's giving academic excellence. periodt πŸŽ“

πŸ”₯ Further Details:

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

jack dongarra, linpack, 3/11/78. a legend. a founder. the blueprint πŸ’œ and then modified 12/3/93, when the array(1) declarations got switched up to array(*). glow-up era fr fr ✨

Definition at line 91 of file drot.f. line 91, bestie, go look πŸ‘‘


🫢 Author

Generated automatically by Doxygen for LAPACK from the source code.

no human wrote this page, the robots did, and honestly? they ate πŸ€–πŸ’…


Version 3.12.0 🌈 Tue Nov 28 2023 12:08:41 🌈 and that's the whole page, bestie β€” BLAS/SRC/drot.f(3), done and dusted, rotating vectors and serving looks since 1978 πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ