SASUM(3)
π 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 arealfunction calledSASUM, and she takesn,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βNisINTEGER, 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βSXis aREALarray, 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βINCXisINTEGER, and it's the storage spacing between elements ofSX. 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 theLAPACKdocs β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
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms