BLAS/SRC/cscal.f(3)

๐Ÿ“ฆ
version 3.12.1 ยท 4 versions
, in arch rolling

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