ProductSpaceConstWeighting.dist¶
-
ProductSpaceConstWeighting.
dist
(self, x1, x2)[source]¶ Calculate the constant-weighted distance between two elements.
- Parameters
- x1, x2
ProductSpaceElement
Elements whose mutual distance is calculated.
- x1, x2
- Returns
- distfloat
The distance between the elements.