ProductSpaceConstWeighting.dist

ProductSpaceConstWeighting.dist(self, x1, x2)[source]

Calculate the constant-weighted distance between two elements.

Parameters
x1, x2ProductSpaceElement

Elements whose mutual distance is calculated.

Returns
distfloat

The distance between the elements.