591 |
def __call__(self,x): |
def __call__(self,x): |
592 |
return self.eval(x) |
return self.eval(x) |
593 |
|
|
594 |
def setDerivativeIncrementLength(self,inc=math.sqrt(util.EPSILON)): |
def setDerivativeIncrementLength(self,inc=1000.*math.sqrt(util.EPSILON)): |
595 |
""" |
""" |
596 |
Sets the relative length of the increment used to approximate the |
Sets the relative length of the increment used to approximate the |
597 |
derivative of the defect. The increment is inc*norm(x)/norm(v)*v in the |
derivative of the defect. The increment is inc*norm(x)/norm(v)*v in the |