SciPy

scipy.linalg.blas.snrm2

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

Wrapper for snrm2.

Parameters:
x : input rank-1 array(‘f’) with bounds (*)
Returns:
n2 : 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