NumpyTensorSpaceConstWeighting.dist

NumpyTensorSpaceConstWeighting.dist(x1, x2)[source]

Return the weighted distance between x1 and x2.

Parameters:
x1, x2NumpyTensor

Tensors whose mutual distance is calculated.

Returns:
distfloat

The distance between the tensors.