altar.norms.Norm

Module Contents

Classes

class altar.norms.Norm.Norm

Bases: altar.protocol

The protocol that all AlTar norms must satify

eval(self, v, **kwds)

Compute the L2 norm of the given vector

classmethod pyre_default(cls, **kwds)

Provide a default norm in case the user hasn’t selected one