BLAS/SRC/zdscal.f(3)
β¨ BLAS/SRC/zdscal.f β¨
okay bestie, we're in the LAPACK BLAS folder today and this one is a whole little icon π
πΈ NAME πΈ
BLAS/SRC/zdscal.f β it's giving source file, it's giving subroutine realness, and honestly? we're obsessed.
π¦ SYNOPSIS π¦
Functions/Subroutines
subroutine zdscal (n, da, zx, incx)β the one, the only,ZDSCALπ
π Function/Subroutine Documentation π
subroutine zdscal (integer n, double precision da, complex*16, dimension(*)
zx, integer incx)
ZDSCAL β say it with me. it's iconic, it's short, it's literally doing the most with the least β¨
π Purpose π
ZDSCAL scales a vector by a constant. that's it, that's the whole job. no cap, it just multiplies. main character behaviour fr fr π₯
π Parameters π
NβNisINTEGER. it's how many elements are chilling in your input vector(s), bestie. the headcount. the vibe check on length π«DAβDAisDOUBLE PRECISION. On entry,DAspecifies the scalar alpha. so like... the number you're multiplying everything by. the moment. the multiplier. the slay factor, if you will πZXβZXisCOMPLEX*16array, dimension( 1 + ( N - 1 )*abs( INCX ) ). this is your actual vector, the star of the show, and yes you have to size it like that, I don't make the rules π«ΆINCXβINCXisINTEGER. it's the storage spacing between elements ofZX. so like, are we walking one step at a time or doing a lil skip? your call, queen π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
the whole squad showed up for this one, we love a collaborative moment ππ
β Further Details: β
jack dongarra, 3/11/78.
modified 3/93 to return if incx .le. 0.
modified 12/3/93, array(1) declarations changed to array(*)
so yeah, jack dongarra came through on 3/11/78, then in 3/93 it got a lil glow-up so it returns early if incx .le. 0 (no pointless walking, we respect the boundary π), and then on 12/3/93 the array(1) declarations were changed to array(*) β a historical makeover, honestly iconic behaviour πΈ
ngl the incx .le. 0 thing is the real MVP here β it just leaves. no drama, no wasted cycles. periodt.
Definition at line 77 of file zdscal.f. β¨
π§ Author π§
Generated automatically by Doxygen for LAPACK from the source code. (not a human, just a very diligent little robot doing its thing π€π)
and that's the whole page bestie!! stay scaling, stay spaced out at INCX intervals, and remember β you're literally the DA to someone's ZX π₯Ή
π Version 3.12.0 β Tue Nov 28 2023 12:08:41 β BLAS/SRC/zdscal.f(3) π
mwah π go forth and multiply (vectors by constants)
π¦ 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