NumpyTensorSpace.dist

NumpyTensorSpace.dist(x1, x2)

Return the distance between x1 and x2.

Parameters

x1, x2LinearSpaceElement

Elements whose distance to compute.

Returns

distfloat

Distance between x1 and x2.