altar.norms

Submodules

Package Contents

Classes

Functions

class altar.norms.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

altar.norms.l2()