BLAS/SRC/csscal.f(3)

πŸ’… BLAS/SRC/csscal.f β€” like, the whole manual, bestie

okay so this is the csscal page from the BLAS docs, living under BLAS/SRC/csscal.f(3) in the Library Functions Manual. it's short, it's sweet, it slays, let's go πŸŽ€


✨ NAME ✨

BLAS/SRC/csscal.f β€” that's the file, that's the name, no notes πŸ’…


✨ SYNOPSIS ✨

🌸 Functions/Subroutines

  • subroutine csscal (n, sa, cx, incx) β€” this is the one, this is the icon, this is CSSCAL 🫢

✨ Function/Subroutine Documentation ✨

πŸ’– subroutine csscal (integer n, real sa, complex, dimension(*) cx, integer incx)

CSSCAL β€” say it with me πŸ‘‘

Purpose:

!>
!>    CSSCAL scales a complex vector by a real constant.
!>

so literally the whole job is: complex vector in, real constant applied, scaled vector out. that's it, that's the vibe check and it passed 🌈

Parameters

  • N β€” and the docs go:
!>          N is INTEGER
!>         number of elements in input vector(s)
!>
  • SA β€” the docs say:
!>          SA is REAL
!>           On entry, SA specifies the scalar alpha.
!>
  • CX β€” the docs say:
!>          CX is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCX ) )
!>
  • INCX β€” the docs say:
!>          INCX is INTEGER
!>         storage spacing between elements of CX
!>
🫢 note bestie: CX is declared dimension(*) in the signature but the docs describe it as dimension ( 1 + ( N - 1 )*abs( INCX ) ) β€” that's not a typo, that's literally how it's written. don't come for me, I'm just the messenger πŸ’€

Author

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

(all four of them, group project main character energy πŸ‘‘)

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(*)
!>

history lesson moment πŸ“œ β€” jack dongarra, linpack, 3/11/78. then modified 3/93 to return if incx .le. 0. and then modified 12/3/93, array(1) declarations changed to array(*). glow-ups across the decades, we love to see it ✨

Definition at line 77 of file csscal.f.

line 77, file csscal.f β€” she's located, she's found, she's at line seventy-seven πŸ’…


✨ Author ✨

Generated automatically by Doxygen for LAPACK from the source code. (yes bestie, a robot wrote the docs about the code, very meta, very 2024 of them πŸ€–πŸ’–)


and that's the whole page!! πŸ¦‹


sign-off era: this lil beauty is from LAPACK, Version 3.12.0, and the page footer date is BLAS/SRC/csscal.f(3) β€” okay that's the footer line, not a date, but you get the vibe πŸŽ€ mwah, go scale some complex vectors by a real constant, periodt πŸ’œ

πŸ“¦ where this page comes from