scipp.norm#
- scipp.norm(x)#
Element-wise norm.
- Parameters:
x (
TypeVar
(VariableLikeType
,Variable
,DataArray
,Dataset
,DataGroup
[Any
])) – Input data.- Raises:
scipp.DTypeError – If the dtype has no norm, i.e., if it is not a vector.
- Returns:
TypeVar
(VariableLikeType
,Variable
,DataArray
,Dataset
,DataGroup
[Any
]) – Scalar elements computed as the norm values of the input elements.