DiscretizedSpace.dist

DiscretizedSpace.dist(self, x1, x2)

Return the distance between x1 and x2.

Parameters
x1, x2LinearSpaceElement

Elements whose distance to compute.

Returns
distfloat

Distance between x1 and x2.