scipp.norm#

scipp.norm(x)#

Element-wise norm.

Parameters

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

Raises

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

Returns

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