autopdex.geometry.centroid

autopdex.geometry.centroid(x_p1, x_p2)[source]

Mean of two points in n-dimensions:

result = (x_p1 + x_p2) / 2