NumpyTensorSpaceCustomNorm¶
-
class
odl.space.npy_tensors.
NumpyTensorSpaceCustomNorm
(norm)[source]¶ Bases:
odl.space.weighting.CustomNorm
Class for handling a user-specified norm.
Note that this removes
inner
.- Attributes
Methods
dist
(self, x1, x2)Calculate the distance between two elements.
equiv
(self, other)Test if
other
is an equivalent weighting.inner
(self, x1, x2)Inner product is not defined for custom distance.