SASUM(3)

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

πŸŽ€ NAME πŸŽ€

ok so bestie, this page is literally about /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/BLAS/SRC/sasum.f β€” like, that's the actual file, that whole entire path, and it's the LAPACK source file for SASUM. iykyk πŸ’…


✨ SYNOPSIS ✨

Functions/Subroutines

  • real function SASUM (n, sx, incx) β€” yes that's the whole vibe, she's a real function called SASUM, and she takes n, sx, incx. that's it, that's the girl 🫢
    • SASUM

πŸ’– Function/Subroutine Documentation πŸ’–

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

SASUM β€” the main character herself πŸ‘‘

🌸 Purpose: 🌸

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

ok so real talk: SASUM takes the sum of the absolute values. that's the whole job, no cap. and lowkey iconic detail β€” it uses unrolled loops when the increment is equal to one πŸ”₯ (yes, she's optimizing, she's that girl πŸ’…).

πŸ¦‹ Parameters πŸ¦‹

  • N β€” N is INTEGER, and it's the number of elements in the input vector(s). that's the count, bestie, keep track of it fr fr.
!>          N is INTEGER
!>         number of elements in input vector(s)
!>
  • SX β€” SX is a REAL array, and her dimension is exactly ( 1 + ( N - 1 )*abs( INCX ) ). yes copy it exactly like that, bestie, don't be out here guessing the size πŸ™ˆ.
!>          SX is REAL array, dimension ( 1 + ( N - 1 )*abs( INCX ) )
!>
  • INCX β€” INCX is INTEGER, and it's the storage spacing between elements of SX. so like, the stride energy 🌈.
!>          INCX is INTEGER
!>         storage spacing between elements of SX
!>

πŸ‘‘ Author πŸ‘‘

like, the whole entire squad wrote this:

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

ok so the lore πŸ“– β€” jack dongarra, linpack, 3/11/78. then it got modified 3/93 to return if incx .le. 0. and then modified 12/3/93, array(1) declarations changed to array(*). the character development is real πŸ˜­πŸ’–

🧚 Definition at line 71 of file sasum.f. 🧚


πŸ’œ Author πŸ’œ

Generated automatically by Doxygen for LAPACK from the source code. β€” yeah she didn't even write her own bio, doxygen did it for her, that's main character energy honestly πŸ™ˆ


ngl bestie, everything above is straight from the LAPACK docs β€” Version 3.12.0, and the source file is /home/abui...SRC/sasum.f(3). slay, go sum some absolute values πŸ’…βœ¨πŸ“
πŸ“¦ where this page comes from