scipp.norm

scipp.norm(x)

Element-wise norm.

Parameters

x (VariableLike) – Input data.

Raises

If the dtype has no norm, i.e., if it is not a vector.

Returns

Scalar elements computed as the norm values of the input elements.

Return type

VariableLike