scipp.norm#

scipp.norm(x)#

Element-wise norm.

Parameters:

x (VariableLike) – Input data.

Raises:

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

Returns:

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