bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _fblas / snrm2
blas_function
scipy.linalg._fblas:snrm2
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_fblas.cpython-314-x86_64-linux-gnu.so
Signature
def snrm2(x, n = None, offx = 0, incx = 1)Summary
Compute the Euclidean norm sqrt(sum(abs(x)**2)) (BLAS snrm2).
Parameters
x: ndarrayInput vector.
n: int, optionalNumber of elements to process. Default is the whole vector.
offx: int, optionalIndex of the first element of
xto use. Default is 0.incx: int, optionalStride between successive elements of
x. Default is 1.
Returns
nrm: floatThe Euclidean norm of
x.
Aliases
scipy.linalg._fblas.snrm2