/home/abui...RC/zrscl.f(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

hey bestie, welcome to the zrscl.f(3) page from the Library Functions Manual β€” yep, the LAPACK one. This little subroutine is giving β€œdivide a whole complex vector by one scalar” energy, and honestly it’s more iconic than it sounds. πŸ¦‹

🌸 NAME 🌸

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/zrscl.f

✨ SYNOPSIS ✨

🧚 Functions/Subroutines 🧚

  • subroutine ZRSCL (n, a, x, incx) β€” ZDRSCL multiplies a vector by the reciprocal of a real scalar.

πŸ’– Function/Subroutine Documentation πŸ’–

subroutine ZRSCL (integer n, complex*16 a, complex*16, dimension( * ) x, integer incx)

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

πŸŽ€ Purpose πŸŽ€

ZRSCL multiplies an n-element complex vector x by the complex scalar 1/a. It does this without overflow or underflow as long as the final result x/a does not overflow or underflow. That’s the whole flex, and the catch is literally right there in the sentence. ✨

πŸ“ Parameters πŸ“

  • N β€” N is INTEGER. The number of components of the vector x.
  • A β€” A is COMPLEX*16. The scalar a which is used to divide each component of x. A must not be 0, or the subroutine will divide by zero. 🚨 Do not test this, bestie.
  • X β€” X is COMPLEX*16 array, dimension (1+(N-1)*abs(INCX)). The n-element vector x.
  • 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

πŸ‘‘ Author πŸ‘‘

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

Definition at line 83 of file zrscl.f.


🌈 Author 🌈

Generated automatically by Doxygen for LAPACK from the source code.


okay that’s the whole vibe πŸ’… footer check: LAPACK Version 3.12.0, and the page path is /home/abui...RC/zrscl.f(3). kisses and clean builds 🫢

πŸ“¦ where this page comes from