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 isCSSCALπ«Ά
β¨ 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:CXis declareddimension(*)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
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms