BLAS/SRC/dzasum.f(3)

✨ NAME ✨

okay so bestie, this page is BLAS/SRC/dzasum.f(3) from the Library Functions Manual β€” and the NAME section is literally just:

BLAS/SRC/dzasum.f

not me being obsessed with a BLAS function, but here we are πŸ’…

🌈 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 πŸ’…

DZASUM takes the sum of the (|Re(.)| + |Im(.)|)'s of a complex vector and returns a double precision result.

that’s the whole vibe: the (|Re(.)| + |Im(.)|)'s get summed, and the result comes back as double precision. iconic ✨

πŸ“ Parameters πŸ“

N

N is INTEGER β€” number of elements in input vector(s) 🫢

ZX

ZX is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) πŸ¦‹

INCX

INCX is INTEGER β€” storage spacing between elements of ZX πŸ’…

πŸ’– Author πŸ’–

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

🌸 Further Details 🌸

the source notes are giving very specific vintage receipt energy:

jack dongarra, 3/11/78.
modified 3/93 to return if incx .le. 0.
modified 12/3/93, array(1) declarations changed to array(*)

Definition at line 71 of file dzasum.f.

πŸ’œ Author πŸ’œ

Generated automatically by Doxygen for LAPACK from the source code.

okay that’s the whole page, bestie πŸ’– source/version: LAPACK Version 3.12.0, page BLAS/SRC/dzasum.f(3) β€” mwah, slay, periodt, bye! πŸŽ€βœ¨

πŸ“¦ where this page comes from