Weighting.norm

Weighting.norm(x)[source]

Calculate the norm of an element.

This is the standard implementation using inner. Subclasses should override it for optimization purposes.

Parameters

x1ArrayLike

Element whose norm is calculated.

Returns

normfloat

The norm of the element.