BLAS/SRC/sasum.f(3)

Okay bestie, welcome to the Library Functions Manual page for BLAS/SRC/sasum.f πŸ’…. We’re doing SASUM, and yes, every little detail is coming with us β€” no cap.

🌸 NAME 🌸

BLAS/SRC/sasum.f β€” that’s the file, bestie. Manual name energy: Library Functions Manual (iykyk). ✨

✨ SYNOPSIS ✨

Functions/Subroutines

  • real function sasum (n, sx, incx) β€” SASUM

πŸ’… Function/Subroutine Documentation πŸ’…

real function sasum (integer n, real, dimension(*) sx, integer incx)

SASUM

πŸŽ€ Purpose

!>
!>    SASUM takes the sum of the absolute values.
!>    uses unrolled loops for increment equal to one.
!>

Bestie, that’s the whole purpose: sum of the absolute values, and unrolled loops when the increment is one. Slay. πŸ”₯

πŸŽ€ Parameters

N

!>          N is INTEGER
!>         number of elements in input vector(s)
!>

SX

!>          SX is REAL array, dimension ( 1 + ( N - 1 )*abs( INCX ) )
!>

INCX

!>          INCX is INTEGER
!>         storage spacing between elements of SX
!>

🫢 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(*)
!>

Definition at line 71 of file sasum.f. Yes bestie, line seventy-one, periodt. πŸ’…

🫢 Author 🫢

Generated automatically by Doxygen for LAPACK from the source code. (Doxygen did the typing, LAPACK got the source-code cred.) πŸ’–


Footer sign-off, because we’re cute and thorough: LAPACK Version 3.12.0, page BLAS/SRC/sasum.f(3) β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from