SciPy

scipy.linalg.blas.scasum

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

Wrapper for scasum.

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