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