altar.norms.L2
Module Contents
Classes
- class altar.norms.L2.L2(name, locator, **kwds)
Bases:
altar.componentThe L2 norm
- eval(self, v, sigma_inv=None)
Compute the L2 norm of the given vector, with or without a covariance matrix
- withCovariance(self, v, sigma_inv)
Compute the L2 norm of the given vector using the given Cholesky decomposed inverse covariance matrix