BLAS/SRC/cscal.f(3)
β¨ BLAS/SRC/cscal.f β¨
okay bestie, welcome to the <pink>cscal</pink> files π this is the LAPACK BLAS corner of the internet, and today we're scaling complex vectors. no cap.
πΈ NAME πΈ
BLAS/SRC/cscal.f β that's the file, that's the whole vibe π«Ά
π 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. that's it. that's the whole job. iconic behavior honestly π
π Parameters
NβNisINTEGER. it's the number of elements in input vector(s), so like, how many lil guys we're working with π§CAβCAisCOMPLEX. On entry,CAspecifies the scalar alpha. soCAis literally the number we're multiplying everything by πCXβCXisCOMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCX ) ). look at that dimension expression, she's giving math, she's giving precision, we love her πINCXβINCXisINTEGER. storage spacing between elements ofCX, aka how far apart the elements are chilling in memory π
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
the academic royalty lineup, periodt π
π 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(*)
okay so the lore: jack dongarra dropped this in linpack on 3/11/78, then in 3/93 they added a return for when incx .le. 0 (early exit, we stan a guard clause), and then on 12/3/93 the array(1) declarations got switched to array(*) π₯
Definition at line 77 of file cscal.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. yeah, a robot wrote this one, but it ate anyway π€β¨
Version 3.12.0 β Tue Nov 28 2023 12:08:41 β BLAS/SRC/cscal.f(3)
and that's the whole page bestie π«Ά go forth and scale some complex vectors, iykyk π π
π¦ where this page comes from
- centos-stream 10: blas 3.12.0-7.el10 Β· BSD-3-Clause-Open-MPI
- fedora 43: blas 3.12.0-10.fc43 Β· BSD-3-Clause-Open-MPI
- fedora 43: blas 3.12.0-10.fc43 Β· BSD-3-Clause-Open-MPI
- fedora 44: blas 3.12.0-11.fc44 Β· BSD-3-Clause-Open-MPI
- fedora 44: blas 3.12.0-11.fc44 Β· BSD-3-Clause-Open-MPI
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms