BLAS/SRC/csscal.f(3)

✨ NAME ✨

BLAS/SRC/csscal.f β€” bestie, this is the whole file, and it's about to scale your whole complex vector by a real number πŸ’–


🌸 SYNOPSIS 🌸

Functions/Subroutines

subroutine csscal (n, sa, cx, incx)
    CSSCAL

πŸŽ€ Function/Subroutine Documentation πŸŽ€

subroutine csscal (integer n, real sa, complex, dimension(*) cx, integer incx)
    CSSCAL

πŸ’… Purpose:

CSSCAL scales a complex vector by a real constant. That's it, that's the whole job, and she does it flawlessly, periodt ✨

πŸ¦‹ Parameters

  • N β€” ok so, N is INTEGER, and it's the number of elements in input vector(s). That's the headcount, the guest list, how many of them you brought 🌸
  • SA β€” SA is REAL. On entry, SA specifies the scalar alpha. So like, this is the real number doing the scaling β€” the main character of the multiplication, lowkey πŸ‘‘
  • CX β€” CX is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCX ) ). Yes bestie, the dimension expression is literally that, don't @ me πŸ™ˆ
  • INCX β€” INCX is INTEGER, and it's the storage spacing between elements of CX. It's the stride, the little gap between your elements, the way you walk through the array πŸšΆβ€β™€οΈ

πŸ’œ Author

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

⭐ 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(*)
Not the historical receipts being right there in the source 😭 three eras of edits and every single one of them preserved, we love a documented glow-up 🫢

🌈 Definition at line 77 of file csscal.f.

πŸ’– Author

Generated automatically by Doxygen for LAPACK from the source code. Not a human, just a little robot doing its best, and honestly? It ate πŸ’…


That's the whole page, bestie β€” no cap, every flag, every parameter, every version of the history is still right here. This was Version 3.12.0, dated Tue Nov 28 2023 12:08:41, and it lives at BLAS/SRC/csscal.f(3). Slay, go scale something πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ