CSCAL(3)

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

πŸ’… CSCAL(3) β€” like, the complex scalar multiply era ✨

okay so real talk: this page lives in the Library Functions Manual, and the file it's literally from is /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/BLAS/SRC/cscal.f β€” yes that's the whole path, no I'm not abbreviating it, she's long but she's iconic πŸŽ€


✨ NAME ✨

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/BLAS/SRC/cscal.f β€” bestie this is the file, that's the whole name section, we move πŸ¦‹


🌸 SYNOPSIS 🌸

Functions/Subroutines

subroutine CSCAL (n, ca, cx, incx)
    CSCAL

πŸ‘‘ Function/Subroutine Documentation πŸ‘‘

subroutine CSCAL (integer n, complex ca, complex, dimension(*) cx, integer
    incx)

CSCAL 🫢

πŸ’– Purpose:

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

like literally that's the whole vibe β€” it scales a vector by a constant. no cap, that's it, that's the function πŸ’…

πŸ¦‹ Parameters πŸ¦‹

  • N β€” N is INTEGER, and it's the number of elements in the input vector(s). that's the headcount bestie, know your guest list ✨
  • CA β€” CA is COMPLEX. on entry, CA specifies the scalar alpha. this is the constant doing the scaling, the main character of the whole operation πŸ‘‘
  • CX β€” CX is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCX ) ). yes the dimension expression is exactly that, don't come for me, I'm just the messenger πŸŽ€
  • INCX β€” INCX is INTEGER, the storage spacing between elements of CX. how far apart the elements are chilling from each other, basically 🌈

🌟 Author 🌟

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

all four of them, together, ate πŸ’œ

πŸ”₯ Further Details:

!>
!>     jack dongarra, linpack,  3/11/78.
!>     modified 3/93 to return if incx .le. 0.
!>     modified 12/3/93, array(1) declarations changed to array(*)
!>

so she's got lore β€” jack dongarra, linpack, back on 3/11/78. then modified 3/93 to return if incx .le. 0, and modified 12/3/93 where the array(1) declarations changed to array(*). a whole glow-up journey over like fifteen years, we love a survivor πŸ˜­πŸ’–

Definition at line 77 of file cscal.f.

⭐ Author ⭐

Generated automatically by Doxygen for LAPACK from the source code. (not a human, a whole robot did this, and honestly? slayed πŸ€–βœ¨)


okay that's the page!! πŸŽ€ and for the cute sign-off: this whole thing is LAPACK, Version 3.12.0, from /home/abui...SRC/cscal.f(3) β€” go forth and scale those vectors, bestie, incx .le. 0 and all πŸ’…πŸ«ΆπŸŒΈ

πŸ“¦ where this page comes from