SRC/csrscl.f(3)

πŸ’… SRC/csrscl.f πŸ’…

okay bestie, welcome to the Library Functions Manual side of the group chat β€” this page is all about SRC/csrscl.f, and it’s lowkey iconic. 🫢


✨ NAME ✨

SRC/csrscl.f

🌸 SYNOPSIS 🌸

Functions/Subroutines

  • subroutine csrscl (n, sa, sx, incx) β€” CSRSCL multiplies a vector by the reciprocal of a real scalar. slay. πŸ’…

πŸ¦‹ Function/Subroutine Documentation πŸ¦‹

subroutine csrscl (integer n, real sa, complex, dimension( * ) sx, integer incx)

CSRSCL multiplies a vector by the reciprocal of a real scalar.

πŸŽ€ Purpose: πŸŽ€

okay so CSRSCL multiplies an n-element complex vector x by the real scalar 1/a. The way it does this is specifically so there’s no overflow or underflow β€” as long as the final result x/a does not overflow or underflow. no cap. ✨

🌸 Parameters 🌸

  • N β€” N is INTEGER. The number of components of the vector x. literally the count, bestie.
  • SA β€” SA is REAL. The scalar a which is used to divide each component of x. SA must be >= 0, or the subroutine will divide by zero. 🚨 so please don’t do that.
  • SX β€” SX is COMPLEX array, dimension (1+(N-1)*abs(INCX)). The n-element vector x. that’s the main character right there.
  • INCX β€” INCX is INTEGER. The increment between successive values of the vector SX. > 0: SX(1) = X(1) and SX(1+(i-1)*INCX) = x(i), 1< i<= n β€” iykyk. πŸ’«

πŸ‘‘ Author πŸ‘‘

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

πŸ“Œ Definition at line 83 of file csrscl.f.

✨ Author ✨

Generated automatically by Doxygen for LAPACK from the source code.


and that’s the whole vibe check, bestie: this footer moment is LAPACK Version 3.12.0 with SRC/csrscl.f(3) energy, and no date on this one β€” periodt. πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from