stdlib_sasum Function

public pure function stdlib_sasum(n, sx, incx)

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

Arguments

Type IntentOptional Attributes Name
integer(kind=ilp), intent(in) :: n
real(kind=sp), intent(in) :: sx(*)
integer(kind=ilp), intent(in) :: incx

Return Value real(kind=sp)