scipp.norm#

scipp.norm(x)#

Element-wise norm.

Parameters

x (Union[Variable, DataArray, Dataset]) – Input data.

Raises

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

Returns

Union[Variable, DataArray, Dataset] – Scalar elements computed as the norm values of the input elements.