BLAS/SRC/dzasum.f(3)

NAME πŸ’–

BLAS/SRC/dzasum.f β€” bestie, this is the LAPACK page for dzasum, and it's literally just one iconic little function. We're in the BLAS/SRC directory, the file is dzasum.f, and it's giving "small but mighty." ✨


SYNOPSIS πŸ¦‹

Functions/Subroutines

double precision function dzasum (n, zx, incx)
    DZASUM

Function/Subroutine Documentation 🌸

double precision function dzasum (integer n, complex*16, dimension(*) zx,
    integer incx)

DZASUM πŸ‘‘

Purpose

Okay so here's the whole vibe: DZASUM takes the sum of the (|Re(.)| + |Im(.)|)'s of a complex vector and returns a double precision result. That's it. That's the function. Absolute main character energy for a sum. πŸ’…


Parameters πŸŽ€

  • N β€” N is INTEGER. It's the number of elements in the input vector(s), bestie. Count them. πŸ”’
  • ZX β€” ZX is COMPLEX*16 array, with dimension ( 1 + ( N - 1 )*abs( INCX ) ). Yes the dimension expression is exactly that, don't come for me, it's the stride math. πŸ’–
  • INCX β€” INCX is INTEGER, the storage spacing between elements of ZX. Basically how far apart your girl's elements are living from each other. ✨

Author 🫢

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

Further Details 🌈

jack dongarra, 3/11/78.
modified 3/93 to return if incx .le. 0.
modified 12/3/93, array(1) declarations changed to array(*)
Heads up bestie: incx .le. 0 makes it return β€” that's the 3/93 glow-up. The 12/3/93 one swapped array(1) declarations for array(*). Iconic history, no cap. πŸ’€

Definition at line 71 of file dzasum.f. πŸ“


Author 🧚

Generated automatically by Doxygen for LAPACK from the source code. Not a human wrote this part, it's literally the robot doing its thing. πŸ€–βœ¨


Version 3.12.0 Β· Tue Nov 28 2023 12:08:41 Β· BLAS/SRC/dzasum.f(3)

Okay that's the whole page, bestie β€” go sum some absolute values of real and imaginary parts, you absolute legend. πŸ’œ Slay, stay safe, and remember: incx .le. 0 means bye bye. πŸ‘‘