ConstWeighting.norm

ConstWeighting.norm(self, x)

Calculate the norm of an element.

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

Parameters
x1LinearSpaceElement

Element whose norm is calculated.

Returns
normfloat

The norm of the element.