LinearSpace.dist

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

Return the distance between x1 and x2.

Parameters
x1, x2LinearSpaceElement

Elements whose distance to compute.

Returns
distfloat

Distance between x1 and x2.