def METHOD_NAME(self, x, out):
    c = np.array([x[0], x[1], 0])
    nrm = math.sqrt(x[0] * x[0] + x[1] * x[1])
    if not np.isfinite(nrm) or nrm == 0:
        nrm = 1
    out[0] = np.linalg.norm(x - self.outer * c / nrm) - self.inner