This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _fblas / dnrm2

blas_function

scipy.linalg._fblas:dnrm2

source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_fblas.cpython-314-x86_64-linux-gnu.so

Signature

def dnrm2(x, n = None, offx = 0, incx = 1)

Summary

Compute the Euclidean norm sqrt(sum(abs(x)**2)) (BLAS dnrm2).

Parameters

x : ndarray

Input vector.

n : int, optional

Number of elements to process. Default is the whole vector.

offx : int, optional

Index of the first element of x to use. Default is 0.

incx : int, optional

Stride between successive elements of x. Default is 1.

Returns

nrm : float

The Euclidean norm of x.

Aliases

  • scipy.linalg._fblas.dnrm2