BLAS/SRC/sdot.f(3)
π NAME π
BLAS/SRC/sdot.f β bestie, this is where SDOT lives, and SDOT is the little function that could π«Ά
β¨ SYNOPSIS β¨
Functions/Subroutines
real function sdot (n, sx, incx, sy, incy)
SDOT
okay so it's literally just one function, no drama, no entourage, just vibes π
πΈ Function/Subroutine Documentation πΈ
real function sdot (integer n, real, dimension(*) sx, integer incx, real,
dimension(*) sy, integer incy)
SDOT
π Purpose:
SDOT forms the dot product of two vectors. it's giving math but make it fashion β¨ and lowkey the tea is: it uses unrolled loops for increments equal to one. so if your spacing is 1, it goes fast. periodt π
π¦ Parameters
NβN is INTEGER, the number of elements in your input vector(s). how many numbers are we vibing with, bestie π’SXβSX is REAL array, dimension ( 1 + ( N - 1 )*abs( INCX ) ). it's a REAL array and that's exactly how big it needs to be, no cap πINCXβINCX is INTEGER, the storage spacing between elements ofSX. basically how far apart the lil guys are standing in line πΆβοΈπΆβοΈπΆβοΈSYβSY is REAL array, dimension ( 1 + ( N - 1 )*abs( INCY ) ). also REAL, also array, also got a size formula, iconic πINCYβINCY is INTEGER, the storage spacing between elements ofSY. same energy asINCXbut for the other vector π§
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
shoutout to the whole committee, they ate and left no crumbs π
π Further Details:
jack dongarra, linpack, 3/11/78.
modified 12/3/93, array(1) declarations changed to array(*)
look at the history bestie, 3/11/78!! ancient lore fr fr. and then 12/3/93 came through and changed the array(1) declarations to array(*). glow up moment π
β Definition at line 81 of file sdot.f.
ngl that's the whole function right there. line 81. go look. iykyk π
π«Ά Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code. not a human writing this one, it's a whole robot doing its thing π€β¨
Version 3.12.0 Β· Tue Nov 28 2023 12:08:41 Β· BLAS/SRC/sdot.f(3)
and that's the whole page, bestie π mwah, go compute a dot product, you're gonna slay ππ
π¦ where this page comes from
- centos-stream 10: blas 3.12.0-7.el10 Β· BSD-3-Clause-Open-MPI
- fedora 43: blas 3.12.0-10.fc43 Β· BSD-3-Clause-Open-MPI
- fedora 43: blas 3.12.0-10.fc43 Β· BSD-3-Clause-Open-MPI
- fedora 44: blas 3.12.0-11.fc44 Β· BSD-3-Clause-Open-MPI
- fedora 44: blas 3.12.0-11.fc44 Β· BSD-3-Clause-Open-MPI
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms