def absolute_monotonicity_radius(self, acc=1.e-10, rmax=200, tol=3.e-16): r""" Returns the radius of absolute monotonicity of a TSRK method. """ from nodepy.utils import bisect r = bisect(0, rmax, acc, tol, self.is_absolutely_monotonic) return r
def absolute_monotonicity_radius(self, acc=1.0e-10, rmax=200, tol=3.0e-16): r""" Returns the radius of absolute monotonicity of a Runge-Kutta method. """ from nodepy.utils import bisect r = bisect(0, rmax, acc, tol, self.is_absolutely_monotonic) return r