BLAS/SRC/dasum.f(3)

NAME πŸŽ€

BLAS/SRC/dasum.f β€” bestie, this is the LAPACK girlie whose whole job is adding up absolute values. It's giving math but make it cute. ✨


SYNOPSIS πŸ’…

Functions/Subroutines

double precision function dasum (n, dx, incx)

DASUM


Function/Subroutine Documentation πŸ¦‹

double precision function dasum (integer n, double precision, dimension(*)
    dx, integer incx)

DASUM</purl> DASUM

Purpose: 🌸

DASUM takes the sum of the absolute values.

That's it. That's the whole vibe. No cap. πŸ’–

Parameters ✨

  • N β€” N is INTEGER. It's the number of elements in the input vector(s), aka how many little numbers we're counting, bestie.
  • DX β€” DX is DOUBLE PRECISION array, dimension ( 1 + ( N - 1 )*abs( INCX ) ). Yes the dimension expression is exactly that, don't come for me. 🫢
  • INCX β€” INCX is INTEGER. It's the storage spacing between elements of DX, i.e. how far apart the numbers are chillin' in the array. Lowkey important.

Author πŸ‘‘

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

Further Details: πŸ“œ

jack dongarra, linpack, 3/11/78.
modified 3/93 to return if incx .le. 0.
modified 12/3/93, array(1) declarations changed to array(*)
Not me reading the git history from 1978 πŸ’€ β€” the incx .le. 0 early-return was added in 3/93, and the array(1) β†’ array(*) glow-up happened 12/3/93. Character development fr fr.

Definition at line 70 of file dasum.f. ⭐


Author 🧚

Generated automatically by Doxygen for LAPACK from the source code. She's literally auto-generated and still ate. πŸ’…


πŸ’– That's the whole page, bestie! Version 3.12.0, dated Tue Nov 28 2023 12:08:41, straight outta BLAS/SRC/dasum.f(3). Sum those absolutes and slay. Periodt. πŸ’–