triqs.gfs.plot.select_indices.dist

triqs.gfs.plot.select_indices.dist(x, y)[source]

Euclidean 2D distance between x and y.

Parameters:
x, ysequence of float of length 2

(x0, x1) coordinates.

Returns:
float

\(\sqrt{(x_0 - y_0)^2 + (x_1 - y_1)^2}\).