CSCAL(3)
π 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βNisINTEGER, and it's the number of elements in the input vector(s). that's the headcount bestie, know your guest list β¨CAβCAisCOMPLEX. on entry,CAspecifies the scalar alpha. this is the constant doing the scaling, the main character of the whole operation πCXβCXisCOMPLEX 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βINCXisINTEGER, the storage spacing between elements ofCX. 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
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms