ZDRSCL(3)

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

okay so this is zdrscl.f(3) from the Library Functions Manual β€” a LAPACK subroutine page that is literally about multiplying a complex vector by the reciprocal of a real scalar. πŸ’– bestie, it’s giving tiny-but-powerful linear algebra energy. ✨

🌸 NAME 🌸

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

That’s the whole NAME section, no cap β€” just the path and a dream. πŸ’…

✨ SYNOPSIS ✨

🧚 Functions/Subroutines 🧚

subroutine ZDRSCL (n, sa, sx, incx)
    ZDRSCL multiplies a vector by the reciprocal of a real scalar.

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

subroutine ZDRSCL (integer n, double precision sa, complex*16, dimension( * ) sx, integer incx)

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

🌟 Purpose

ZDRSCL multiplies an n-element complex vector x by the real scalar 1/a. πŸ’– This is done without overflow or underflow as long as the final result x/a does not overflow or underflow. ✨ like, that’s the whole assignment, and she ate.

πŸŽ€ Parameters

Here’s the whole cast of characters, bestie: 🫢

  • N β€” N is INTEGER, and it’s the number of components of the vector x. πŸ’–
  • SA β€” SA is DOUBLE PRECISION; it’s the scalar a which is used to divide each component of x. 🫢 SA must be >= 0, or the subroutine will divide by zero. 😭
  • SX β€” SX is COMPLEX*16 array, dimension (1+(N-1)*abs(INCX)); it’s the n-element vector x. ✨
  • INCX β€” INCX is INTEGER; it’s the increment between successive values of the vector SX. πŸ’… The mapping for > 0 is:
> 0:  SX(1) = X(1) and SX(1+(i-1)*INCX) = x(i),     1< i<= n
⚠️ warning bestie: SA must be >= 0, or the subroutine will divide by zero. not cute, not slay, do not do it. πŸ’€

πŸ‘‘ Author

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

πŸ“ Definition at line 83 of file zdrscl.f.

🌈 Author 🌈

Generated automatically by Doxygen for LAPACK from the source code. she was generated, she’s automatic, she’s iconic. πŸ’…


mwah πŸ’‹ β€” no date in the footer, but the source/version is LAPACK Version 3.12.0, and the footer path is /home/abui...RC/zdrscl.f(3). byeee bestie πŸ«ΆπŸ’–

πŸ“¦ where this page comes from