BLAS/SRC/cscal.f(3)
okay so this is the BLAS/SRC/cscal.f(3) page from the Library Functions Manual โ welcome to the cscal cinematic universe, bestie ๐
๐ NAME ๐
BLAS/SRC/cscal.f โ that's the name. literally it. no cap. ๐
This is the page for the cscal subroutine, which lives in the BLAS/SRC/cscal.f file. iconic file, iconic name, moving on. โจ
๐ SYNOPSIS ๐
Functions/Subroutines
subroutine cscal (n, ca, cx, incx)โ CSCAL. the whole vibe. slay โจ
๐ Function/Subroutine Documentation ๐
Here's the full signature, exactly as it appears:
subroutine cscal (integer n, complex ca, complex, dimension(*) cx, integer incx)
CSCAL. That's the name of the game. ๐ฎ
โจ Purpose โจ
The source doc block says:
!>
!> CSCAL scales a vector by a constant.
!>
Translation: it scales a vector by a constant, bestie. That's the whole purpose. periodt. ๐
๐ธ Parameters ๐ธ
NโINTEGER. number of elements in input vector(s) โ literally how many elements are in your input vector(s), bestie. ๐CAโCOMPLEX. On entry, CA specifies the scalar alpha. โ the scalar alpha itself, no cap. โจCXโCOMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCX ) )โ the array, sized exactly like that. no notes. ๐ธINCXโINTEGER. storage spacing between elements of CX โ the spacing between your CX elements, iykyk. ๐ฆ
๐ Author ๐
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
the whole squad, fr fr. ๐ซถ
๐ฅ Further Details ๐ฅ
The lore, exactly as written:
!>
!> 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: originally by jack dongarra, linpack, 3/11/78. Then modified 3/93 to return if incx .le. 0 โ yep, if incx is less than or equal to 0, it returns early. Then modified 12/3/93, array(1) declarations changed to array(*). that's the lore. ๐โจ
Definition at line 77 of file cscal.f. slay. ๐
๐ซถ Author ๐ซถ
Generated automatically by Doxygen for LAPACK from the source code. โ not me, not you, Doxygen. ๐ญ๐
source/version/page check: the footer says LAPACK, Version 3.12.0, and BLAS/SRC/cscal.f(3) โ that's the whole combo. bye bestie, go scale some vectors. ๐๐
๐ฆ 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