BLAS/SRC/scasum.f(3)
π NAME π
BLAS/SRC/scasum.f β bestie, you have arrived at the source file itself, and it's serving absolutely iconic "sum of absolute values" energy β¨
π¦ SYNOPSIS π¦
Functions/Subroutines
real function scasum (n, cx, incx)
SCASUM β that's her, that's the moment π
πΈ Function/Subroutine Documentation πΈ
real function scasum (integer n, complex, dimension(*) cx, integer incx)
SCASUM
β¨ Purpose β¨
Okay so literally what SCASUM does is: it takes the sum of the (|Re(.)| + |Im(.)|)'s of a complex vector and returns a single precision result. That's it, that's the whole gig, and she eats every single time π
π Parameters π
NβNisINTEGER. It's the number of elements in your input vector(s), bestie. The headcount. The guest list π«ΆCXβCXisCOMPLEX array, dimension( 1 + ( N - 1 )*abs( INCX ) ). Yes, the dimension expression is exactly that, no cap, write it down exactly like that.INCXβINCXisINTEGER. It's the storage spacing between elements ofSXβ like how far apart the girlies are standing in the array π
π 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(*)
Look at that little history lesson, the lore is real, the character development is unmatched πβ¨
Definition at line 71 of file scasum.f.
β Author β
Generated automatically by Doxygen for LAPACK from the source code. She's a bot-written queen and we respect her π
Version 3.12.0 Β· Tue Nov 28 2023 12:08:41 Β· BLAS/SRC/scasum.f(3)
That's the whole page bestie, version 3.12.0, stamped Tue Nov 28 2023 12:08:41, filed under BLAS/SRC/scasum.f(3) β go forth and sum those absolute real and imaginary parts, mwah ππ§π
π¦ where this page comes from
- centos-stream 10: blas 3.12.0-7.el10 Β· BSD-3-Clause-Open-MPI
- fedora 43: blas 3.12.0-10.fc43 Β· BSD-3-Clause-Open-MPI
- fedora 43: blas 3.12.0-10.fc43 Β· BSD-3-Clause-Open-MPI
- fedora 44: blas 3.12.0-11.fc44 Β· BSD-3-Clause-Open-MPI
- fedora 44: blas 3.12.0-11.fc44 Β· BSD-3-Clause-Open-MPI
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms