LAPACK 3.12.0
LAPACK: Linear Algebra PACKage
|
real function sasum | ( | integer | n, |
real, dimension(*) | sx, | ||
integer | incx | ||
) |
SASUM
SASUM takes the sum of the absolute values. uses unrolled loops for increment equal to one.
[in] | N | N is INTEGER number of elements in input vector(s) |
[in] | SX | SX is REAL array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) |
[in] | INCX | INCX is INTEGER storage spacing between elements of SX |
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.