Returns the sum of absolute values of vector components.
BLAS Library (libblas.a)
The SASUM, DASUM, SCASUM, or DZASUM function returns the sum of absolute values of vector components.
Item | Description |
---|---|
N | On entry, N specifies the number of elements in X and Y; unchanged on exit. |
X | Vector of dimension at least (1 + (N-1) * abs(INCX) ); unchanged on exit. |
INCX | On entry, INCX specifies the increment for the elements of X; INCX must be greater than 0; unchanged on exit. |
For values of N <= 0, a value of 0 is returned.