SciPy

scipy.linalg.blas.sasum

scipy.linalg.blas.sasum(x[, n, offx, incx]) = <fortran sasum>

Wrapper for sasum.

Parameters:
x : input rank-1 array(‘f’) with bounds (*)
Returns:
s : float
Other Parameters:
 
n : input int, optional

Default: (len(x)-offx)/abs(incx)

offx : input int, optional

Default: 0

incx : input int, optional

Default: 1