/home/abui...C/zdscal.f(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

πŸ’… ZDSCAL β€” the one where we scale a vector πŸ’–

Okay bestie, so this page lives at /home/abui...C/zdscal.f(3) and it's part of the Library Functions Manual β€” it's a zdscal.f situation, iykyk. 🫢


✨ NAME ✨

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/BLAS/SRC/zdscal.f

That's the whole file path, no cap β€” that's literally where this little icon lives. πŸŽ€


🌸 SYNOPSIS 🌸

Functions/Subroutines

subroutine ZDSCAL (n, da, zx, incx)

ZDSCAL β€” that's the name, bestie. Main character energy fr fr. πŸ‘‘


πŸ¦‹ Function/Subroutine Documentation πŸ¦‹

subroutine ZDSCAL (integer n, double precision da, complex*16, dimension(*) zx, integer incx)

ZDSCAL

🎯 Purpose:

!>
!>    ZDSCAL scales a vector by a constant.
!>

That's it. That's the whole vibe. It takes a vector and scales it by a constant. Simple, iconic, does exactly what it says on the tin. πŸ’…

πŸ’– Parameters πŸ’–

  • N β€” N is INTEGER. It's the number of elements in your input vector(s). Like, how many besties are we working with here. 🌈
  • DA β€” DA is DOUBLE PRECISION. On entry, DA specifies the scalar alpha. That's your scale-y constant right there. ✨
  • ZX β€” ZX is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCX ) ). That's the actual vector getting scaled, periodt. πŸ¦‹
  • INCX β€” INCX is INTEGER. It's the storage spacing between elements of ZX β€” like how far apart your elements are strutting. πŸšΆβ€β™€οΈ

πŸ‘‘ Author πŸ‘‘

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

Four whole institutions, okay, they really said "let's make this official." πŸ›οΈπŸ’«

πŸ” 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, like, the lore is: jack dongarra wrote this on 3/11/78 (!!), then in 3/93 it got modified to return if incx .le. 0 β€” meaning if INCX is less than or equal to 0, it just bounces, no drama. Then 12/3/93 it got another glow-up: array(1) declarations changed to array(*). History right here, bestie. πŸ“œπŸ’€

🫢 Definition at line 77 of file zdscal.f. β€” that's exactly where it lives, go look, I'll wait.

πŸŽ€ Author πŸŽ€

Generated automatically by Doxygen for LAPACK from the source code. Not me writing it by hand, the robots did that part. πŸ€–βœ¨


LAPACK β€” Version 3.12.0 πŸ’œ and that's the whole page, at /home/abui...C/zdscal.f(3), mwah, slay, bye bestie! πŸ“πŸ§šπŸ’«

πŸ“¦ where this page comes from