High-level interface
Examples
Lower level modules
centroid()
Source code
Mean of two points in n-dimensions:
result = (x_p1 + x_p2) / 2