@staticmethod
def distsq(p0, p1):
    """ Returns the squared Euclidian distance between p0 and p1.

        'p0' and 'p1' are points of form [x1,x2,...,xn], of same order.

        Edge.distsq(list[float], list[float]) -> float

        """
    return sum((p1 - p0) ** 2)
